PageSourceSearch

https://answeragent.ai/assets/js/904d318e.f48a8b9a.js

js answeragent.ai collected 2026-10-02 01:13:17 UTC 7,213 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[19857],{41497:(e,t,o)=>{o.r(t),o.d(t,{assets:()=>b,contentTitle:()=>g,default:()=>C,frontMatter:()=>h,metadata:()=>a,toc:()=>x});const a=JSON.parse('{"id":"api/tools/create-tool","title":"Create a new tool","description":"Create a new tool","source":"@site/docs/api/tools/create-tool.api.mdx","sourceDirName":"api/tools","slug":"/api/tools/create-tool","permalink":"/docs/api/tools/create-tool","draft":false,"unlisted":false,"editUrl":null,"tags":[],"version":"current","frontMatter":{"id":"create-tool","title":"Create a new tool","description":"Create a new tool","sidebar_label":"Create a new tool","hide_title":true,"hide_table_of_contents":true,"api":"eJztV9tu2zgQ/RVi9mFfZMt2nKSrp/W2GyBF0Qa1swUaGAVNjm22EqnwEtcw9O/FULIjX9IGCyywD3mxJfJwLuScw9EGJDphVemV0ZDBa4vcI+NM44p5Y3JIwJRoOc1fS8hARMSknvJ84SC7A0I6mCbgUASr/Bqyuw3MkFu0o+CXkN1Nq2kCFu8DOv+XkWvINiCM9qg9PfKyzJWIbtKvjmLZgBNLLDg9+XWJkIGZfUXhIYHSUlBeoaNZJVsY563SC0hgbmzBPWQQgpKQHCR6q9V9QKYkaq/mCi2bG8v8ErdZ43delDlZFHN5ftbHXufVYC46/T7+0ZmJ4aBzPrjg88vLi+H8YghVApoXeCqQfcfveYHMzE+7ktzjF68K/BKnqoPFv7L95vHtSRejOMSCQxlTlvG8tWTklu3O2pFzYXJjf+32NcEYd84IxT1KtlJ+edr7b1dX55dnZ2RcCaPHVpwyr0Oe8xkt8DbgobuxCVYgu/34bu/MfneMTO65W3pfuixNm5GuMEVKIJdS2t1SLyiSozp7ZiBvxx/es3rx09lXCcyD/hdpXgUt6JHnyq+ZbB+tZcJI/KnPmqbyDfcna3JHDtqHDh39cTHtFcZqiXrngK24Y42Hvf0e9AbDTu9VZzCc9IdZ/zwbDD5TNKGU/3E0OXeeNW6eEVKVgFc+AqKUVTRC6qQsyvo84oArjXa1ygx6PfrbD4sWb3eCuSAEOjcPeb6G5EXdXtTtRd1e1O3/oW5VAsNTAnatH3iuJGs6Mzaj1ozAg8Ex+B+CRgIxtNZYAp6fturRap4zh/YB7RZdJVCgXxrqI0vjotZx6g4hrTtIaiBpgYv9Y7B5q8pLa2TX+SCV6folcu1WaLtcpbxU6UP/aE9vrJEh1lgTBVRJ22aWprkRPF8a57Nhr9d7ytA7QjGJD5ibskDtd/ZaDe+YiFILdrvt3VUDeYSGjPRegyBpHq62NfL20yTuE90SHx+75b+3J17fB89T7a1oHwrvYYLPFs2dZu6UriV0z5GjRzVq0SPqx+P7HrdPF/gB5Z4kptJzE8+gRQbHRjfXx1twcx1TL7jmC6UXTATnTcG2ZUk1WSP73V6319zuXMTbvdnlUazI0QK1H12zcShLY6nE98u4XbpE5YIrmnY1/M+9aSoE4knBdcvPqW+0g4t013qcBDcl6fG7T8ucKx1FjKLcNHxsfdERPWhgs5lxh7c2ryoavg9o6StvmsADt6oW+rtplcASuUQbCfwN1/ECjcF0JuSW4Hkg90c9EdGzXjESAkv/U+y0JSU3H8YTYlLzVVkYSWssX0ESfzOIX7F1DWebemwDOdeLwBeErW3SdvN92h7QNGbVTHG9bkW42dSIifmGuqogaVLx9A7VtKqqHwH1N/Q=","sidebar_class_name":"post api-method","info_path":"docs/api/tools/tools-api","custom_edit_url":null},"sidebar":"docs","previous":{"title":"Introduction","permalink":"/docs/api/tools/tools-api"},"next":{"title":"Delete a tool by ID","permalink":"/docs/api/tools/delete-tool"}}');var i=o(65723),s=o(8667),r=o(29438),n=o.n(r),c=o(15186),l=o.n(c),d=o(40920),p=o.n(d),u=o(55346),m=o.n(u),f=(o(60667),o(72474),o(70804));const h={id:"create-tool",title:"Create a new tool",description:"Create a new tool",sidebar_label:"Create a new tool",hide_title:!0,hide_table_of_contents:!0,api:"e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1TL7jmC6UXTATnTcG2ZUk1WSP73V6319zuXMTbvdnlUazI0QK1H12zcShLY6nE98u4XbpE5YIrmnY1/M+9aSoE4knBdcvPqW+0g4t013qcBDcl6fG7T8ucKx1FjKLcNHxsfdERPWhgs5lxh7c2ryoavg9o6StvmsADt6oW+rtplcASuUQbCfwN1/ECjcF0JuSW4Hkg90c9EdGzXjESAkv/U+y0JSU3H8YTYlLzVVkYSWssX0ESfzOIX7F1DWebemwDOdeLwBeErW3SdvN92h7QNGbVTHG9bkW42dSIifmGuqogaVLx9A7VtKqqHwH1N/Q=",sidebar_class_name:"post api-method",info_path:"docs/api/tools/tools-api",custom_edit_url:null},g=void 0,b={},x=[];function S(e){const t={p:"p",...(0,s.R)(),...e.components};return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(f.default,{as:"h1",className:"openapi__heading",children:"Create a new tool"}),"\n",(0,i.jsx)(n(),{method:"post",path:"/tools",context:"endpoint"}),"\n",(0,i.jsx)(t.p,{children:"Create a new tool"}),"\n",(0,i.jsx)(f.default,{id:"request",as:"h2",className:"openapi-tabs__heading",children:"Request"}),"\n",(0,i.jsx)(l(),{parameters:void 0}),"\n",(0,i.jsx)(p(),{title:"Body",body:{content:{"application/json":{schema:{type:"object",properties:{id:{type:"string",format:"uuid",description:"Unique identifier for the tool",example:"cfd531e0-82fc-11e9-bc42-526af7764f64"},name:{type:"string",description:"Name of the tool",example:"date_time_tool"},description:{type:"string",description:"Description of the tool",example:"A tool used for date and time operations"},color:{type:"string",description:"Color associated with the tool",example:"#FF5733"},iconSrc:{type:"string",nullable:!0,description:"Source URL for the tool's icon",example:"https://example.com/icons/date.png"},schema:{type:"string",nullable:!0,description:"JSON schema associated with the tool"},func:{type:"string",nullable:!0,description:"Functionality description or code associated with the tool"},createdDate:{type:"string",format:"date-time",description:"Date and time when the tool was created",example:"2024-08-24T14:15:22Z"},updatedDate:{type:"string",format:"date-time",description:"Date and time when the tool was last updated",example:"2024-08-24T14:15:22Z"}},title:"Tool"}}},required:!0}}),"\n",(0,i.jsx)(m(),{id:void 0,label:void 0,responses:{200:{description:"Tool created successfully",content:{"application/json":{schema:{type:"object",properties:{id:{type:"string",format:"uuid",description:"Unique identifier for the tool",example:"cfd531e0-82fc-11e9-bc42-526af7764f64"},name:{type:"string",description:"Name of the tool",example:"date_time_tool"},description:{type:"string",description:"Description of the tool",example:"A tool used for date and time operations"},color:{type:"string",description:"Color associated with the tool",example:"#FF5733"},iconSrc:{type:"string",nullable:!0,description:"Source URL for the tool's icon",example:"https://example.com/icons/date.png"},schema:{type:"string",nullable:!0,description:"JSON schema associated with the tool"},func:{type:"string",nullable:!0,description:"Functionality description or code associated with the tool"},createdDate:{type:"string",format:"date-time",description:"Date and time when the tool was created",example:"2024-08-24T14:15:22Z"},updatedDate:{type:"string",format:"date-time",description:"Date and time when the tool was last updated",example:"2024-08-24T14:15:22Z"}},title:"Tool"}}}},400:{description:"Invalid request body"},422:{description:"Validation error"},500:{description:"Internal server error"}}})]})}function C(e={}){const{wrapper:t}={...(0,s.R)(),...e.components};return t?(0,i.jsx)(t,{...e,children:(0,i.jsx)(S,{...e})}):S(e)}}}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.