AgentBackendEventAssistantMessage
An event sent from the agent backend to the client during an agent task execution.
Properties
contentstring requiredMessage content from the assistant.- Optional tool calls within the message.
- ↳
idstring requiredTool call identifier. - ↳
namestring requiredTool name. - ↳
argsmap[string]object requiredTool arguments. - ↳
execution_modeenum optionalWhere this specific tool call must be executed. Omitted means the task default applies (‘cloud’ unless the task was created with ‘cli’). When set to ‘cli’, the agent’s turn ends with the containing assistant message (is_final=true) and the CLI client must execute this tool call and reply with a ToolResult user event to resume the turn. Different tool calls within the same assistant message may independently target ‘cloud’ or ‘cli’.Values:cloud,cli is_finalboolean requiredWhether this is the final message in the response.- Token usage metadata grouped by model name.
timestampstring requiredWhen the event occurred.typestring required
Thank you for your feedback!
If you have a question about how to use Pulumi, reach out in Community Slack.
Open an issue on GitHub to report a problem or suggest an improvement.