Get function invocation
get_function_invocationRetrieve a Firecracker Function invocation's status and usage cost, including output and logs when retained. Use it to monitor execution results and track costs by function and invocation ID.
Instructions
Get a Firecracker Function invocation's status and usage cost. Output/logs are available when output_retained is true.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"function_id": "<function_id>",
"invocation_id": "<invocation_id>"
},
"name": "get_function_invocation"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| function_id | Yes | Function ID from list_functions | |
| invocation_id | Yes | The invocation_uuid returned by invoke_function or list_function_invocations |