Skip to main content
POST
create a tool

Authorizations

Authorization
string
header
required

your rumik api key, e.g. rk_live_.... create one in the rumik dashboard.

Body

application/json
name
string
required

^[A-Za-z][A-Za-z0-9_]*$, up to 64 characters, unique on the account. prompts attach the tool as {{name}}.

Maximum string length: 64
description
string
required

what the tool does — for a during_call tool this is what the model reads to decide when to call it.

Required string length: 1 - 1000
kind
enum<string>
required

before_call (runs at call start, feeds variables) or during_call (a function the model can invoke).

Available options:
before_call,
during_call
config
ToolConfigInput · object

the HTTP call to make.

Response

created.

a tool as stored. the credential is never returned.

id
string
required

the tool's id (default-… for built-ins).

name
string
required
description
string
required
kind
enum<string>
required

When in a call's life the agent reaches for the tool.

Available options:
before_call,
during_call
config
ToolConfig · object
required

Server-constructed (serialization_alias), see :class:AgentToolAuthView.

isDefault
boolean
default:false

true for the platform's built-in tools, which cannot be edited or deleted.

createdAt
string<date-time> | null
updatedAt
string<date-time> | null