PUT
/
api
/
v1
/
agents
/
{agent_id}
/
tools
/
{tool_id}
Update Agent Tool
curl --request PUT \
  --url https://agent-studio.thena.ai/api/v1/agents/{agent_id}/tools/{tool_id} \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '{
  "configuration": {},
  "is_enabled": true
}'
{
  "agent_id": "123e4567-e89b-12d3-a456-426614174001",
  "configuration": {
    "include_metadata": true,
    "max_results": 10
  },
  "created_at": "2023-01-01T00:00:00Z",
  "id": "123e4567-e89b-12d3-a456-426614174000",
  "is_enabled": true,
  "tool_name": "knowledge_base_search",
  "tool_type": "built_in",
  "updated_at": "2023-01-01T00:00:00Z"
}

Authorizations

x-api-key
string
header
required

Path Parameters

agent_id
string
required
tool_id
string<uuid>
required

Body

application/json

Model for updating an agent tool configuration.

Response

200
application/json

Successful Response

Model for an agent tool configuration.