Skip to main content
PUT
Update agent action

Authorizations

X-Maitai-Api-Key
string
header
required

Your Maitai API key from the Portal.

Path Parameters

action_id
integer
required

Body

application/json
action_name
string
action_type
string
description
string
action_config
object

Replaced wholesale. LLM: {prompt, user_prompt, model_config}. API/webhook: {base_url, endpoint, method, headers, auth}.

is_default
boolean
action_result_type
string
invocation_mode
string
meta
object
enabled
boolean

Response

200 - application/json

Update agent action.

data
object

A capability that an agent can invoke, an LLM call, API call, or webhook.