Skip to main content
PATCH
Update tool

Authorizations

Authorization
string
header
required

Organization API key, generated in studio.sidenet.ai. Backend only — never in a browser.

Path Parameters

id
string
required
Example:

"c07f2b95-8d41-4e63-a029-5f7b1c8d3e40"

Body

application/json
name
string
Minimum string length: 1
Example:

"Get customer"

description
string | null
Example:

"Fetches one customer by id"

method
enum<string>
Available options:
GET,
POST,
PUT,
PATCH,
DELETE
path
string
Minimum string length: 1
Example:

"/customers/{customerId}"

input_schema
object | null

JSON Schema of the tool's arguments, keyed by the upstream wire names (date_checkin[after], hotels_id[]) — send back the input_schema a read returned, never the derived inputSchema. Top-level properties whose names are only the flattened form of a stored bracketed name are mapped back to the stored name on save.

Example:
output_schema
object | null
Example:
timeout_ms
integer
Required range: 1000 <= x <= 120000
Example:

30000

is_enabled
boolean
Example:

true

operation_id
string
Example:

"getCustomer"

tags
string[] | null
Example:
deprecated
boolean
Example:

false

read_only
boolean | null

Whether a dashboard refresh may run this tool: true = it only reads (a dashboard source, whatever the HTTP method), false = it writes (never a source; a form action). Omit or send null to let the platform derive it: GET reads, any other method is judged by the name (a read verb such as list_, search_, get_ makes a source). Set it on a POST-only API whose names say nothing (/rpc/my_stay).

Example:

null

body_mode
enum<string> | null

Shape of the JSON body the tool sends. object (default; null means object) sends the body inputs as one JSON object. array wraps that object in a one-element array — [input] — for task-queue APIs that accept only an array of tasks (DataForSEO answers 40503 "An ARRAY of tasks is expected" otherwise). Nothing else changes: same auth, same schema validation, same response handling; a call with no body inputs still sends no body.

Available options:
object,
array
Example:

"object"

base_url
string<uri> | null

This tool's own host, e.g. https://ref.supabase.co/functions/v1. When set, the request goes to this URL + path instead of the provider's base_url + path, and a caller's per-request base_url override (tools_auth) does not apply to this tool. Puts an endpoint that lives elsewhere (an edge function next to a REST API) on the same provider, under the same credential. null (default) uses the provider's.

Example:

null

Response

The updated tool, and what rebuilding the agents that use it did

tool
object
rebuild
object