Skip to content
1 min read · 136 words

Interface: OpenAIResponsesFunctionCallItem ​

Defined in: src/batteries/llm/openai_responses/types.ts:143

A model-emitted function (tool) call item.

Properties ​

PropertyTypeDescriptionDefined in
argumentsstringThe JSON-encoded arguments string.src/batteries/llm/openai_responses/types.ts:151
call_idstringCorrelates this call with its sibling function_call_output item.src/batteries/llm/openai_responses/types.ts:147
id?stringItem id (distinct from call_id) — present on real provider-emitted items.src/batteries/llm/openai_responses/types.ts:153
namestringThe tool name the model called.src/batteries/llm/openai_responses/types.ts:149
status?"completed" | "incomplete" | "in_progress"Lifecycle status of the call item.src/batteries/llm/openai_responses/types.ts:155
type"function_call"Item discriminator; always 'function_call'.src/batteries/llm/openai_responses/types.ts:145