Create a tool to extend an agent’s capabilities. Supported tool types include file search, web search, code interpreter, custom tools, agent as tool, and MCP connector. For an overview of all tool types and how they work, see Tools.
To create an MCP connector tool, set type to mcp_connector and provide the server URL in config.URL. Optionally include config.CLIENT_ID and config.CLIENT_SECRET if your MCP server requires OAuth without dynamic client registration.If an OAuth flow is required, the tool is created with a status of pending_authorization. Open the AUTHORIZATION_URL from the response in a browser and complete the flow. Once authorized, the tool status changes to active and it can be linked to an agent. If you don’t complete the flow within one hour, the OAuth window expires and the tool moves to failed status. To use it again, delete it and create a new one.For servers that require no authentication, the tool is created with active status and can be linked to an agent immediately.For a full walkthrough including SDK examples, see MCP connector.
To create an agent-as-tool, set type to agent_as_tool and provide the sub-agent’s ID in config.agent_id. The sub-agent must already exist before creating the tool.Each agent can only have one agent-as-tool. If an agent-as-tool already exists for the provided agent_id, the request returns an error.
{"docsConfig":{"theme":"linden","$schema":"https://mintlify.com/docs.json","name":"Seekr Documentation","colors":{"primary":"#007774","light":"#00DAD3","dark":"#007774"},"logo":{"light":"https://mintcdn.com/seekr/xCjyiASvtfX59CGv/logo/light.svg?fit=max\u0026auto=format\u0026n=xCjyiASvtfX59CGv\u0026q=85\u0026s=5631304b029d4cfaefb138711ec30bd9","dark":"https://mintcdn.com/seekr/xCjyiASvtfX59CGv/logo/dark.svg?fit=max\u0026auto=format\u0026n=xCjyiASvtfX59CGv\u0026q=85\u0026s=5757dbcccbf86fd9503b6b579ffeabbe","href":"/"},"favicon":"https://mintcdn.com/seekr/xCjyiASvtfX59CGv/favicon.png?fit=max\u0026auto=format\u0026n=xCjyiASvtfX59CGv\u0026q=85\u0026s=7d7b7568b4fc9d19a790b3f0b5c28d87","appearance":{"default":"system"},"background":{"color":{"light":"#F7F7F7","dark":"#101010"}},"navbar":{"links":[{"href":"https://apps.seekr.com/signup?_gl=1*1t0lzvp*_gcl_au*MjY4NjQ1Mzg3LjE3ODEyNDExMjU.","label":"Get started"}],"primary":{"type":"button","label":"Request a demo","href":"https://www.seekr.com/request-a-demo/"}},"footer":{"socials":{"youtube":"https://www.youtube.com/@seekrtechnologies","x":"https://x.com/seekrtechnology","linkedin":"https://www.linkedin.com/company/seekrtechnologies"}},"seo":{"metatags":{"google-site-verification":"RDMpUYE1uCSa_-TiRs1E4lMyGuAOUVkzmji5t4kVsEM","canonical":"https://docs.seekr.com"}},"fonts":{"heading":{"family":"Geist"},"body":{"family":"Geist"}},"styling":{"eyebrows":"breadcrumbs","latex":false},"contextual":{"options":["copy","view","chatgpt","claude","perplexity","mcp","cursor","vscode"],"display":"header"},"thumbnails":{"appearance":"dark","background":"https://mintcdn.com/seekr/-zCoynlpxo7UthaS/images/og-background.png?fit=max\u0026auto=format\u0026n=-zCoynlpxo7UthaS\u0026q=85\u0026s=b40b0a1967ede7eaf3cdc61d29d8a437"},"interaction":{"drilldown":false},"metadata":{"timestamp":true},"navigation":{"global":{"tabs":[{"tab":"Self-managed","icon":"server","href":"/self-managed/flow"}],"anchors":[{"anchor":"About us","icon":"circle-info","href":"https://www.seekr.com/about/"},{"anchor":"Contact us","icon":"headset","href":"https://www.seekr.com/contact-us/"},{"anchor":"Blog","icon":"newspaper","href":"https://www.seekr.com/resource-center/?type=blog"}]},"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"seekr","hasAudioNarration":false,"actualSubdomain":"seekr","customDomains":["docs.seekr.com"],"gitSource":{"type":"github","owner":"seekr-technologies","repo":"documentation","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"feedback":{"thumbs":false,"agentFeedback":true},"entitlements":{"AI_CHAT":{"status":"ENABLED"},"WEB_MCP":{"status":"ENABLED"},"NARRATION":{"status":"ENABLED"}},"buildId":"6aeb4faa1f0e0ab891cd9f26","clientVersion":"0.0.4088","searchFilterCounts":[{"language":"default","tag":"SeekrFlow","count":260},{"language":"default","tag":"Developer","count":184},{"language":"default","tag":"API Reference","count":149},{"language":"default","tag":"Endpoints","count":147},{"language":"default","tag":"Guides","count":50},{"language":"default","tag":"SDK","count":35},{"language":"default","tag":"SeekrFlow SDK","count":35},{"language":"default","tag":"Agents","count":29},{"language":"default","tag":"Self-managed","count":29},{"language":"default","tag":"Deployment guides","count":27}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":true,"hasWebMcpPermissions":true,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"comment-mode","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":true},"customCss":[{"filePath":"print.css","content":"@media print{#navbar,#sidebar,#table-of-contents,#pagination,#banner,#footer,footer,advanced-footer,.contextual-feedback-container{display:none!important}.card,.card *{border:none!important;box-shadow:none!important;background:none!important;border-radius:0!important;ring:none!important}card-group,columns{display:block!important}callout{border-left:2px solid #000!important;background:none!important;padding:0.25rem 0.5rem!important}#content-area{width:100%!important;max-width:100%!important;margin:0!important;padding:0!important}code-block{page-break-inside:avoid}step{page-break-inside:avoid}}"},{"filePath":"style.css","content":"/* cyrillic-ext */\n@font-face {\n font-family: 'Geist Mono';\n font-style: normal;\n font-weight: 400;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/geistmono/v6/or3nQ6H-1_WfwkMZI_qYFrodmgPn.woff2) format('woff2');\n unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;\n}\n/* cyrillic */\n@font-face {\n font-family: 'Geist Mono';\n font-style: normal;\n font-weight: 400;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/geistmono/v6/or3nQ6H-1_WfwkMZI_qYFrMdmgPn.woff2) format('woff2');\n unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;\n}\n/* symbols2 */\n@font-face {\n font-family: 'Geist Mono';\n font-style: normal;\n font-weight: 400;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/geistmono/v6/or3nQ6H-1_WfwkMZI_qYFg08vz7ehw.woff2) format('woff2');\n unicode-range: U+2000-2001, U+2004-2008, U+200A, U+23B8-23BD, U+2500-259F;\n}\n/* vietnamese */\n@font-face {\n font-family: 'Geist Mono';\n font-style: normal;\n font-weight: 400;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/geistmono/v6/or3nQ6H-1_WfwkMZI_qYFrgdmgPn.woff2) format('woff2');\n unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;\n}\n/* latin-ext */\n@font-face {\n font-family: 'Geist Mono';\n font-style: normal;\n font-weight: 400;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/geistmono/v6/or3nQ6H-1_WfwkMZI_qYFrkdmgPn.woff2) format('woff2');\n unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;\n}\n/* latin */\n@font-face {\n font-family: 'Geist Mono';\n font-style: normal;\n font-weight: 400;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/geistmono/v6/or3nQ6H-1_WfwkMZI_qYFrcdmg.woff2) format('woff2');\n unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;\n}\n/* cyrillic-ext */\n@font-face {\n font-family: 'Geist Mono';\n font-style: normal;\n font-weight: 500;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/geistmono/v6/or3nQ6H-1_WfwkMZI_qYFrodmgPn.woff2) format('woff2');\n unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;\n}\n/* cyrillic */\n@font-face {\n font-family: 'Geist Mono';\n font-style: normal;\n font-weight: 500;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/geistmono/v6/or3nQ6H-1_WfwkMZI_qYFrMdmgPn.woff2) format('woff2');\n unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;\n}\n/* symbols2 */\n@font-face {\n font-family: 'Geist Mono';\n font-style: normal;\n font-weight: 500;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/geistmono/v6/or3nQ6H-1_WfwkMZI_qYFg08vz7ehw.woff2) format('woff2');\n unicode-range: U+2000-2001, U+2004-2008, U+200A, U+23B8-23BD, U+2500-259F;\n}\n/* vietnamese */\n@font-face {\n font-family: 'Geist Mono';\n font-style: normal;\n font-weight: 500;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/geistmono/v6/or3nQ6H-1_WfwkMZI_qYFrgdmgPn.woff2) format('woff2');\n unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;\n}\n/* latin-ext */\n@font-face {\n font-family: 'Geist Mono';\n font-style: normal;\n font-weight: 500;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/geistmono/v6/or3nQ6H-1_WfwkMZI_qYFrkdmgPn.woff2) format('woff2');\n unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;\n}\n/* latin */\n@font-face {\n font-family: 'Geist Mono';\n font-style: normal;\n font-weight: 500;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/geistmono/v6/or3nQ6H-1_WfwkMZI_qYFrcdmg.woff2) format('woff2');\n unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;\n}\n/* cyrillic-ext */\n@font-face {\n font-family: 'Geist Mono';\n font-style: normal;\n font-weight: 600;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/geistmono/v6/or3nQ6H-1_WfwkMZI_qYFrodmgPn.woff2) format('woff2');\n unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;\n}\n/* cyrillic */\n@font-face {\n font-family: 'Geist Mono';\n font-style: normal;\n font-weight: 600;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/geistmono/v6/or3nQ6H-1_WfwkMZI_qYFrMdmgPn.woff2) format('woff2');\n unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;\n}\n/* symbols2 */\n@font-face {\n font-family: 'Geist Mono';\n font-style: normal;\n font-weight: 600;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/geistmono/v6/or3nQ6H-1_WfwkMZI_qYFg08vz7ehw.woff2) format('woff2');\n unicode-range: U+2000-2001, U+2004-2008, U+200A, U+23B8-23BD, U+2500-259F;\n}\n/* vietnamese */\n@font-face {\n font-family: 'Geist Mono';\n font-style: normal;\n font-weight: 600;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/geistmono/v6/or3nQ6H-1_WfwkMZI_qYFrgdmgPn.woff2) format('woff2');\n unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;\n}\n/* latin-ext */\n@font-face {\n font-family: 'Geist Mono';\n font-style: normal;\n font-weight: 600;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/geistmono/v6/or3nQ6H-1_WfwkMZI_qYFrkdmgPn.woff2) format('woff2');\n unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;\n}\n/* latin */\n@font-face {\n font-family: 'Geist Mono';\n font-style: normal;\n font-weight: 600;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/geistmono/v6/or3nQ6H-1_WfwkMZI_qYFrcdmg.woff2) format('woff2');\n unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;\n}\ntable code{white-space:nowrap}.font-mono,code,kbd,samp,pre,pre code{font-family:\"Geist Mono\", ui-monospace, SFMono-Regular, Menlo, monospace!important}.prose :not(pre)>code{font-family:\"Geist Mono\", ui-monospace, SFMono-Regular, Menlo, monospace!important;padding-left:0.2em!important;padding-right:0.2em!important;background-color:rgba(65, 68, 71, 0.08)!important}.dark .prose :not(pre)>code{background-color:rgba(255, 255, 255, 0.10)!important}.eyebrow{color:#D03722!important;font-family:\"Geist Mono\", ui-monospace, SFMono-Regular, Menlo, monospace!important;text-transform:uppercase!important;font-weight:600!important}.dark .eyebrow{color:#E2513D!important}.breadcrumb-item,.breadcrumb-item a,.breadcrumb-item svg{color:#D03722!important;font-family:\"Geist Mono\", ui-monospace, SFMono-Regular, Menlo, monospace!important;text-transform:uppercase!important;font-weight:600!important}.dark .breadcrumb-item,.dark .breadcrumb-item a,.dark .breadcrumb-item svg{color:#E2513D!important}.breadcrumb-item svg{opacity:0.55!important}.breadcrumb-item a:hover{color:#A82B1B!important}.dark .breadcrumb-item a:hover{color:#F2705C!important}.card{background-color:#FFFFFF!important;border-color:#D5D6D7!important}.dark .card{background-color:#272628!important;border-color:#414447!important}.code-group{background-color:#FFFFFF!important;border-color:#D5D6D7!important}.code-block-background{background-color:#FFFFFF!important}.code-group .code-block-background{background-color:#F7F7F7!important}.dark .code-group{background-color:#272628!important;border-color:#414447!important}.dark .code-block-background{background-color:#272628!important}.prose{color:#101010!important}.dark .prose{color:#FFFFFF!important}.prose h1,.prose h2,.prose h3,.prose h4,.prose h5,.prose h6,.prose strong,.prose b,.prose th{color:#101010!important}.dark .prose h1,.dark .prose h2,.dark .prose h3,.dark .prose h4,.dark .prose h5,.dark .prose h6,.dark .prose strong,.dark .prose b,.dark .prose th{color:#FFFFFF!important}.prose-gray{--tw-prose-bullets: #101010 !important;--tw-prose-counters: #101010 !important}.dark .prose-gray{--tw-prose-bullets: #FFFFFF !important;--tw-prose-counters: #FFFFFF !important}.prose :is(p,li,td,th,dd,blockquote,h1,h2,h3,h4,h5,h6) a,.prose :is(p,li,td,th,dd,blockquote,h1,h2,h3,h4,h5,h6) a *{color:#007774!important}.dark .prose :is(p,li,td,th,dd,blockquote,h1,h2,h3,h4,h5,h6) a,.dark .prose :is(p,li,td,th,dd,blockquote,h1,h2,h3,h4,h5,h6) a *{color:#00DAD3!important}[data-component-part=\"step-number\"] .rounded-full{background-color:transparent!important;border:2px solid #D5D6D7!important;border-radius:9999px!important;color:#101010!important;font-family:\"Geist Mono\", ui-monospace, SFMono-Regular, Menlo, monospace!important}[data-component-part=\"step-number\"] .rounded-full *{color:#101010!important}.dark [data-component-part=\"step-number\"] .rounded-full{border-color:#414447!important;color:#FFFFFF!important}.dark [data-component-part=\"step-number\"] .rounded-full *{color:#FFFFFF!important}[data-component-part=\"step-line\"]{background-image:linear-gradient(to bottom, #D5D6D7, #D5D6D7 80%, transparent)!important}.dark [data-component-part=\"step-line\"]{background-image:linear-gradient(to bottom, #414447, #414447 80%, transparent)!important}.callout [data-component-part=\"callout-content\"]{color:#101010!important}.dark .callout [data-component-part=\"callout-content\"]{color:#FFFFFF!important}.callout[data-callout-type=\"info\"]{background-color:rgba(65, 68, 71, 0.06)!important;border-color:#D5D6D7!important}[data-callout-type=\"info\"] [data-component-part=\"callout-icon\"] svg{color:#414447!important}.dark .callout[data-callout-type=\"info\"]{background-color:rgba(255, 255, 255, 0.05)!important;border-color:#595C5F!important}.dark [data-callout-type=\"info\"] [data-component-part=\"callout-icon\"] svg{color:#D5D6D7!important}.callout[data-callout-type=\"tip\"]{background-color:#E9FFF5!important;border-color:#79EEB7!important}[data-callout-type=\"tip\"] [data-component-part=\"callout-icon\"] svg{color:#269B63!important}.dark .callout[data-callout-type=\"tip\"]{background-color:rgba(38, 155, 99, 0.20)!important;border-color:#269B63!important}.dark [data-callout-type=\"tip\"] [data-component-part=\"callout-icon\"] svg{color:#3FD78F!important}.callout[data-callout-type=\"note\"]{background-color:#E0EFFF!important;border-color:#8CC6FF!important}[data-callout-type=\"note\"] [data-component-part=\"callout-icon\"] svg{color:#0B5EB8!important}.dark .callout[data-callout-type=\"note\"]{background-color:rgba(11, 94, 184, 0.20)!important;border-color:#0B5EB8!important}.dark [data-callout-type=\"note\"] [data-component-part=\"callout-icon\"] svg{color:#44B4FF!important}.callout[data-callout-type=\"warning\"]{background-color:#FFF7E8!important;border-color:#FFC369!important}[data-callout-type=\"warning\"] [data-component-part=\"callout-icon\"] svg{color:#E18F0D!important}.dark .callout[data-callout-type=\"warning\"]{background-color:rgba(225, 143, 13, 0.20)!important;border-color:#E18F0D!important}.dark [data-callout-type=\"warning\"] [data-component-part=\"callout-icon\"] svg{color:#FFBA4B!important}.callout[data-callout-type=\"danger\"]{background-color:#FFF2F2!important;border-color:#FF7077!important}[data-callout-type=\"danger\"] [data-component-part=\"callout-icon\"] svg{color:#D30214!important}.dark .callout[data-callout-type=\"danger\"]{background-color:rgba(211, 2, 20, 0.20)!important;border-color:#D30214!important}.dark [data-callout-type=\"danger\"] [data-component-part=\"callout-icon\"] svg{color:#FF7077!important}svg[id^=\"mermaid-\"] .node rect,svg[id^=\"mermaid-\"] .node polygon,svg[id^=\"mermaid-\"] .node circle,svg[id^=\"mermaid-\"] .node path{fill:#FFFFFF!important;stroke:#007774!important}.dark svg[id^=\"mermaid-\"] .node rect,.dark svg[id^=\"mermaid-\"] .node polygon,.dark svg[id^=\"mermaid-\"] .node circle,.dark svg[id^=\"mermaid-\"] .node path{fill:#272628!important;stroke:#00DAD3!important}svg[id^=\"mermaid-\"] .nodeLabel,svg[id^=\"mermaid-\"] .node .label,svg[id^=\"mermaid-\"] .node text{color:#101010!important;fill:#101010!important}.dark svg[id^=\"mermaid-\"] .nodeLabel,.dark svg[id^=\"mermaid-\"] .node .label,.dark svg[id^=\"mermaid-\"] .node text{color:#FFFFFF!important;fill:#FFFFFF!important}svg[id^=\"mermaid-\"] .flowchart-link,svg[id^=\"mermaid-\"] .edgePath .path{stroke:#414447!important}svg[id^=\"mermaid-\"] .marker,svg[id^=\"mermaid-\"] marker path{fill:#414447!important;stroke:#414447!important}.dark svg[id^=\"mermaid-\"] .flowchart-link,.dark svg[id^=\"mermaid-\"] .edgePath .path{stroke:#595C5F!important}.dark svg[id^=\"mermaid-\"] .marker,.dark svg[id^=\"mermaid-\"] marker path{fill:#595C5F!important;stroke:#595C5F!important}svg[id^=\"mermaid-\"] .edgeLabel,svg[id^=\"mermaid-\"] .edgeLabel p{color:#101010!important;background-color:#F7F7F7!important}svg[id^=\"mermaid-\"] .edgeLabel rect{fill:#F7F7F7!important;opacity:1!important}.dark svg[id^=\"mermaid-\"] .edgeLabel,.dark svg[id^=\"mermaid-\"] .edgeLabel p{color:#FFFFFF!important;background-color:#101010!important}.dark svg[id^=\"mermaid-\"] .edgeLabel rect{fill:#101010!important}html[data-current-path=\"/\"] .nav-tabs,html[data-current-path=\"/\"] [data-component-part=\"products-selector-trigger\"]{display:none!important}html[data-current-path^=\"/self-managed\"] .nav-tabs .nav-tabs-item[href=\"/self-managed/flow\"]:last-child{display:none!important}div:has(>[data-component-part=\"version-select-trigger\"]){order:1!important}"}],"page":{"pagePath":"flow/reference/create_tool_v1_flow_tools_post","slug":"/flow/reference/create_tool_v1_flow_tools_post","pageMetadata":{"title":"Create tool","description":"Create a new tool that agents can use to extend their capabilities.","openapi":"post /v1/flow/tools","href":"/flow/reference/create_tool_v1_flow_tools_post"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Create a new tool that agents can use to extend their capabilities.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,li:`li`,p:`p`,ul:`ul`,..._provideComponents(),...props.components},{Heading}=_components;if(!Heading)_missingMdxReference(`Heading`,true);return _jsxs(_Fragment,{children:[_jsxs(_components.p,{children:[`Create a tool to extend an agent’s capabilities. Supported tool types include file search, web search, code interpreter, custom tools, agent as tool, and MCP connector. For an overview of all tool types and how they work, see `,_jsx(_components.a,{href:`/flow/sdk/agents/tools`,children:`Tools`}),`.`]}),`\n`,_jsx(Heading,{level:`2`,id:`mcp-connector`,children:`MCP connector`}),`\n`,_jsxs(_components.p,{children:[`To create an MCP connector tool, set `,_jsx(_components.code,{children:`type`}),` to `,_jsx(_components.code,{children:`mcp_connector`}),` and provide the server URL in `,_jsx(_components.code,{children:`config.URL`}),`. Optionally include `,_jsx(_components.code,{children:`config.CLIENT_ID`}),` and `,_jsx(_components.code,{children:`config.CLIENT_SECRET`}),` if your MCP server requires OAuth without dynamic client registration.`]}),`\n`,_jsxs(_components.p,{children:[`If an OAuth flow is required, the tool is created with a status of `,_jsx(_components.code,{children:`pending_authorization`}),`. Open the `,_jsx(_components.code,{children:`AUTHORIZATION_URL`}),` from the response in a browser and complete the flow. Once authorized, the tool status changes to `,_jsx(_components.code,{children:`active`}),` and it can be linked to an agent. If you don’t complete the flow within one hour, the OAuth window expires and the tool moves to `,_jsx(_components.code,{children:`failed`}),` status. To use it again, delete it and create a new one.`]}),`\n`,_jsxs(_components.p,{children:[`For servers that require no authentication, the tool is created with `,_jsx(_components.code,{children:`active`}),` status and can be linked to an agent immediately.`]}),`\n`,_jsxs(_components.p,{children:[`For a full walkthrough including SDK examples, see `,_jsx(_components.a,{href:`/flow/sdk/agents/mcp-connector`,children:`MCP connector`}),`.`]}),`\n`,_jsx(Heading,{level:`2`,id:`agent-as-tool`,children:`Agent as tool`}),`\n`,_jsxs(_components.p,{children:[`To create an agent-as-tool, set `,_jsx(_components.code,{children:`type`}),` to `,_jsx(_components.code,{children:`agent_as_tool`}),` and provide the sub-agent’s ID in `,_jsx(_components.code,{children:`config.agent_id`}),`. The sub-agent must already exist before creating the tool.`]}),`\n`,_jsxs(_components.p,{children:[`Each agent can only have one agent-as-tool. If an agent-as-tool already exists for the provided `,_jsx(_components.code,{children:`agent_id`}),`, the request returns an error.`]}),`\n`,_jsx(Heading,{level:`3`,id:`errors`,children:`Errors`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`\"Tool already exists: \u003ctool-name>\"`}),` — A tool with this name already exists. Tool names must be unique per user.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`\"Tool already exists for given agent: \u003cagent-id>\"`}),` — An agent-as-tool already exists for this agent. Each agent can only have one.`]}),`\n`]}),`\n`,_jsxs(_components.p,{children:[`For a full walkthrough including SDK examples and constraints, see `,_jsx(_components.a,{href:`/flow/sdk/agents/agent-as-tool`,children:`Agent as tool`}),`.`]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Create tool","description":"Create a new tool that agents can use to extend their capabilities.","openapi":"post /v1/flow/tools","href":"/flow/reference/create_tool_v1_flow_tools_post"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"MCP connector","slug":"mcp-connector","depth":2,"children":[]},{"title":"Agent as tool","slug":"agent-as-tool","depth":2,"children":[{"title":"Errors","slug":"errors","depth":3,"children":[]}]}],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"tags":["Tools"],"summary":"Create Tool","description":"Create a new tool that agents can use to extend their capabilities.","operationId":"create_tool_v1_flow_tools_post","security":["b2b84680-1415-49b9-add5-d20adba6a3d5"],"requestBody":"c7be5ebb-f45e-4a80-95c3-ce956b6e8584","responses":{"202":"2b4840b3-245c-4ac9-9b7f-86286f226f86","422":"1efb2ca2-1bf0-4766-8bea-c3257c10e6f1"},"method":"post","type":"path","servers":["060c0160-accb-4c86-9488-dfe8746ca176"],"path":"/v1/flow/tools","baseUrlOptions":["https://flow.seekr.com"],"title":"Create Tool","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{},"requestBody":{"required":true,"content":{"application/json":{"schema":{"oneOf":[{"type":"object","title":"CreateFileSearch","required":["name","description","config"],"properties":{"name":{"type":"string","maxLength":256,"title":"Name","description":"Name of the tool.","isRequired":true,"uniqueKey":"oneOf.0.name","typeLabel":"string"},"description":{"type":"string","maxLength":32768,"title":"Description","description":"Description of the tool.","isRequired":true,"uniqueKey":"oneOf.0.description","typeLabel":"string"},"config":{"properties":{"FILE_SEARCH_INDEX":{"type":"string","maxLength":32768,"minLength":1,"title":"File Search Index","description":"ID of the vector database the tool searches.","isRequired":true,"uniqueKey":"oneOf.0.config.FILE_SEARCH_INDEX","typeLabel":"string"},"EMBEDDING_MODEL":{"oneOf":[{"type":"string","title":"Embedding Model","description":"Embedding model the tool uses to search.","maxLength":32768,"minLength":1,"uniqueKey":"oneOf.0.config.EMBEDDING_MODEL.oneOf.0","typeLabel":"string"},{"type":"null","title":"Embedding Model","description":"Embedding model the tool uses to search.","uniqueKey":"oneOf.0.config.EMBEDDING_MODEL.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.0.config.EMBEDDING_MODEL","typeLabel":"string | null"},"TOP_K":{"type":"integer","maximum":100,"minimum":1,"title":"Top K","description":"Number of top results to return. Accepts a value from `1` to `100`.","default":10,"uniqueKey":"oneOf.0.config.TOP_K","typeLabel":"integer"},"SCORE_THRESHOLD":{"type":"number","exclusiveMaximum":1,"minimum":0,"title":"Score Threshold","description":"Similarity score threshold for results. Accepts a value of `0.0` or higher and below `1.0`.","default":0,"uniqueKey":"oneOf.0.config.SCORE_THRESHOLD","typeLabel":"number"}},"additionalProperties":false,"type":"object","required":["FILE_SEARCH_INDEX"],"title":"FileSearchConfig","isRequired":true,"uniqueKey":"oneOf.0.config","typeLabel":"FileSearchConfig · object"},"type":{"type":"string","const":"file_search","title":"Type","default":"file_search","uniqueKey":"oneOf.0.type","typeLabel":"string"}},"additionalProperties":false,"uniqueKey":"oneOf.0","typeLabel":"CreateFileSearch · object"},{"type":"object","title":"CreateRunPython","required":["name","description"],"properties":{"name":{"type":"string","maxLength":256,"title":"Name","description":"Name of the tool.","isRequired":true,"uniqueKey":"oneOf.1.name","typeLabel":"string"},"description":{"type":"string","maxLength":32768,"title":"Description","description":"Description of the tool.","isRequired":true,"uniqueKey":"oneOf.1.description","typeLabel":"string"},"type":{"type":"string","const":"run_python","title":"Type","default":"run_python","uniqueKey":"oneOf.1.type","typeLabel":"string"},"config":{"properties":{"FUNCTION_IDS":{"oneOf":[{"type":"array","items":{"type":"string","maxLength":32768,"minLength":1,"uniqueKey":"oneOf.1.config.FUNCTION_IDS.oneOf.0.items.[INDEX]","typeLabel":"string"},"title":"Function Ids","description":"IDs of the Python functions the agent can run.","uniqueKey":"oneOf.1.config.FUNCTION_IDS.oneOf.0","typeLabel":"string[]"},{"type":"null","title":"Function Ids","description":"IDs of the Python functions the agent can run.","uniqueKey":"oneOf.1.config.FUNCTION_IDS.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.1.config.FUNCTION_IDS","typeLabel":"string[] | null"}},"additionalProperties":false,"type":"object","title":"RunPythonConfig","default":{},"uniqueKey":"oneOf.1.config","typeLabel":"RunPythonConfig · object"}},"additionalProperties":false,"uniqueKey":"oneOf.1","typeLabel":"CreateRunPython · object"},{"type":"object","title":"CreateWebSearch","required":["name","description"],"properties":{"name":{"type":"string","maxLength":256,"title":"Name","description":"Name of the tool.","isRequired":true,"uniqueKey":"oneOf.2.name","typeLabel":"string"},"description":{"type":"string","maxLength":32768,"title":"Description","description":"Description of the tool.","isRequired":true,"uniqueKey":"oneOf.2.description","typeLabel":"string"},"type":{"type":"string","const":"web_search","title":"Type","default":"web_search","uniqueKey":"oneOf.2.type","typeLabel":"string"},"config":{"properties":{},"additionalProperties":false,"type":"object","title":"ToolConfig","default":{},"uniqueKey":"oneOf.2.config","typeLabel":"ToolConfig · object"}},"additionalProperties":false,"uniqueKey":"oneOf.2","typeLabel":"CreateWebSearch · object"},{"type":"object","title":"CreateAgentAsTool","required":["name","description","config"],"properties":{"name":{"type":"string","maxLength":256,"title":"Name","description":"Name of the tool.","isRequired":true,"uniqueKey":"oneOf.3.name","typeLabel":"string"},"description":{"type":"string","maxLength":32768,"title":"Description","description":"Description of the tool.","isRequired":true,"uniqueKey":"oneOf.3.description","typeLabel":"string"},"config":{"properties":{"AGENT_ID":{"type":"string","maxLength":32768,"minLength":1,"title":"Agent Id","description":"ID of the agent the tool delegates to.","isRequired":true,"uniqueKey":"oneOf.3.config.AGENT_ID","typeLabel":"string"}},"additionalProperties":false,"type":"object","required":["AGENT_ID"],"title":"AgentAsToolConfig","isRequired":true,"uniqueKey":"oneOf.3.config","typeLabel":"AgentAsToolConfig · object"},"type":{"type":"string","const":"agent_as_tool","title":"Type","default":"agent_as_tool","uniqueKey":"oneOf.3.type","typeLabel":"string"}},"additionalProperties":false,"uniqueKey":"oneOf.3","typeLabel":"CreateAgentAsTool · object"},{"type":"object","title":"CreateMCPConnectorTool","required":["name","description","config"],"properties":{"name":{"type":"string","maxLength":256,"title":"Name","description":"Name of the tool.","isRequired":true,"uniqueKey":"oneOf.4.name","typeLabel":"string"},"description":{"type":"string","maxLength":32768,"title":"Description","description":"Description of the tool.","isRequired":true,"uniqueKey":"oneOf.4.description","typeLabel":"string"},"config":{"properties":{"URL":{"type":"string","maxLength":32768,"minLength":1,"title":"Url","description":"URL of the MCP server.","isRequired":true,"uniqueKey":"oneOf.4.config.URL","typeLabel":"string"},"CLIENT_ID":{"oneOf":[{"type":"string","title":"Client Id","description":"Client ID for authorizing with the MCP server.","maxLength":32768,"minLength":1,"uniqueKey":"oneOf.4.config.CLIENT_ID.oneOf.0","typeLabel":"string"},{"type":"null","title":"Client Id","description":"Client ID for authorizing with the MCP server.","uniqueKey":"oneOf.4.config.CLIENT_ID.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.4.config.CLIENT_ID","typeLabel":"string | null"},"CLIENT_SECRET":{"oneOf":[{"type":"string","title":"Client Secret","description":"Client secret for authorizing with the MCP server.","maxLength":32768,"minLength":1,"uniqueKey":"oneOf.4.config.CLIENT_SECRET.oneOf.0","typeLabel":"string"},{"type":"null","title":"Client Secret","description":"Client secret for authorizing with the MCP server.","uniqueKey":"oneOf.4.config.CLIENT_SECRET.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.4.config.CLIENT_SECRET","typeLabel":"string | null"}},"additionalProperties":false,"type":"object","required":["URL"],"title":"MCPConnectorToolConfig","isRequired":true,"uniqueKey":"oneOf.4.config","typeLabel":"MCPConnectorToolConfig · object"},"type":{"type":"string","const":"mcp_connector","title":"Type","default":"mcp_connector","uniqueKey":"oneOf.4.type","typeLabel":"string"}},"additionalProperties":false,"uniqueKey":"oneOf.4","typeLabel":"CreateMCPConnectorTool · object"}],"uniqueKey":"","typeLabel":"CreateFileSearch · object | CreateRunPython · object | CreateWebSearch · object | CreateAgentAsTool · object | CreateMCPConnectorTool · object"},"examples":{"file_search":{"title":"file_search","value":{"name":"my file search tool","description":"contains files about ","type":"file_search","config":{"file_search_index":"my-document-index","top_k":10,"score_threshold":0.7}}},"run_python":{"title":"run_python","value":{"name":"my python functions tool","type":"run_python","description":"Execute Python code for data analysis and calculations","config":{"function_ids":["func-123","func-456"]}}},"web_search":{"title":"web_search","value":{"name":"my web search tool","type":"web_search","description":"Search the web for current information"}},"agent_as_tool":{"title":"agent_as_tool","value":{"name":"sports history bot","description":"an expert on the history of sports","config":{"agent_id":"agent-00c6a3dc-4d32-4f52-9594-912aa345fffa"}}},"mcp_connector":{"title":"mcp_connector","value":{"name":"mcp connector tool","description":"MCP connector tool with external authorization","type":"mcp_connector","config":{"url":"https://example.com/mcp-connector"}}}},"exampleType":"examples"}},"exampleType":"examples"},"responses":{"2b4840b3-245c-4ac9-9b7f-86286f226f86":{"description":"Request accepted for processing","content":{"application/json":{"schema":{"oneOf":[{"type":"object","title":"FileSearchResponse","required":["id","name","config","user_id","team_id","status","version","created_at","updated_at"],"properties":{"id":{"type":"string","title":"Id","description":"ID of the tool.","isRequired":true,"uniqueKey":"oneOf.0.id","typeLabel":"string"},"name":{"type":"string","title":"Name","description":"Name of the tool.","isRequired":true,"uniqueKey":"oneOf.0.name","typeLabel":"string"},"config":{"properties":{"FILE_SEARCH_INDEX":{"type":"string","maxLength":32768,"minLength":1,"title":"File Search Index","description":"ID of the vector database the tool searches.","isRequired":true,"uniqueKey":"oneOf.0.config.FILE_SEARCH_INDEX","typeLabel":"string"},"EMBEDDING_MODEL":{"oneOf":[{"type":"string","title":"Embedding Model","description":"Embedding model the tool uses to search.","maxLength":32768,"minLength":1,"uniqueKey":"oneOf.0.config.EMBEDDING_MODEL.oneOf.0","typeLabel":"string"},{"type":"null","title":"Embedding Model","description":"Embedding model the tool uses to search.","uniqueKey":"oneOf.0.config.EMBEDDING_MODEL.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.0.config.EMBEDDING_MODEL","typeLabel":"string | null"},"TOP_K":{"type":"integer","maximum":100,"minimum":1,"title":"Top K","description":"Number of top results to return. Accepts a value from `1` to `100`.","default":10,"uniqueKey":"oneOf.0.config.TOP_K","typeLabel":"integer"},"SCORE_THRESHOLD":{"type":"number","exclusiveMaximum":1,"minimum":0,"title":"Score Threshold","description":"Similarity score threshold for results. Accepts a value of `0.0` or higher and below `1.0`.","default":0,"uniqueKey":"oneOf.0.config.SCORE_THRESHOLD","typeLabel":"number"}},"additionalProperties":false,"type":"object","required":["FILE_SEARCH_INDEX"],"title":"FileSearchConfig","isRequired":true,"uniqueKey":"oneOf.0.config","typeLabel":"FileSearchConfig · object"},"user_id":{"type":"string","title":"User Id","description":"ID of the user who owns the tool.","isRequired":true,"uniqueKey":"oneOf.0.user_id","typeLabel":"string"},"team_id":{"oneOf":[{"type":"string","title":"Team Id","description":"ID of the team the tool belongs to.","isRequired":true,"uniqueKey":"oneOf.0.team_id.oneOf.0","typeLabel":"string"},{"type":"null","title":"Team Id","description":"ID of the team the tool belongs to.","isRequired":true,"uniqueKey":"oneOf.0.team_id.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"oneOf.0.team_id","typeLabel":"string | null"},"status":{"type":"string","enum":["Active","Inactive","Deprecated","Pending_authorization","Failed"],"title":"ToolStatus","isRequired":true,"uniqueKey":"oneOf.0.status","typeLabel":"enum\u003cstring>"},"version":{"type":"integer","title":"Version","description":"Version number of the tool.","isRequired":true,"uniqueKey":"oneOf.0.version","typeLabel":"integer"},"created_at":{"type":"string","format":"date-time","title":"Created At","description":"Time the tool was created, in ISO 8601 format.","isRequired":true,"uniqueKey":"oneOf.0.created_at","typeLabel":"string\u003cdate-time>"},"updated_at":{"type":"string","format":"date-time","title":"Updated At","description":"Time the tool was last updated, in ISO 8601 format.","isRequired":true,"uniqueKey":"oneOf.0.updated_at","typeLabel":"string\u003cdate-time>"},"description":{"oneOf":[{"type":"string","title":"Description","description":"Description of the tool.","uniqueKey":"oneOf.0.description.oneOf.0","typeLabel":"string"},{"type":"null","title":"Description","description":"Description of the tool.","uniqueKey":"oneOf.0.description.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.0.description","typeLabel":"string | null"},"type":{"type":"string","const":"file_search","title":"Type","default":"file_search","uniqueKey":"oneOf.0.type","typeLabel":"string"}},"uniqueKey":"oneOf.0","typeLabel":"FileSearchResponse · object"},{"type":"object","title":"RunPythonResponse","required":["id","name","user_id","team_id","status","version","created_at","updated_at"],"properties":{"id":{"type":"string","title":"Id","description":"ID of the tool.","isRequired":true,"uniqueKey":"oneOf.1.id","typeLabel":"string"},"name":{"type":"string","title":"Name","description":"Name of the tool.","isRequired":true,"uniqueKey":"oneOf.1.name","typeLabel":"string"},"user_id":{"type":"string","title":"User Id","description":"ID of the user who owns the tool.","isRequired":true,"uniqueKey":"oneOf.1.user_id","typeLabel":"string"},"team_id":{"oneOf":[{"type":"string","title":"Team Id","description":"ID of the team the tool belongs to.","isRequired":true,"uniqueKey":"oneOf.1.team_id.oneOf.0","typeLabel":"string"},{"type":"null","title":"Team Id","description":"ID of the team the tool belongs to.","isRequired":true,"uniqueKey":"oneOf.1.team_id.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"oneOf.1.team_id","typeLabel":"string | null"},"status":{"type":"string","enum":["Active","Inactive","Deprecated","Pending_authorization","Failed"],"title":"ToolStatus","isRequired":true,"uniqueKey":"oneOf.1.status","typeLabel":"enum\u003cstring>"},"version":{"type":"integer","title":"Version","description":"Version number of the tool.","isRequired":true,"uniqueKey":"oneOf.1.version","typeLabel":"integer"},"created_at":{"type":"string","format":"date-time","title":"Created At","description":"Time the tool was created, in ISO 8601 format.","isRequired":true,"uniqueKey":"oneOf.1.created_at","typeLabel":"string\u003cdate-time>"},"updated_at":{"type":"string","format":"date-time","title":"Updated At","description":"Time the tool was last updated, in ISO 8601 format.","isRequired":true,"uniqueKey":"oneOf.1.updated_at","typeLabel":"string\u003cdate-time>"},"description":{"oneOf":[{"type":"string","title":"Description","description":"Description of the tool.","uniqueKey":"oneOf.1.description.oneOf.0","typeLabel":"string"},{"type":"null","title":"Description","description":"Description of the tool.","uniqueKey":"oneOf.1.description.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.1.description","typeLabel":"string | null"},"type":{"type":"string","const":"run_python","title":"Type","default":"run_python","uniqueKey":"oneOf.1.type","typeLabel":"string"},"config":{"properties":{"FUNCTION_IDS":{"oneOf":[{"type":"array","items":{"type":"string","maxLength":32768,"minLength":1,"uniqueKey":"oneOf.1.config.FUNCTION_IDS.oneOf.0.items.[INDEX]","typeLabel":"string"},"title":"Function Ids","description":"IDs of the Python functions the agent can run.","uniqueKey":"oneOf.1.config.FUNCTION_IDS.oneOf.0","typeLabel":"string[]"},{"type":"null","title":"Function Ids","description":"IDs of the Python functions the agent can run.","uniqueKey":"oneOf.1.config.FUNCTION_IDS.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.1.config.FUNCTION_IDS","typeLabel":"string[] | null"}},"additionalProperties":false,"type":"object","title":"RunPythonConfig","default":{},"uniqueKey":"oneOf.1.config","typeLabel":"RunPythonConfig · object"}},"uniqueKey":"oneOf.1","typeLabel":"RunPythonResponse · object"},{"type":"object","title":"WebSearchResponse","required":["id","name","user_id","team_id","status","version","created_at","updated_at"],"properties":{"id":{"type":"string","title":"Id","description":"ID of the tool.","isRequired":true,"uniqueKey":"oneOf.2.id","typeLabel":"string"},"name":{"type":"string","title":"Name","description":"Name of the tool.","isRequired":true,"uniqueKey":"oneOf.2.name","typeLabel":"string"},"user_id":{"type":"string","title":"User Id","description":"ID of the user who owns the tool.","isRequired":true,"uniqueKey":"oneOf.2.user_id","typeLabel":"string"},"team_id":{"oneOf":[{"type":"string","title":"Team Id","description":"ID of the team the tool belongs to.","isRequired":true,"uniqueKey":"oneOf.2.team_id.oneOf.0","typeLabel":"string"},{"type":"null","title":"Team Id","description":"ID of the team the tool belongs to.","isRequired":true,"uniqueKey":"oneOf.2.team_id.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"oneOf.2.team_id","typeLabel":"string | null"},"status":{"type":"string","enum":["Active","Inactive","Deprecated","Pending_authorization","Failed"],"title":"ToolStatus","isRequired":true,"uniqueKey":"oneOf.2.status","typeLabel":"enum\u003cstring>"},"version":{"type":"integer","title":"Version","description":"Version number of the tool.","isRequired":true,"uniqueKey":"oneOf.2.version","typeLabel":"integer"},"created_at":{"type":"string","format":"date-time","title":"Created At","description":"Time the tool was created, in ISO 8601 format.","isRequired":true,"uniqueKey":"oneOf.2.created_at","typeLabel":"string\u003cdate-time>"},"updated_at":{"type":"string","format":"date-time","title":"Updated At","description":"Time the tool was last updated, in ISO 8601 format.","isRequired":true,"uniqueKey":"oneOf.2.updated_at","typeLabel":"string\u003cdate-time>"},"description":{"oneOf":[{"type":"string","title":"Description","description":"Description of the tool.","uniqueKey":"oneOf.2.description.oneOf.0","typeLabel":"string"},{"type":"null","title":"Description","description":"Description of the tool.","uniqueKey":"oneOf.2.description.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.2.description","typeLabel":"string | null"},"type":{"type":"string","const":"web_search","title":"Type","default":"web_search","uniqueKey":"oneOf.2.type","typeLabel":"string"}},"uniqueKey":"oneOf.2","typeLabel":"WebSearchResponse · object"},{"type":"object","title":"AgentAsToolResponse","required":["id","name","config","user_id","team_id","status","version","created_at","updated_at"],"properties":{"id":{"type":"string","title":"Id","description":"ID of the tool.","isRequired":true,"uniqueKey":"oneOf.3.id","typeLabel":"string"},"name":{"type":"string","title":"Name","description":"Name of the tool.","isRequired":true,"uniqueKey":"oneOf.3.name","typeLabel":"string"},"config":{"properties":{"AGENT_ID":{"type":"string","maxLength":32768,"minLength":1,"title":"Agent Id","description":"ID of the agent the tool delegates to.","isRequired":true,"uniqueKey":"oneOf.3.config.AGENT_ID","typeLabel":"string"}},"additionalProperties":false,"type":"object","required":["AGENT_ID"],"title":"AgentAsToolConfig","isRequired":true,"uniqueKey":"oneOf.3.config","typeLabel":"AgentAsToolConfig · object"},"user_id":{"type":"string","title":"User Id","description":"ID of the user who owns the tool.","isRequired":true,"uniqueKey":"oneOf.3.user_id","typeLabel":"string"},"team_id":{"oneOf":[{"type":"string","title":"Team Id","description":"ID of the team the tool belongs to.","isRequired":true,"uniqueKey":"oneOf.3.team_id.oneOf.0","typeLabel":"string"},{"type":"null","title":"Team Id","description":"ID of the team the tool belongs to.","isRequired":true,"uniqueKey":"oneOf.3.team_id.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"oneOf.3.team_id","typeLabel":"string | null"},"status":{"type":"string","enum":["Active","Inactive","Deprecated","Pending_authorization","Failed"],"title":"ToolStatus","isRequired":true,"uniqueKey":"oneOf.3.status","typeLabel":"enum\u003cstring>"},"version":{"type":"integer","title":"Version","description":"Version number of the tool.","isRequired":true,"uniqueKey":"oneOf.3.version","typeLabel":"integer"},"created_at":{"type":"string","format":"date-time","title":"Created At","description":"Time the tool was created, in ISO 8601 format.","isRequired":true,"uniqueKey":"oneOf.3.created_at","typeLabel":"string\u003cdate-time>"},"updated_at":{"type":"string","format":"date-time","title":"Updated At","description":"Time the tool was last updated, in ISO 8601 format.","isRequired":true,"uniqueKey":"oneOf.3.updated_at","typeLabel":"string\u003cdate-time>"},"description":{"oneOf":[{"type":"string","title":"Description","description":"Description of the tool.","uniqueKey":"oneOf.3.description.oneOf.0","typeLabel":"string"},{"type":"null","title":"Description","description":"Description of the tool.","uniqueKey":"oneOf.3.description.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.3.description","typeLabel":"string | null"},"type":{"type":"string","const":"agent_as_tool","title":"Type","default":"agent_as_tool","uniqueKey":"oneOf.3.type","typeLabel":"string"}},"uniqueKey":"oneOf.3","typeLabel":"AgentAsToolResponse · object"},{"type":"object","title":"MCPConnectorToolResponse","required":["id","name","config","user_id","team_id","status","version","created_at","updated_at"],"properties":{"id":{"type":"string","title":"Id","description":"ID of the tool.","isRequired":true,"uniqueKey":"oneOf.4.id","typeLabel":"string"},"name":{"type":"string","title":"Name","description":"Name of the tool.","isRequired":true,"uniqueKey":"oneOf.4.name","typeLabel":"string"},"config":{"properties":{"URL":{"type":"string","maxLength":32768,"minLength":1,"title":"Url","description":"URL of the MCP server.","isRequired":true,"uniqueKey":"oneOf.4.config.URL","typeLabel":"string"},"TRANSPORT":{"type":"string","enum":["sse","streamable-http"],"title":"Transport","default":"streamable-http","description":"Transport the connector uses to reach the MCP server.","uniqueKey":"oneOf.4.config.TRANSPORT","typeLabel":"enum\u003cstring>"},"AUTHORIZATION_URL":{"oneOf":[{"type":"string","title":"Authorization Url","description":"URL where users authorize access to the MCP server.","maxLength":32768,"minLength":1,"uniqueKey":"oneOf.4.config.AUTHORIZATION_URL.oneOf.0","typeLabel":"string"},{"type":"null","title":"Authorization Url","description":"URL where users authorize access to the MCP server.","uniqueKey":"oneOf.4.config.AUTHORIZATION_URL.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.4.config.AUTHORIZATION_URL","typeLabel":"string | null"}},"additionalProperties":false,"type":"object","required":["URL"],"title":"MCPConnectorToolResponseConfig","isRequired":true,"uniqueKey":"oneOf.4.config","typeLabel":"MCPConnectorToolResponseConfig · object"},"user_id":{"type":"string","title":"User Id","description":"ID of the user who owns the tool.","isRequired":true,"uniqueKey":"oneOf.4.user_id","typeLabel":"string"},"team_id":{"oneOf":[{"type":"string","title":"Team Id","description":"ID of the team the tool belongs to.","isRequired":true,"uniqueKey":"oneOf.4.team_id.oneOf.0","typeLabel":"string"},{"type":"null","title":"Team Id","description":"ID of the team the tool belongs to.","isRequired":true,"uniqueKey":"oneOf.4.team_id.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"oneOf.4.team_id","typeLabel":"string | null"},"status":{"type":"string","enum":["Active","Inactive","Deprecated","Pending_authorization","Failed"],"title":"ToolStatus","isRequired":true,"uniqueKey":"oneOf.4.status","typeLabel":"enum\u003cstring>"},"version":{"type":"integer","title":"Version","description":"Version number of the tool.","isRequired":true,"uniqueKey":"oneOf.4.version","typeLabel":"integer"},"created_at":{"type":"string","format":"date-time","title":"Created At","description":"Time the tool was created, in ISO 8601 format.","isRequired":true,"uniqueKey":"oneOf.4.created_at","typeLabel":"string\u003cdate-time>"},"updated_at":{"type":"string","format":"date-time","title":"Updated At","description":"Time the tool was last updated, in ISO 8601 format.","isRequired":true,"uniqueKey":"oneOf.4.updated_at","typeLabel":"string\u003cdate-time>"},"description":{"oneOf":[{"type":"string","title":"Description","description":"Description of the tool.","uniqueKey":"oneOf.4.description.oneOf.0","typeLabel":"string"},{"type":"null","title":"Description","description":"Description of the tool.","uniqueKey":"oneOf.4.description.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.4.description","typeLabel":"string | null"},"type":{"type":"string","const":"mcp_connector","title":"Type","default":"mcp_connector","uniqueKey":"oneOf.4.type","typeLabel":"string"}},"uniqueKey":"oneOf.4","typeLabel":"MCPConnectorToolResponse · object"}],"uniqueKey":"","typeLabel":"FileSearchResponse · object | RunPythonResponse · object | WebSearchResponse · object | AgentAsToolResponse · object | MCPConnectorToolResponse · object"},"examples":{"Example":{"title":"Example","value":{"id":"\u003cstring>","name":"\u003cstring>","config":{"FILE_SEARCH_INDEX":"\u003cstring>","EMBEDDING_MODEL":"\u003cstring>","TOP_K":10,"SCORE_THRESHOLD":0},"user_id":"\u003cstring>","team_id":"\u003cstring>","status":"Active","version":123,"created_at":"2023-11-07T05:31:56Z","updated_at":"2023-11-07T05:31:56Z","description":"\u003cstring>","type":"file_search"}}},"exampleType":"generated"}},"exampleType":"generated"},"1efb2ca2-1bf0-4766-8bea-c3257c10e6f1":{"description":"Invalid request parameters","content":{"application/json":{"schema":{"properties":{"detail":{"items":{"properties":{"loc":{"items":{"oneOf":[{"type":"string","uniqueKey":"detail.items.[INDEX].loc.items.[INDEX].oneOf.0","typeLabel":"string"},{"type":"integer","uniqueKey":"detail.items.[INDEX].loc.items.[INDEX].oneOf.1","typeLabel":"integer"}],"uniqueKey":"detail.items.[INDEX].loc.items.[INDEX]","typeLabel":"string | integer"},"type":"array","title":"Location","description":"Location of the error, as a list of path segments.","isRequired":true,"uniqueKey":"detail.items.[INDEX].loc","typeLabel":"(string | integer)[]"},"msg":{"type":"string","title":"Message","description":"Description of the error.","isRequired":true,"uniqueKey":"detail.items.[INDEX].msg","typeLabel":"string"},"type":{"type":"string","title":"Error Type","description":"Type of the error.","isRequired":true,"uniqueKey":"detail.items.[INDEX].type","typeLabel":"string"},"input":{"title":"Input","description":"Input that caused the error.","uniqueKey":"detail.items.[INDEX].input","typeLabel":"any"},"ctx":{"type":"object","title":"Context","description":"Extra context about the error.","uniqueKey":"detail.items.[INDEX].ctx","typeLabel":"Context · object"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError","uniqueKey":"detail.items.[INDEX]","typeLabel":"ValidationError · object"},"type":"array","title":"Detail","description":"List of validation errors.","uniqueKey":"detail","typeLabel":"ValidationError · object[]"}},"type":"object","title":"HTTPValidationError","uniqueKey":"","typeLabel":"HTTPValidationError · object"},"examples":{"Example":{"title":"Example","value":{"detail":[{"loc":["\u003cstring>"],"msg":"\u003cstring>","type":"\u003cstring>","input":"\u003cunknown>","ctx":{}}]}}},"exampleType":"generated"}},"exampleType":"generated"}},"security":{"b2b84680-1415-49b9-add5-d20adba6a3d5":{"APIKeyHeader":{"type":"apiKey","description":"Your Seekr API key, sent in the Authorization header with no 'Bearer' prefix.","in":"header","name":"Authorization","scopes":[],"schemeName":"APIKeyHeader"}}},"servers":{"060c0160-accb-4c86-9488-dfe8746ca176":{"url":"https://flow.seekr.com","description":"SeekrBuild server base URL"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"apiKey","description":"Your Seekr API key, sent in the Authorization header with no 'Bearer' prefix.","in":"header","name":"Authorization","scopes":[],"schemeName":"APIKeyHeader"},"schema":{"title":"Authorization","type":"string","description":"Your Seekr API key, sent in the Authorization header with no 'Bearer' prefix.","isRequired":true,"typeLabel":"string","deprecated":false},"schemeName":"APIKeyHeader","name":"Authorization"}],"title":"APIKeyHeader"}]},"originalFileLocation":"llm-training.json"},"subdomain":"seekr","siteName":"Seekr Documentation","title":"Create tool - Seekr Documentation","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-06-24T16:04:43.378Z","gitLastModified":"2026-07-31T23:12:51.000Z","originalFileLocation":"flow/reference/create_tool_v1_flow_tools_post.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Create a new tool that agents can use to extend their capabilities.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Seekr Documentation\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/seekr/stRf9o-EBn2ru4KI/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/seekr/stRf9o-EBn2ru4KI/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/seekr/stRf9o-EBn2ru4KI/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/seekr/stRf9o-EBn2ru4KI/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/seekr/stRf9o-EBn2ru4KI/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/seekr/stRf9o-EBn2ru4KI/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/seekr/stRf9o-EBn2ru4KI/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/seekr/stRf9o-EBn2ru4KI/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/seekr/stRf9o-EBn2ru4KI/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Create tool - Seekr Documentation\">\u003cmeta data-mint-head property=\"og:description\" content=\"Create a new tool that agents can use to extend their capabilities.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Seekr Documentation\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.seekr.com/flow/reference/create_tool_v1_flow_tools_post\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://seekr.mintlify.site/_mintlify/api/og/v2?division=Tools\u0026amp;title=Create+tool\u0026amp;description=Create+a+new+tool+that+agents+can+use+to+extend+their+capabilities.\u0026amp;theme=005cf4e0d79661173c99c723\u0026amp;signature=e63b7631aae4f4d0a27f560127ac111f548713103e2185a5ccb0939aed1ef68a\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Create tool - Seekr Documentation\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Create a new tool that agents can use to extend their capabilities.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://seekr.mintlify.site/_mintlify/api/og/v2?division=Tools\u0026amp;title=Create+tool\u0026amp;description=Create+a+new+tool+that+agents+can+use+to+extend+their+capabilities.\u0026amp;theme=005cf4e0d79661173c99c723\u0026amp;signature=e63b7631aae4f4d0a27f560127ac111f548713103e2185a5ccb0939aed1ef68a\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/seekr/stRf9o-EBn2ru4KI/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Seekr Documentation\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#007774\">\u003cmeta data-mint-head name=\"google-site-verification\" content=\"RDMpUYE1uCSa_-TiRs1E4lMyGuAOUVkzmji5t4kVsEM\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.seekr.com/flow/reference/create_tool_v1_flow_tools_post\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/flow/reference/create_tool_v1_flow_tools_post.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.seekr.com/#organization\",\"name\":\"Seekr Documentation\",\"url\":\"https://docs.seekr.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/seekr/xCjyiASvtfX59CGv/logo/light.svg?fit=max\u0026auto=format\u0026n=xCjyiASvtfX59CGv\u0026q=85\u0026s=5631304b029d4cfaefb138711ec30bd9\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.seekr.com#website\",\"name\":\"Seekr Documentation\",\"url\":\"https://docs.seekr.com\",\"publisher\":{\"@id\":\"https://docs.seekr.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.seekr.com/flow/reference/create_tool_v1_flow_tools_post#webpage\",\"url\":\"https://docs.seekr.com/flow/reference/create_tool_v1_flow_tools_post\",\"name\":\"Create tool\",\"description\":\"Create a new tool that agents can use to extend their capabilities.\",\"dateModified\":\"2026-07-31T23:12:51.000Z\",\"isPartOf\":{\"@id\":\"https://docs.seekr.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.seekr.com/flow/reference/create_tool_v1_flow_tools_post#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.seekr.com/flow/reference/create_tool_v1_flow_tools_post#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Endpoints\",\"item\":\"https://docs.seekr.com/flow/reference/list_agents_v2_flow_agents__get\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Tools\",\"item\":\"https://docs.seekr.com/flow/reference/list_tools_v1_flow_tools_get\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Create tool\",\"item\":\"https://docs.seekr.com/flow/reference/create_tool_v1_flow_tools_post\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.seekr.com/flow/reference/create_tool_v1_flow_tools_post#apireference\",\"headline\":\"Create tool\",\"name\":\"Create tool\",\"description\":\"Create a new tool that agents can use to extend their capabilities.\",\"url\":\"https://docs.seekr.com/flow/reference/create_tool_v1_flow_tools_post\",\"mainEntityOfPage\":{\"@id\":\"https://docs.seekr.com/flow/reference/create_tool_v1_flow_tools_post#webpage\"},\"dateModified\":\"2026-07-31T23:12:51.000Z\",\"publisher\":{\"@id\":\"https://docs.seekr.com/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.seekr.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Seekr Documentation\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"Seekr Documentation","nav":{"global":{"tabs":[{"tab":"Self-managed","icon":"server","href":"/self-managed/flow"}],"anchors":[{"anchor":"About us","icon":"circle-info","href":"https://www.seekr.com/about/"},{"anchor":"Contact us","icon":"headset","href":"https://www.seekr.com/contact-us/"},{"anchor":"Blog","icon":"newspaper","href":"https://www.seekr.com/resource-center/?type=blog"}]},"products":[{"product":"SeekrFlow","icon":"circle-nodes","description":"Build, tune, and deploy enterprise AI agents","tabs":[{"tab":"Guides","icon":"book-open","pages":[{"title":"Guides","href":"/flow/what-is-seekrflow"}]},{"tab":"Developer","icon":"code","menu":[{"item":"SDK","icon":"cube","pages":[{"title":"SDK","href":"/flow/sdk/getting-started"}]},{"item":"API Reference","icon":"terminal","groups":[{"group":"Overview","pages":[{"title":"Get started with the API","sidebarTitle":"Get started","href":"/flow/reference/getting-started-with-your-api"},{"title":"Error handling","href":"/flow/reference/error-handling"}]},{"group":"Endpoints","pages":[{"group":"Agents","pages":[{"title":"List agents","openapi":"get /v2/flow/agents/","href":"/flow/reference/list_agents_v2_flow_agents__get"},{"title":"Create agent","openapi":"post /v2/flow/agents/create","href":"/flow/reference/create_v2_flow_agents_create_post"},{"title":"Get agent","openapi":"get /v2/flow/agents/{agent_id}","href":"/flow/reference/get_agent_by_id_v2_flow_agents__agent_id__get"},{"title":"Update agent","openapi":"patch /v2/flow/agents/{agent_id}","href":"/flow/reference/patch_v2_flow_agents__agent_id__patch"},{"title":"Preview agent update","openapi":"patch /v2/flow/agents/{agent_id}/diff","href":"/flow/reference/diff_v2_flow_agents__agent_id__diff_patch"},{"title":"Replace agent","openapi":"put /v2/flow/agents/{agent_id}/update","deprecated":true,"href":"/flow/reference/update_v2_flow_agents__agent_id__update_put"},{"title":"Promote agent","openapi":"put /v2/flow/agents/{agent_id}/promote","href":"/flow/reference/promote_v2_flow_agents__agent_id__promote_put"},{"title":"Demote agent","openapi":"put /v2/flow/agents/{agent_id}/demote","href":"/flow/reference/demote_v2_flow_agents__agent_id__demote_put"},{"title":"Delete agent","openapi":"delete /v2/flow/agents/{agent_id}","href":"/flow/reference/delete_v2_flow_agents__agent_id__delete"},{"group":"V1 (deprecated)","pages":[{"title":"List agents v1","openapi":"get /v1/flow/agents/","deprecated":true,"href":"/flow/reference/list_agents_v1_flow_agents__get"},{"title":"Create agent v1","openapi":"post /v1/flow/agents/create","deprecated":true,"href":"/flow/reference/create_v1_flow_agents_create_post"},{"title":"Get agent v1","openapi":"get /v1/flow/agents/{agent_id}","deprecated":true,"href":"/flow/reference/get_agent_by_id_v1_flow_agents__agent_id__get"},{"title":"Update agent v1","openapi":"patch /v1/flow/agents/{agent_id}","deprecated":true,"href":"/flow/reference/patch_v1_flow_agents__agent_id__patch"},{"title":"Preview agent update v1","openapi":"patch /v1/flow/agents/{agent_id}/diff","deprecated":true,"href":"/flow/reference/diff_v1_flow_agents__agent_id__diff_patch"},{"title":"Replace agent v1","openapi":"put /v1/flow/agents/{agent_id}/update","deprecated":true,"href":"/flow/reference/update_v1_flow_agents__agent_id__update_put"},{"title":"Promote agent v1","openapi":"put /v1/flow/agents/{agent_id}/promote","deprecated":true,"href":"/flow/reference/promote_v1_flow_agents__agent_id__promote_put"},{"title":"Demote agent v1","openapi":"put /v1/flow/agents/{agent_id}/demote","deprecated":true,"href":"/flow/reference/demote_v1_flow_agents__agent_id__demote_put"},{"title":"Delete agent v1","openapi":"delete /v1/flow/agents/{agent_id}","deprecated":true,"href":"/flow/reference/delete_v1_flow_agents__agent_id__delete"}]}]},{"group":"Alignment","pages":[{"title":"List alignment jobs","openapi":"get /v1/flow/alignment","deprecated":true,"href":"/flow/reference/alignment_list_v1_flow_alignment_get"},{"title":"List file conversion jobs","openapi":"get /v1/flow/alignment/ingestion","deprecated":true,"href":"/flow/reference/ingestion_list_v1_flow_alignment_ingestion_get"},{"title":"Convert PDF files to markdown","openapi":"post /v1/flow/alignment/ingestion","deprecated":true,"href":"/flow/reference/ingest_files_v1_flow_alignment_ingestion_post"},{"title":"Get file conversion job","openapi":"get /v1/flow/alignment/ingestion/{ingestion_job_id}","deprecated":true,"href":"/flow/reference/ingestion_get_v1_flow_alignment_ingestion__ingestion_job_id__get"},{"title":"Get alignment job","openapi":"get /v1/flow/alignment/{alignment_job_id}","deprecated":true,"href":"/flow/reference/alignment_get_v1_flow_alignment__alignment_job_id__get"},{"title":"Delete alignment job","openapi":"delete /v1/flow/alignment/{alignment_job_id}","deprecated":true,"href":"/flow/reference/alignment_delete_v1_flow_alignment__alignment_job_id__delete"},{"title":"Generate training pairs","openapi":"post /v1/flow/alignment/generate","deprecated":true,"href":"/flow/reference/alignment_generate_v1_flow_alignment_generate_post"},{"title":"Cancel alignment job","openapi":"post /v1/flow/alignment/{alignment_job_id}/cancel","deprecated":true,"href":"/flow/reference/cancel_alignment_job_v1_flow_alignment__alignment_job_id__cancel_post"},{"title":"Get alignment metadata","openapi":"get /v1/flow/alignment/{alignment_job_id}/outputs","deprecated":true,"href":"/flow/reference/alignment_outputs_v1_flow_alignment__alignment_job_id__outputs_get"}]},{"group":"Data jobs","root":{"title":"Data jobs","href":"/flow/reference/data-jobs"},"pages":[{"title":"Submit data job","openapi":"post /v1/flow/data-jobs","href":"/flow/reference/submit_data_job_v1_flow_data_jobs_post"},{"title":"List data jobs","openapi":"get /v1/flow/data-jobs","href":"/flow/reference/get_data_jobs_v1_flow_data_jobs_get"},{"title":"Get data job","openapi":"get /v1/flow/data-jobs/{data_job_id}","href":"/flow/reference/get_data_job_v1_flow_data_jobs__data_job_id__get"},{"title":"Update data job","openapi":"patch /v1/flow/data-jobs/{data_job_id}","href":"/flow/reference/patch_data_job_v1_flow_data_jobs__data_job_id__patch"},{"title":"Start data job alignment","openapi":"post /v1/flow/data-jobs/{data_job_id}/start","href":"/flow/reference/start_data_job_alignment_v1_flow_data_jobs__data_job_id__start_post"},{"title":"Add files to data job","openapi":"post /v1/flow/data-jobs/{data_job_id}/add-files","href":"/flow/reference/add_files_to_data_job_v1_flow_data_jobs__data_job_id__add_files_post"},{"title":"Remove files from data job","openapi":"post /v1/flow/data-jobs/{data_job_id}/remove-files","href":"/flow/reference/remove_files_from_data_job_v1_flow_data_jobs__data_job_id__remove_files_post"},{"title":"Clone data job","openapi":"post /v1/flow/data-jobs/{data_job_id}/clone","href":"/flow/reference/clone_data_job_v1_flow_data_jobs__data_job_id__clone_post"},{"title":"Cancel data job","openapi":"post /v1/flow/data-jobs/{data_job_id}/cancel","href":"/flow/reference/cancel_data_job_v1_flow_data_jobs__data_job_id__cancel_post"},{"title":"Generate system prompt","openapi":"post /v1/flow/data-jobs/gen_system_prompt","href":"/flow/reference/generate_system_prompt_v1_flow_data_jobs_gen_system_prompt_post"},{"title":"Delete data job","openapi":"delete /v1/flow/data-jobs/{data_job_id}","href":"/flow/reference/delete_data_job_v1_flow_data_jobs__data_job_id__delete"}]},{"group":"Deployments","pages":[{"title":"Create deployment","openapi":"post /v1/flow/deployments","href":"/flow/reference/deploy_v1_flow_deployments_post"},{"title":"List deployments","openapi":"get /v1/flow/deployments","href":"/flow/reference/get_deployments_v1_flow_deployments_get"},{"title":"Get deployment","openapi":"get /v1/flow/deployments/{deployment_id}","href":"/flow/reference/deployment_by_id_v1_flow_deployments__deployment_id__get"},{"title":"Update deployment","openapi":"patch /v1/flow/deployments/{deployment_id}","href":"/flow/reference/update_deployment_v1_flow_deployments__deployment_id__patch"},{"title":"Promote deployment","openapi":"put /v1/flow/deployments/{deployment_id}/promote","href":"/flow/reference/promote_v1_flow_deployments__deployment_id__promote_put"},{"title":"Demote deployment","openapi":"put /v1/flow/deployments/{deployment_id}/demote","href":"/flow/reference/demote_v1_flow_deployments__deployment_id__demote_put"},{"title":"Get deployment metrics","openapi":"get /v1/flow/metrics/deployments","href":"/flow/reference/get_deployment_metrics_v1_flow_metrics_deployments_get"},{"title":"Get deployment event","openapi":"get /v1/flow/events/deployments/{deployment_id}","href":"/flow/reference/get_deployment_events_by_id_v1_flow_events_deployments__deployment_id__get"}]},{"group":"Explainability","pages":[{"title":"Get context attribution","openapi":"post /v1/explainability/context-attributor","href":"/flow/reference/get_context_attribution_v1_explainability_context_attributor_post"},{"title":"Get context attribution from run","openapi":"post /v1/explainability/context-attributor-from-run","href":"/flow/reference/get_context_attribution_from_run_v1_explainability_context_attributor_from_run_post"}]},{"group":"Files","pages":[{"title":"Upload file","openapi":"put /v1/flow/files","href":"/flow/reference/file_upload_v1_flow_files_put"},{"title":"Bulk upload files","openapi":"put /v1/flow/bulk_files","deprecated":true,"href":"/flow/reference/bulk_file_upload_v1_flow_bulk_files_put"},{"title":"List files","openapi":"get /v1/flow/files","href":"/flow/reference/list_files_v1_flow_files_get"},{"title":"Get file details","openapi":"get /v1/flow/files/{file_id}","href":"/flow/reference/file_download_v1_flow_files__file_id__get"},{"title":"Get file contents","openapi":"get /v1/flow/files/{file_id}/content","href":"/flow/reference/file_download_content_v1_flow_files__file_id__content_get"},{"title":"Get file token count","openapi":"get /v1/flow/files/token-counts","href":"/flow/reference/file_token_counts_v1_flow_files_token_counts_get"},{"title":"Change file name","openapi":"put /v1/flow/files/{file_id}/rename","href":"/flow/reference/rename_file_v1_flow_files__file_id__rename_put"},{"title":"Delete file","openapi":"delete /v1/flow/files/{file_id}","href":"/flow/reference/delete_file_v1_flow_files__file_id__delete"},{"title":"Validate file metadata","openapi":"post /v1/flow/files/validate_metadata","deprecated":true,"href":"/flow/reference/file_validate_metadata_v1_flow_files_validate_metadata_post"},{"title":"Get file event","openapi":"get /v1/flow/events/files/{file_id}","href":"/flow/reference/get_file_events_by_id_v1_flow_events_files__file_id__get"},{"title":"List file vector databases","openapi":"get /v1/flow/files/{file_id}/vector-dbs","href":"/flow/reference/get_file_vector_dbs_v1_flow_files__file_id__vector_dbs_get"},{"title":"List file data jobs","openapi":"get /v1/flow/files/{file_id}/data-jobs","href":"/flow/reference/get_file_data_jobs_v1_flow_files__file_id__data_jobs_get"},{"title":"List derived files","openapi":"get /v1/flow/files/{file_id}/derived-files","href":"/flow/reference/get_file_derived_files_v1_flow_files__file_id__derived_files_get"},{"title":"Convert PDF files to markdown","openapi":"post /v1/flow/ingestion","href":"/flow/reference/ingest_files_v1_flow_ingestion_post"},{"title":"List file conversion jobs","openapi":"get /v1/flow/ingestion","href":"/flow/reference/ingestion_list_v1_flow_ingestion_get"},{"title":"Get file conversion job","openapi":"get /v1/flow/ingestion/{ingestion_job_id}","href":"/flow/reference/ingestion_get_v1_flow_ingestion__ingestion_job_id__get"}]},{"group":"Fine-tuning","pages":[{"title":"Create fine-tuning job","openapi":"post /v1/flow/fine-tune","href":"/flow/reference/fine_tune_v1_flow_fine_tune_post"},{"title":"List fine-tuning jobs","openapi":"get /v1/flow/fine-tunes","href":"/flow/reference/list_fine_tune_v1_flow_fine_tunes_get"},{"title":"Get fine-tuning job","openapi":"get /v1/flow/fine-tunes/{fine_tune_id}","href":"/flow/reference/get_fine_tune_v1_flow_fine_tunes__fine_tune_id__get"},{"title":"Modify fine-tuning job","openapi":"patch /v1/flow/fine-tunes/{fine_tune_id}","href":"/flow/reference/patch_fine_tune_v1_flow_fine_tunes__fine_tune_id__patch"},{"title":"Cancel fine-tuning job","openapi":"put /v1/flow/fine-tunes/{fine_tune_id}/cancel","href":"/flow/reference/cancel_fine_tune_v1_flow_fine_tunes__fine_tune_id__cancel_put"},{"title":"Delete fine-tuning job","openapi":"delete /v1/flow/fine-tunes/{fine_tune_id}","href":"/flow/reference/delete_fine_tune_v1_flow_fine_tunes__fine_tune_id__delete"},{"title":"Create or update project","openapi":"post /v1/flow/projects","href":"/flow/reference/upsert_project_v1_flow_projects_post"},{"title":"List projects","openapi":"get /v1/flow/projects","href":"/flow/reference/get_projects_v1_flow_projects_get"},{"title":"Get project","openapi":"get /v1/flow/projects/{project_id}","href":"/flow/reference/get_project_by_id_v1_flow_projects__project_id__get"},{"title":"Delete project","openapi":"delete /v1/flow/projects/{project_id}","href":"/flow/reference/delete_project_v1_flow_projects__project_id__delete"},{"title":"Get fine-tuning event","openapi":"get /v1/flow/events/finetunes/{finetune_id}","href":"/flow/reference/get_finetune_events_by_id_v1_flow_events_finetunes__finetune_id__get"},{"title":"Get influential training data","openapi":"get /v1/flow/explain/models/{model_id}/influential-finetuning-data","href":"/flow/reference/get_influential_training_data_route_v1_flow_explain_models__model_id__influential_finetuning_data_get"},{"title":"Download fine-tune","openapi":"get /v1/flow/fine-tunes/{fine_tune_id}/download","href":"/flow/reference/download_fine_tune_v1_flow_fine_tunes__fine_tune_id__download_get"},{"title":"Get fine-tune lineage","openapi":"get /v1/flow/fine-tunes/{fine_tune_id}/lineage","href":"/flow/reference/get_fine_tune_lineage_v1_flow_fine_tunes__fine_tune_id__lineage_get"}]},{"group":"Functions","pages":[{"title":"Create function","openapi":"post /v1/functions","href":"/flow/reference/upload_python_function_v1_functions_post"},{"title":"List functions","openapi":"get /v1/functions","href":"/flow/reference/list_python_function_endpoint_v1_functions_get"},{"title":"Get function","openapi":"get /v1/functions/{function_id}","href":"/flow/reference/get_python_function_endpoint_v1_functions__function_id__get"},{"title":"Update function","openapi":"patch /v1/functions/{function_id}","href":"/flow/reference/update_python_function_endpoint_v1_functions__function_id__patch"},{"title":"Delete function","openapi":"delete /v1/functions/{function_id}","href":"/flow/reference/delete_python_function_endpoint_v1_functions__function_id__delete"}]},{"group":"Health","pages":[{"title":"Get health","openapi":"get /v1/flow/health","href":"/flow/reference/get_health_external_v1_flow_health_get"},{"title":"Check inference health","openapi":"get /v1/inference/health","href":"/flow/reference/health_v1_inference_health_get"}]},{"group":"Inference","pages":[{"title":"Create chat completion","openapi":"post /v1/inference/chat/completions","href":"/flow/reference/route_chat_completion_v1_inference_chat_completions_post"},{"title":"Create completion","openapi":"post /v1/inference/completions","href":"/flow/reference/route_completion_v1_inference_completions_post"},{"title":"Create embedding","openapi":"post /v1/inference/embeddings","href":"/flow/reference/route_embeddings_v1_inference_embeddings_post"},{"title":"Transcribe audio","openapi":"post /v1/inference/audio/transcriptions","href":"/flow/reference/route_v1_audio_transcriptions_v1_inference_audio_transcriptions_post"},{"group":"Batch inference","pages":[{"title":"Create inference job","openapi":"post /v1/inference/jobs","href":"/flow/reference/create_inference_job_v1_inference_jobs_post"},{"title":"Add inference job requests","openapi":"post /v1/inference/jobs/{job_id}/requests","href":"/flow/reference/append_inference_job_requests_v1_inference_jobs__job_id__requests_post"},{"title":"Get inference job request","openapi":"get /v1/inference/jobs/{job_id}/requests/{index}","href":"/flow/reference/read_inference_job_request_v1_inference_jobs__job_id__requests__index__get"},{"title":"Submit inference job","openapi":"post /v1/inference/jobs/{job_id}/submit","href":"/flow/reference/submit_inference_job_v1_inference_jobs__job_id__submit_post"},{"title":"Get inference job status","openapi":"get /v1/inference/jobs/{job_id}","href":"/flow/reference/read_inference_job_status_v1_inference_jobs__job_id__get"},{"title":"List inference job results","openapi":"get /v1/inference/jobs/{job_id}/results","href":"/flow/reference/read_inference_job_results_v1_inference_jobs__job_id__results_get"},{"title":"Acknowledge inference job results","openapi":"post /v1/inference/jobs/{job_id}/results/ack","href":"/flow/reference/acknowledge_inference_job_results_v1_inference_jobs__job_id__results_ack_post"},{"title":"Cancel inference job","openapi":"post /v1/inference/jobs/{job_id}/cancel","href":"/flow/reference/cancel_inference_job_v1_inference_jobs__job_id__cancel_post"}]}]},{"group":"Models","pages":[{"title":"List models","openapi":"get /v1/flow/models","href":"/flow/reference/ml_models_v1_flow_models_get"},{"title":"Get model","openapi":"get /v1/flow/models/info","href":"/flow/reference/ml_model_by_model_id_v1_flow_models_info_get"},{"title":"Get model revision","openapi":"get /v1/flow/models/hf_revision","href":"/flow/reference/ml_model_hf_revision_by_model_name_v1_flow_models_hf_revision_get"}]},{"group":"Observability","root":{"title":"Observability","href":"/flow/reference/observability"},"pages":[{"title":"Query spans","openapi":"post /v1/observability/spans","href":"/flow/reference/query_spans_v1_observability_spans_post"},{"title":"Get span","openapi":"get /v1/observability/spans/{span_id}","href":"/flow/reference/retrieve_span_v1_observability_spans__span_id__get"}]},{"group":"Ranking","pages":[{"title":"Rerank documents","openapi":"post /v1/inference/rerank","href":"/flow/reference/route_v1_rerank_v1_inference_rerank_post"},{"title":"Score text","openapi":"post /v1/inference/score","href":"/flow/reference/route_v1_score_v1_inference_score_post"}]},{"group":"Runs","pages":[{"title":"Run agent","openapi":"post /v1/threads/{thread_id}/runs","href":"/flow/reference/run_agent_v1_threads__thread_id__runs_post"},{"title":"List runs","openapi":"get /v1/threads/{thread_id}/runs","href":"/flow/reference/list_runs_endpoint_v1_threads__thread_id__runs_get"},{"title":"Stream agent run","openapi":"post /v1/threads/{thread_id}/runs/stream","href":"/flow/reference/run_agent_stream_v1_threads__thread_id__runs_stream_post"},{"title":"Cancel run","openapi":"post /v1/threads/{thread_id}/runs/{run_id}/cancel","href":"/flow/reference/cancel_run_v1_threads__thread_id__runs__run_id__cancel_post"},{"title":"Attach to run stream","openapi":"get /v1/threads/{thread_id}/runs/{run_id}/attach","href":"/flow/reference/attach_to_run_v1_threads__thread_id__runs__run_id__attach_get"},{"title":"Get run","openapi":"get /v1/threads/{thread_id}/runs/{run_id}","href":"/flow/reference/get_run_endpoint_v1_threads__thread_id__runs__run_id__get"},{"title":"Stream agent run (Vercel AI SDK)","openapi":"post /v1/threads/{thread_id}/runs/stream/vercel","href":"/flow/reference/run_agent_stream_vercel_v1_threads__thread_id__runs_stream_vercel_post"}]},{"group":"Threads","pages":[{"title":"Create thread","openapi":"post /v1/threads","href":"/flow/reference/create_thread_endpoint_v1_threads_post"},{"title":"List threads","openapi":"get /v1/threads","href":"/flow/reference/list_threads_endpoint_v1_threads_get"},{"title":"Get thread","openapi":"get /v1/threads/{thread_id}","href":"/flow/reference/get_thread_endpoint_v1_threads__thread_id__get"},{"title":"Delete thread","openapi":"delete /v1/threads/{thread_id}","href":"/flow/reference/delete_thread_endpoint_v1_threads__thread_id__delete"},{"title":"Create message","openapi":"post /v1/threads/{thread_id}/messages","href":"/flow/reference/create_message_endpoint_v1_threads__thread_id__messages_post"},{"title":"List messages","openapi":"get /v1/threads/{thread_id}/messages","href":"/flow/reference/list_messages_endpoint_v1_threads__thread_id__messages_get"},{"title":"Get message","openapi":"get /v1/threads/{thread_id}/messages/{message_id}","href":"/flow/reference/get_message_endpoint_v1_threads__thread_id__messages__message_id__get"},{"title":"Update message","openapi":"patch /v1/threads/{thread_id}/messages/{message_id}","href":"/flow/reference/update_message_endpoint_v1_threads__thread_id__messages__message_id__patch"},{"title":"Delete message","openapi":"delete /v1/threads/{thread_id}/messages/{message_id}","href":"/flow/reference/delete_message_endpoint_v1_threads__thread_id__messages__message_id__delete"}]},{"group":"Tools","pages":[{"title":"List tools","description":"Retrieve a list of all tools in your team.","openapi":"get /v1/flow/tools","href":"/flow/reference/list_tools_v1_flow_tools_get"},{"title":"Create tool","openapi":"post /v1/flow/tools","href":"/flow/reference/create_tool_v1_flow_tools_post"},{"title":"Get tool","description":"Get a specific tool by ID.","openapi":"get /v1/flow/tools/{tool_id}","href":"/flow/reference/get_tool_v1_flow_tools__tool_id__get"},{"title":"Update tool","openapi":"patch /v1/flow/tools/{tool_id}","href":"/flow/reference/patch_tool_v1_flow_tools__tool_id__patch"},{"title":"Preview tool update","openapi":"patch /v1/flow/tools/{tool_id}/diff","href":"/flow/reference/diff_tool_changes_v1_flow_tools__tool_id__diff_patch"},{"title":"Replace tool","openapi":"put /v1/flow/tools/{tool_id}","deprecated":true,"href":"/flow/reference/update_tool_v1_flow_tools__tool_id__put"},{"title":"Clone tool","openapi":"post /v1/flow/tools/{tool_id}/duplicate","href":"/flow/reference/duplicate_tool_v1_flow_tools__tool_id__duplicate_post"},{"title":"List linked agents","openapi":"get /v1/flow/tools/{tool_id}/agents","href":"/flow/reference/get_agents_for_tool_v1_flow_tools__tool_id__agents_get"},{"title":"Delete tool","openapi":"delete /v1/flow/tools/{tool_id}","href":"/flow/reference/delete_tool_v1_flow_tools__tool_id__delete"}]},{"group":"Vector database","root":{"title":"Vector database","href":"/flow/reference/vector-database"},"pages":[{"title":"Create vector database","openapi":"post /v1/flow/vectordb","href":"/flow/reference/create_vector_database_route_v1_flow_vectordb_post"},{"title":"List vector databases","openapi":"get /v1/flow/vectordb","href":"/flow/reference/list_vector_databases_v1_flow_vectordb_get"},{"title":"Get vector database","openapi":"get /v1/flow/vectordb/{database_id}","href":"/flow/reference/get_vector_database_route_v1_flow_vectordb__database_id__get"},{"title":"Update vector database","openapi":"patch /v1/flow/vectordb/{database_id}","href":"/flow/reference/update_vector_database_route_v1_flow_vectordb__database_id__patch"},{"title":"Delete vector database","openapi":"delete /v1/flow/vectordb/{database_id}","href":"/flow/reference/delete_vector_database_route_v1_flow_vectordb__database_id__delete"},{"title":"Create vector database ingestion job","openapi":"post /v1/flow/vectordb/{database_id}/ingestion","href":"/flow/reference/create_vector_database_ingestion_job_v1_flow_vectordb__database_id__ingestion_post"},{"title":"List vector database ingestion jobs","openapi":"get /v1/flow/vectordb/{database_id}/ingestion","href":"/flow/reference/list_vector_database_ingestion_jobs_v1_flow_vectordb__database_id__ingestion_get"},{"title":"Get vector database ingestion job status","openapi":"get /v1/flow/vectordb/{database_id}/ingestion/{job_id}","href":"/flow/reference/get_vector_database_ingestion_job_v1_flow_vectordb__database_id__ingestion__job_id__get"},{"title":"List files in vector database","openapi":"get /v1/flow/vectordb/{database_id}/files","href":"/flow/reference/list_vector_database_files_v1_flow_vectordb__database_id__files_get"},{"title":"Delete file in vector database","openapi":"delete /v1/flow/vectordb/{database_id}/files/{file_id}","href":"/flow/reference/delete_vector_database_file_v1_flow_vectordb__database_id__files__file_id__delete"},{"title":"Get vector database chunk","openapi":"get /v1/flow/vectordb/{database_id}/chunk/{chunk_id}","href":"/flow/reference/get_vector_database_chunk_v1_flow_vectordb__database_id__chunk__chunk_id__get"},{"title":"List chunks","openapi":"post /v1/flow/vectordb/{database_id}/chunks","href":"/flow/reference/list_vector_database_chunks_v1_flow_vectordb__database_id__chunks_post"},{"title":"Update chunk metadata","openapi":"patch /v1/flow/vectordb/{database_id}/metadata","href":"/flow/reference/update_vector_database_metadata_v1_flow_vectordb__database_id__metadata_patch"},{"title":"Get metadata snapshot","openapi":"get /v1/flow/vectordb/{database_id}/metadata","href":"/flow/reference/get_vector_database_metadata_snapshot_v1_flow_vectordb__database_id__metadata_get"},{"title":"Generate metadata snapshot","openapi":"post /v1/flow/vectordb/{database_id}/metadata","href":"/flow/reference/generate_vector_database_metadata_snapshot_v1_flow_vectordb__database_id__metadata_post"},{"title":"List vector database tools","openapi":"get /v1/flow/vectordb/{database_id}/tools","href":"/flow/reference/get_tools_for_vector_database_v1_flow_vectordb__database_id__tools_get"},{"title":"List vector database data jobs","openapi":"get /v1/flow/vectordb/{database_id}/data-jobs","href":"/flow/reference/get_data_jobs_for_vector_database_v1_flow_vectordb__database_id__data_jobs_get"}]},{"group":"Versions","pages":[{"title":"Get versions","openapi":"get /v1/flow/versions","href":"/flow/reference/get_versions_v1_flow_versions_get"}]}]}]}]},{"tab":"Recipes","icon":"flask","pages":[{"title":"Recipes","href":"/flow/recipes"}]},{"tab":"Release notes","icon":"bullhorn","pages":[{"title":"Release notes","href":"/flow/changelog/2026"}]}]},{"product":"SeekrGuard","icon":"shield-halved","description":"Evaluate AI models for safety, quality, and risk","pages":[{"title":"SeekrGuard","href":"/guard/what-is-seekrguard"}]},{"product":"Self-managed","icon":"server","description":"Deploy and operate the Seekr platform in your own environment","pages":[{"title":"Self-managed","href":"/self-managed/flow"}]}]},"basePath":"","title":"Create tool - Seekr Documentation","buildId":"dpl_DTau1J5HqS9UTgVSDwGksstFWtPa","deploymentId":"dpl_DTau1J5HqS9UTgVSDwGksstFWtPa","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-5FCzAcfS.js","utils-SLtAG4EZ.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-2DZi8ZMu.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-D7J3nkzE.js","snippetPresets-D0Alv0AH.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","conditional-requirements-CFM0id0Q.js","ApiExamples-BI4qNJ2c.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-BD3uyr8j.js","shallow-D8iEBr5z.js","getApiPlaygroundDisplay-CgNP4lzR.js","CodeSnippet-CX-QHuMs.js","CodeSnippets-VlXE-ZUf.js","Page-D9ithiIZ.js","getPastedJson-DYNQkZ1M.js","icon-CzacdwOi.js","MethodPill-2JVqoYKi.js","DuplicateIcon-_xVXs-U8.js","createIcon-BRHrweLo.js","DynamicMarkdown-mQG_iQiE.js","SectionHeading-DMpJzv8f.js","axios-vUo_bRtp.js","Markdown-5FGIym-8.js","clsx-D-TRO5q5.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-CdrJecqK.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-CHlcWBLM.js"]}