Mock Tool Data
Update Mock Tool Data
Changed onPartially updates a mock tool data record for the specified agent. agentId is required. Only other provided fields are changed.
patch/v1/mock-tool-data/{mockToolDataId}
Request
- Base URLhttps://api.sigmamind.ai
- AuthAPI key in header X-API-Key
Path parameters
mockToolDataIdstring required
Unique identifier of the mock tool data record.
Request body
Example request
{
"name": "Success - Order Confirmed",
"agentId": "agent_D5D0p7TUs66TTAEAx",
"request": {
"order_id": "1073460023"
},
"response": {
"order": {
"id": 1073460023,
"confirmation_number": "A50GQT45C",
"confirmed": true,
"created_at": "2026-07-01T12:34:26-04:00",
"currency": "EUR",
"current_subtotal_price": "224.97",
"current_subtotal_price_set": {
"shop_money": {
"amount": "224.97",
"currency_code": "EUR"
},
"presentment_money": {
"amount": "224.97",
"currency_code": "EUR"
}
}
}
},
"statusCode": 200,
"toolAlias": "get_order"
}Response
OK
Example response
{
"mockToolDataId": "mock_dpKjqjKnY3z6gABF",
"name": "Success - Order Confirmed",
"agentId": "agent_D5D0p7TUs66TTAEAx",
"toolId": "tool_X9pLm2Wq8Rt3",
"toolAlias": "get_order",
"toolName": "Get Order",
"request": {
"order_id": "1073460023"
},
"response": {
"order": {
"id": 1073460023,
"confirmation_number": "A50GQT45C",
"confirmed": true,
"created_at": "2026-07-01T12:34:26-04:00",
"currency": "EUR",
"current_subtotal_price": "224.97",
"current_subtotal_price_set": {
"shop_money": {
"amount": "224.97",
"currency_code": "EUR"
},
"presentment_money": {
"amount": "224.97",
"currency_code": "EUR"
}
}
}
},
"statusCode": 200,
"delay": 500
}Changes
- info
endpoint added
- info