Create agent action
Agents
Create agent action
Add a new action (LLM, API, or webhook capability) to an agent.
POST
Create agent action
Authorizations
Your Maitai API key from the Portal.
Path Parameters
Body
application/json
llm | api | webhook | maitai_workflow | integration
Shape depends on action_type. LLM: {prompt, user_prompt, model_config:{model,temperature,max_tokens}}. API/webhook: {base_url,endpoint,method,headers,auth}.
Response
201 - application/json
Create agent action.
A capability that an agent can invoke — an LLM call, API call, or webhook.