Skip to main content
POST
Python (SDK)

Authorizations

Authorization
string
header
required

Send Authorization: Bearer , using an MKA1 API key for automation or an OAuth API access token for a signed-in application. Use a dynamic security callback to refresh OAuth access tokens. Browser session-only operations still require their declared cookie.

Headers

X-On-Behalf-Of
string

Optional external end-user identifier forwarded by the API gateway.

Path Parameters

tool_id
string
required

Body

application/json
type
enum<string>
required
Available options:
function
name
string
required
Minimum string length: 1
parameters
object
required
description
string
strict
boolean
default:true
defer_loading
boolean

Response

Function tool

object
enum<string>
required
Available options:
agent.function_tool
id
string
required
definition
object
required
created_at
string<date-time>
required
updated_at
string<date-time>
required