createTool(config)
@cline/agents and @cline/core.
inputSchema can be either JSON Schema or a Zod schema.
AgentTool
createTool:
| Field | Default |
|---|---|
timeoutMs | 30000 |
retryable | true |
maxRetries | 3 |
API reference for creating and configuring tools.
createTool(config)@cline/agents and @cline/core.
inputSchema can be either JSON Schema or a Zod schema.
createTool:
| Field | Default |
|---|---|
timeoutMs | 30000 |
retryable | true |
maxRetries | 3 |