Skip to main content
POST
Create custom tool

Authorizations

Authorization
string
header
required

Access token issued by gs.service.id. Its access_identity claim carries team_sid, actor_sid and actor_type, and that team scope is authoritative.

Team-SID
string
header
required

Team scope for tokens that do not carry one. Ignored when the token already names a team.

Body

application/json

Request body of create_custom_tool.

name
string
required

Unique within the team, 1..255 chars.

Required string length: 1 - 255
request
object
required

The request template: method, https URL with a literal host, headers and a JSON body, placeholders {{key}} in the path, query, header values and body strings.

description
string | null

Free text, up to 2000 chars.

Maximum string length: 2000
provider_connection_sid
string | null

A provider connection of provider custom this tool authenticates with (in_cn_...); null = a public API, no auth injected.

Required string length: 18
Pattern: ^in_cn_
input_schema
object[]

The declared inputs, up to 30; default none.

Maximum array length: 30
output_mapping
object

name to dot-path (person.title), up to 20 entries; default {} = the raw body.

status
enum<string>

Default on.

Available options:
on,
off

Response

create success envelope.

success
enum<boolean>
required
Available options:
true
operation
enum<string>
required
Available options:
create
item
object
required
already_exists
boolean
required
meta
object
required