ai.action when you only need a prompt and an output. It runs one model call and does not let the model call tools.
Capabilities
- Pass task instructions in
instructionsand task data inuser_prompt. - Use
output_typewhen you need a string, list, or JSON-shaped response for downstream actions. - Tune provider-specific behavior with
model_settings.
Structured outputs
Useoutput_type when a downstream action needs a predictable shape.
- Use a scalar such as
strorintfor simple classification or routing. - Use a JSON schema object when you need named fields.
- Tracecat parses valid JSON before storing it in the action result.
Reference
ai.action
Call an LLM with a given prompt and model (no tools).
Inputs
string
required
User prompt to the agent.
boolean
Whether to enable high thinking for agent runs.Default:
true.string | null
Instructions for the agent.Default:
null.integer
Maximum number of requests for the agent.Default:
45.object | null
Model to use. Pick from the list of models enabled for this workspace.Default:
null.string | null
Deprecated model name. Use
model instead.Default: null.string | null
Deprecated model provider. Use
model instead.Default: null.object | null
Model settings for the agent.Default:
null.string | object | null
Output type for agent responses. Select from a list of supported types or provide a JSONSchema.Default:
null.integer
Number of retries for the agent.Default:
3.