Skip to main content
POST
/
v1
/
tools
/
custom
Create or update a custom tool
curl --request POST \
  --url https://tools.runtools.ai/v1/tools/custom \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "slug": "<string>",
  "name": "<string>",
  "code": "<string>",
  "description": "<string>",
  "category": "<string>",
  "version": "<string>",
  "parametersJson": {},
  "credentialsJson": {},
  "actionsJson": {}
}
'

Documentation Index

Fetch the complete documentation index at: https://docs.runtools.ai/llms.txt

Use this file to discover all available pages before exploring further.

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.