{
"agentId": "string",
"toolId": "string",
"createdAt": "2019-08-24T14:15:22.123Z",
"tool": {
"id": "string",
"name": "string",
"description": "string",
"instruction": "string",
"toolType": "HTTP",
"url": "string",
"method": "GET",
"headers": {
"Authorization": "Bearer token123",
"Content-Type": "application/json"
},
"mcpServerUrl": "string",
"mcpServerHeaders": {},
"mcpServerName": "string",
"mcpToolName": "string",
"codeLanguage": "PYTHON",
"codeSource": "string",
"codeTestCases": {},
"inputSchema": {
"name": "string",
"type": "string",
"description": "string",
"children": [
{
"name": "query",
"type": "string",
"description": "Search query",
"validations": {
"required": true,
"min": 1,
"max": 100
},
"label": "Search Query"
},
{
"name": "category",
"type": "enum",
"description": "Category filter",
"enumValues": [
"news",
"weather",
"sports"
],
"validations": {
"required": false
}
}
],
"enumValues": [
"string"
],
"validations": {
"required": true,
"min": 0,
"max": 0,
"regex": "string",
"custom": "string",
"default": "string"
},
"label": "string",
"calculatedField": {
"dependencies": [
"string"
],
"formula": "string"
}
},
"isActive": true,
"createdAt": "2019-08-24T14:15:22.123Z",
"updatedAt": "2019-08-24T14:15:22.123Z"
}
}