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
Name of the model to use.
Provider of the model to use.
User prompt to the agent.
Base URL of the model to use.Default:
null.Instructions for the agent.Default:
null.Maximum number of requests for the agent.Default:
45.Model settings for the agent.Default:
null.Output type for agent responses. Select from a list of supported types or provide a JSONSchema.Default:
null.Number of retries for the agent.Default:
3.