v1
latestOpenAPI 3.0.12026-07-226992320.0 KBIntegration Tools
Update Tool
Partially updates an existing tool by toolId. Only fields provided in the request body are updated — omitted fields remain unchanged. Returns the updated tool record.
patch/v1/integrations/{integrationId}/tools/{toolId}
Path parameters
integrationIdstring required
Unique identifier of the integration to which the tool belongs.
toolIdstring required
Unique identifier of the tool to update.
Request body
Example request
{
"name": "get_customer_with_orders",
"description": "Fetches a Shopify customer including their recent orders. Use when full customer context including purchase history is needed.",
"accessType": "local",
"method": "GET",
"endpoint": "https://my-store.myshopify.com/admin/api/2024-01/customers/{{customerId}}/orders.json",
"headers": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"queryParams": [
{
"key": "status",
"value": "{{status}}"
}
],
"bodyParams": {
"first_name": "{{firstName}}",
"email": "{{email}}"
}
}Response
OK
Example response
{
"toolId": "tool_X9pLm2Wq8Rt3",
"integrationId": "intg_AuUKK371Spr5",
"name": "get_order_details",
"description": "Fetches order details from Shopify by order ID. Call this tool when you need to retrieve order status, line items, or shipping info.",
"method": "GET",
"url": "https://my-store.myshopify.com/admin/api/2024-01/orders/{{orderId}}.json",
"scope": "local",
"headers": {
"customer_name": "Michael",
"account_id": "ACC-001"
},
"queryParams": {
"customer_name": "Michael",
"account_id": "ACC-001"
},
"bodyParams": {
"customer_name": "Michael",
"account_id": "ACC-001"
},
"createdAt": "2024-04-20T10:00:00.000Z",
"updatedAt": "2024-04-21T08:30:00.000Z"
}