agents
sessions
users
docs
tasks
executions
temporal
healthz
agents
Patch Agent Tool
agents
Patch Agent Tool
PATCH
/
agents
/
{agent_id}
/
tools
/
{tool_id}
{
"name": "<string>",
"type": "function",
"description": "<string>",
"function": {
"name": "<any>",
"description": "<any>",
"parameters": {}
},
"integration": {
"provider": "dummy",
"method": "<string>",
"setup": "<any>",
"arguments": "<any>"
},
"system": {
"resource": "agent",
"operation": "create",
"resource_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"subresource": "tool",
"arguments": {}
},
"api_call": {
"method": "GET",
"url": "<string>",
"schema": {},
"headers": {},
"content": "<string>",
"data": {},
"files": {},
"json": {},
"cookies": {},
"params": "<string>",
"follow_redirects": true,
"timeout": 123,
"include_response_content": true
},
"computer_20241022": {
"type": "computer_20241022",
"name": "computer",
"display_width_px": 1024,
"display_height_px": 768,
"display_number": 1
},
"text_editor_20241022": {
"type": "text_editor_20241022",
"name": "str_replace_editor"
},
"bash_20241022": {
"type": "bash_20241022",
"name": "bash"
},
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
Authorizations
Body
application/json
Payload for patching a tool
Response
200
application/json
Successful Response
The response is of type object
.
{
"name": "<string>",
"type": "function",
"description": "<string>",
"function": {
"name": "<any>",
"description": "<any>",
"parameters": {}
},
"integration": {
"provider": "dummy",
"method": "<string>",
"setup": "<any>",
"arguments": "<any>"
},
"system": {
"resource": "agent",
"operation": "create",
"resource_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"subresource": "tool",
"arguments": {}
},
"api_call": {
"method": "GET",
"url": "<string>",
"schema": {},
"headers": {},
"content": "<string>",
"data": {},
"files": {},
"json": {},
"cookies": {},
"params": "<string>",
"follow_redirects": true,
"timeout": 123,
"include_response_content": true
},
"computer_20241022": {
"type": "computer_20241022",
"name": "computer",
"display_width_px": 1024,
"display_height_px": 768,
"display_number": 1
},
"text_editor_20241022": {
"type": "text_editor_20241022",
"name": "str_replace_editor"
},
"bash_20241022": {
"type": "bash_20241022",
"name": "bash"
},
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}