TaskExecuteTool
Class: TaskExecuteTool
Defined in: packages/codeboltjs/src/tools/task/task-execute.ts:65
Base class for declarative tools with built-in validation
Extends
BaseDeclarativeTool<TaskExecuteParams,ToolFrameworkResult>
Constructors
Constructor
new TaskExecuteTool(): TaskExecuteTool;
Defined in: packages/codeboltjs/src/tools/task/task-execute.ts:68
Returns
TaskExecuteTool
Overrides
BaseDeclarativeTool.constructor
Properties
| Property | Modifier | Type | Default value | Description | Inherited from | Defined in |
|---|---|---|---|---|---|---|
canUpdateOutput | readonly | boolean | false | Whether the tool supports live (streaming) output | BaseDeclarativeTool.canUpdateOutput | packages/codeboltjs/src/tools/base-tool.ts:69 |
description | readonly | string | undefined | Description of what the tool does | BaseDeclarativeTool.description | packages/codeboltjs/src/tools/base-tool.ts:65 |
displayName | readonly | string | undefined | The user-friendly display name of the tool | BaseDeclarativeTool.displayName | packages/codeboltjs/src/tools/base-tool.ts:64 |
isOutputMarkdown | readonly | boolean | true | Whether the tool's output should be rendered as markdown | BaseDeclarativeTool.isOutputMarkdown | packages/codeboltjs/src/tools/base-tool.ts:68 |
kind | readonly | Kind | undefined | The kind of tool for categorization and permissions | BaseDeclarativeTool.kind | packages/codeboltjs/src/tools/base-tool.ts:66 |
name | readonly | string | undefined | The internal name of the tool (used for API calls) | BaseDeclarativeTool.name | packages/codeboltjs/src/tools/base-tool.ts:63 |
Name | readonly | string | 'task_execute' | - | - | packages/codeboltjs/src/tools/task/task-execute.ts:66 |
parameterSchema | readonly | unknown | undefined | - | BaseDeclarativeTool.parameterSchema | packages/codeboltjs/src/tools/base-tool.ts:67 |
Accessors
explanation
Get Signature
get explanation(): string;
Defined in: packages/codeboltjs/src/tools/base-tool.ts:76
One sentence explanation as to why this tool is being used, and how it contributes to the goal. Defaults to description if not implemented by subclass.
Returns
string
One sentence explanation as to why this tool is being used, and how it contributes to the goal.
Inherited from
BaseDeclarativeTool.explanation
genAISchema
Get Signature
get genAISchema(): FunctionDeclaration;
Defined in: packages/codeboltjs/src/tools/base-tool.ts:118
Get Google GenAI schema format (for backward compatibility)
Returns
FunctionDeclaration
Function declaration schema for Google GenAI (for backward compatibility)
Inherited from
BaseDeclarativeTool.genAISchema
openAIFunctionCall
Get Signature
get openAIFunctionCall(): OpenAIFunctionCall;
Defined in: packages/codeboltjs/src/tools/base-tool.ts:102
Get OpenAI function call format
Returns
Inherited from
BaseDeclarativeTool.openAIFunctionCall
schema
Get Signature
get schema(): OpenAIToolSchema;
Defined in: packages/codeboltjs/src/tools/base-tool.ts:83
Primary schema format (OpenAI tool schema)
Returns
Primary schema format (OpenAI tool schema)