Interface: GeminiFunctionResponse
Defined in: src/batteries/llm/gemini_generate_content/types.ts:112
The result of a function invocation, sent back on a user turn.
Remarks
name is the DECLARED FUNCTION NAME, not a call id — Gemini has no tool_call_id. A mismatched name is a common source of opaque INVALID_ARGUMENT rejections.
Properties
| Property | Type | Description | Defined in |
|---|---|---|---|
name | string | The DECLARED function name — not a call id. | src/batteries/llm/gemini_generate_content/types.ts:114 |
response | Record<string, unknown> | Result payload. Gemini requires an OBJECT here; a bare string is rejected. | src/batteries/llm/gemini_generate_content/types.ts:116 |