Answer: You create a custom tool by calling createTool(config) imported from "@cline/sdk", passing a config object with name, description, inputSchema, and an execute function. inputSchema can be either JSON Schema or a Zod schema. Status: Confirmed Entry: tool/cline/agents-and-automation/create-custom-tool Revision: 1 Digest: sha256:c76f195b1c297a2a (changes whenever the content changes) Timeline: Created: 2026-11-13T03:07:52Z Last changed: 2026-11-13T03:07:52Z Last verified: 2026-11-20T12:31:09Z Next check: 2026-11-21T12:31:09Z Check interval: Daily Expected change: No fixed schedule Data: Field | Value | Source | As of import | import { createTool } from "@cline/sdk" | [1] | 2026-11-20 example tool name | get_current_time | [1] | 2026-11-20 example description | Return the current time as ISO string. | [1] | 2026-11-20 inputSchema types | JSON Schema or a Zod schema | [1] | 2026-11-20 re-exported from | @cline/agents | [1] | 2026-11-20 Sources: [1] Cline. "Tools API". https://docs.cline.bot/sdk/reference/tools-api.md Role: primary. Accessed: 2026-11-20T12:31:09Z Quote: "import { createTool } from "@cline/sdk"" (Supports: import) Quote: "name: "get_current_time"," (Supports: example tool name) Quote: "description: "Return the current time as ISO string."," (Supports: example description) Quote: "`inputSchema` can be either JSON Schema or a Zod schema." (Supports: inputSchema types) Quote: "Also re-exported from `@cline/agents` and `@cline/core`." (Supports: re-exported from) Published: 2026-11-20T06:00:46Z Snapshot SHA-256: 08e129a0ad31601aa2ae92cccf5b20cd008d8c3b0b45836e702baf8f9b341af8 (captured 2026-11-13T03:07:52Z) Verification: Method: Automated extraction from [1] with deepseek-flash (JSON output, thinking disabled). Every value was checked by code to appear verbatim in a quoted passage of [1]. On this check the text of [1] was unchanged since 2026-11-13T03:07:52Z, so the values verified then were kept. Cross-check: not-available at 2026-11-20T12:31:09Z. No independent second source is configured for this entry Last successful check: 2026-11-20T12:31:09Z Last attempt: 2026-11-20T12:31:09Z Notes and limitations: Extracted automatically from a single official source (section "`createTool(config)`"). Related: https://latestn.com/tool/cline/agents-and-automation/create-custom-tool-2 How do I create a custom tool in Cline with createTool? https://latestn.com/tool/cline/agents-and-automation/create-custom-tool-with-zod How do I create a custom tool in Cline using createTool and a zod schema? https://latestn.com/tool/cline/agents-and-automation/create-plugin-register-tools How do I create a Cline plugin that registers custom tools? https://latestn.com/tool/cline/agents-and-automation/bundle-skills-in-plugin How do I bundle skills into a Cline plugin? https://latestn.com/tool/cline/agents-and-automation/clinecore-vs-agent When should I use ClineCore instead of the Agent class in Cline? https://latestn.com/tool/cline/agents-and-automation/create-cron-schedule How do I create a recurring schedule for a Cline agent using cron? https://latestn.com/tool/ All entries in AI tools Change log: Time | Event | Change | Source 2026-11-13T03:07:52Z | added | Entry created | — Changes for this entry as a feed: https://latestn.com/tool/cline/agents-and-automation/create-custom-tool/latest Challenge this entry: Open challenges: None How: If a value here is wrong or out of date, send what is wrong and a link to evidence. Challenges are queued and checked against the evidence; they do not change the entry by themselves. If the entry changes as a result, the change log says so. Form: https://latestn.com/dispute/tool/cline/agents-and-automation/create-custom-tool POST: https://latestn.com/dispute/tool/cline/agents-and-automation/create-custom-tool with claim, evidence_url, and optionally field and contact (form-encoded or JSON) GET: https://latestn.com/dispute/tool/cline/agents-and-automation/create-custom-tool?claim={what is wrong}&evidence_url={link} How to cite: LatestN. (2026). How do I create a custom tool with createTool in Cline? Revision 1, last verified 2026-11-20T12:31:09Z. https://latestn.com/tool/cline/agents-and-automation/create-custom-tool (accessed 2026-11-21T10:04:00Z). @misc{LatestN_tool_cline_agents_and_automation_create_custom_tool_r1, title = {How do I create a custom tool with createTool in Cline?}, author = {{LatestN}}, year = {2026}, howpublished = {\url{https://latestn.com/tool/cline/agents-and-automation/create-custom-tool}}, note = {Revision 1; digest sha256:c76f195b1c297a2a; last verified 2026-11-20T12:31:09Z; accessed 2026-11-21T10:04:00Z} } Reuse: License: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/) Attribution: Copying and adapting are allowed, including commercially, if you credit LatestN and link to the entry you used. Each entry ends with a ready-made citation. URL: https://latestn.com/tool/cline/agents-and-automation/create-custom-tool