Skip to main content
POST
Create or update a custom tool

Authorizations

Authorization
string
header
required

WorkOS session token or RunTools API key (rt_live_* / rt_test_*). Used in Authorization: Bearer <token> header.

Body

application/json
slug
string
required
Pattern: ^[a-z0-9][a-z0-9-]*[a-z0-9]$|^[a-z0-9]$
name
string
required
code
string
required

Tool source code (executed in tools service sandbox).

description
string
category
string
version
string
parametersJson
object
credentialsJson
object
actionsJson
object

Response

Updated.