> For AI agents: the complete documentation index is available at /next/llms.txt, the full documentation bundle is available at /next/llms-full.txt.

# Type Alias: FunctionResponse

> **FunctionResponse** = `object` & \{ `error?`: `never`; `value`: `unknown`; } | \{ `error`: \{ `code`: `string`; `message`: `string`; }; `value?`: `never`; }

Correlated result of a protocol function invocation.

## Type Declaration

### functionCallId

> **functionCallId**: `string`
