Skip to main content
GET
Draft an app action as a tool

Authorizations

Authorization
string
header
required

An API key from Settings → API keys, sent as Authorization: Bearer kb_live_…. A workspace key starts kb_; a personal key starts kbp_ and acts as its owner.

Headers

Kallabot-Version
enum<string>

The API version to answer as, a date (YYYY-MM-DD). Leave it out for the current version (2026-11-07). An unknown version is refused with 400 unsupported_api_version.

Available options:
2026-11-07
Example:

"2026-11-07"

Path Parameters

key
string
required
action
string
required

Query Parameters

connection_external_id
string | null
Maximum string length: 128

Response

Successful Response

piece
string
required

The piece.

version
string
required

The version the tool will pin.

action
string
required

The action.

display_name
string
required

Its name.

description
string
required

The tool description the agent reads.

lookup
boolean
required

A lookup: the agent talks while it fetches.

side_effect
boolean
required

Books, saves or sends: never run twice.

confirm_first
boolean
required

The agent confirms with the caller first.

on_by_default
boolean
required

False for destructive actions.

supported
boolean
required

False when it can't run on a call.

auth_types
string[]
required

How the app connects.

requires_connection
boolean
required

True when it needs a connection.

fields
DraftField · object[]
required

Every prop, sorted into who fills it.

summary
Summary · object
required

Field labels per bucket, for "Zara will ask for…".

missing
string[]
required

Required choices you still have to make.

tool_schema
Tool Schema · object
required

Send as schema with kind: piece_action to POST /v1/tools.

source
enum<string>
required

Where the piece metadata came from.

Available options:
live,
snapshot
classification
string | null

READ, SEARCH, WRITE or DESTRUCTIVE.

unsupported_reason
string | null

Why not.