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
  },
  "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

Authorization
string
header
required

Path Parameters

agent_id
string
required
tool_id
string
required

Body

application/json

Payload for patching a tool

name
string | null
Maximum length: 40
type
enum<string> | null
Available options:
function,
integration,
system,
api_call,
computer_20241022,
text_editor_20241022,
bash_20241022
description
string | null
function
object | null

Function definition

integration
object | null
system
object | null

System definition

api_call
object | null

API call definition

computer_20241022
object | null

Anthropic new tools

text_editor_20241022
object | null
bash_20241022
object | null

Response

200
application/json
Successful Response
name
string
required
Maximum length: 40
type
enum<string>
required
Available options:
function,
integration,
system,
api_call,
computer_20241022,
text_editor_20241022,
bash_20241022
created_at
string
required
updated_at
string
required
id
string
required
description
string | null
function
object | null

Function definition

integration
object | null
system
object | null

System definition

api_call
object | null

API call definition

computer_20241022
object | null

Anthropic new tools

text_editor_20241022
object | null
bash_20241022
object | null