Skip to main content
PUT
/
api
/
tools
/
{id}
Update tool
curl --request PUT \
  --url https://api.agentixx.io/api/tools/{id} \
  --header 'Content-Type: application/json' \
  --header 'x-tenant-id: <api-key>' \
  --cookie better-auth.session_token= \
  --data '
{
  "name": "Weather API v2",
  "enabled": true
}
'
{}

Authorizations

better-auth.session_token
string
cookie
required

Session cookie set by Better Auth on sign-in.

x-tenant-id
string
header
required

Tenant/workspace UUID. Required on all /api/* endpoints.

Path Parameters

id
string<uuid>
required

Body

application/json

Update a tool definition

name
string
Minimum string length: 1
type
string
description
string | null
inputSchema
any
outputSchema
any
executionPolicy
any
enabled
boolean
credential
object

Response

Tool updated

{key}
any