Skip to main content

AiToolCallData

Identifies a pending tool call to resume — mirrors the library ToolCallData (its serializable fields).

NameTypeDescriptionNotes
threadIdStringThread the assistant message belongs to.[required] [example: 11111111-1111-1111-1111-111111111111]
messageIdStringStorage id of the assistant message holding the tool call.[required] [example: 22222222-2222-2222-2222-222222222222]
idxBigDecimalIndex of the tool-call content part inside message.content.[required] [example: 0]
messageAiThreadMessageLikeSnapshot of the assistant message at the time the tool call surfaced.[required] [example: {role=assistant, content=}]
actionArgsAiActionArgsPer-request engine options: extra tools, reasoning, prompt override.[optional] [example: {isReasoning=false}]
entityIdStringOptional entity (room) scope for profile resolution.[optional] [example: 1234]
profileIdStringSession-level profile override for this request only.[optional] [example: 00000000-0000-0000-0000-000000000000]