Google Interactions API Coverage Report
Spec version: v1beta
This page provides a detailed breakdown of Llama Stack's coverage of the Google Interactions API specification. The coverage score increases as missing features are implemented.
This documentation is auto-generated from the Google Interactions API specification comparison.
Summary
| Metric | Value |
|---|---|
| Overall Coverage Score | 32.9% |
| Total Items Implemented | 27/82 |
| Total Missing | 55 |
Section Scores
Sections are sorted by coverage score (lowest first, needing most attention).
| Section | Score | Implemented | Total | Missing |
|---|---|---|---|---|
| Tool Types | 0.0% | 0 | 9 | 9 |
| Content Types | 5.0% | 1 | 20 | 19 |
| Endpoints | 25.0% | 1 | 4 | 3 |
| GenerationConfig | 30.0% | 3 | 10 | 7 |
| Usage | 30.0% | 3 | 10 | 7 |
| Request Properties | 46.2% | 6 | 13 | 7 |
| Streaming Events | 71.4% | 5 | 7 | 2 |
| Response Properties | 88.9% | 8 | 9 | 1 |
Detailed Breakdown
Below is a detailed breakdown of what is implemented and what is missing for each section.
Tool Types
Score: 0.0% · Implemented: 0/9
Missing (9)
CodeExecutionComputerUseFileSearchFunctionGoogleMapsGoogleSearchMcpServerRetrievalUrlContext
Content Types
Score: 5.0% · Implemented: 1/20
Implemented (1)
TextContent
Missing (19)
AudioContentCodeExecutionCallContentCodeExecutionResultContentDocumentContentFileSearchCallContentFileSearchResultContentFunctionCallContentFunctionResultContentGoogleMapsCallContentGoogleMapsResultContentGoogleSearchCallContentGoogleSearchResultContentImageContentMcpServerToolCallContentMcpServerToolResultContentThoughtContentUrlContextCallContentUrlContextResultContentVideoContent
Endpoints
Score: 25.0% · Implemented: 1/4
Implemented (1)
POST /{api_version}/interactions
Missing (3)
DELETE /{api_version}/interactions/{id}GET /{api_version}/interactions/{id}POST /{api_version}/interactions/{id}/cancel
GenerationConfig
Score: 30.0% · Implemented: 3/10
Implemented (3)
max_output_tokenstemperaturetop_p
Missing (7)
image_configseedspeech_configstop_sequencesthinking_levelthinking_summariestool_choice
Extra in Llama Stack (1)
These properties are in the Llama Stack implementation but not in the Google spec:
top_k
Usage
Score: 30.0% · Implemented: 3/10
Implemented (3)
total_input_tokenstotal_output_tokenstotal_tokens
Missing (7)
cached_tokens_by_modalityinput_tokens_by_modalityoutput_tokens_by_modalitytool_use_tokens_by_modalitytotal_cached_tokenstotal_thought_tokenstotal_tool_use_tokens
Request Properties
Score: 46.2% · Implemented: 6/13
Implemented (6)
generation_configinputmodelresponse_modalitiesstreamsystem_instruction
Missing (7)
backgroundprevious_interaction_idresponse_formatresponse_mime_typeservice_tierstoretools
Streaming Events
Score: 71.4% · Implemented: 5/7
Implemented (5)
ContentDeltaContentStartContentStopInteractionCompleteEventInteractionStartEvent
Missing (2)
ErrorEventInteractionStatusUpdate
Response Properties
Score: 88.9% · Implemented: 8/9
Implemented (8)
createdidmodeloutputsrolestatusupdatedusage
Missing (1)
agent
Extra in Llama Stack (1)
These properties are in the Llama Stack implementation but not in the Google spec:
object
How to Improve Coverage
To improve coverage scores:
- Add Missing Properties: Implement missing fields in request/response models in
src/llama_stack_api/interactions/models.py - Add Content Types: Support additional content types beyond text (images, audio, function calls, etc.)
- Add Tool Support: Implement tool declarations (Function, GoogleSearch, CodeExecution, etc.)
- Add Missing Endpoints: Implement GET, DELETE, and Cancel endpoints
Run the coverage analyzer to check your progress:
python scripts/google_interactions_coverage.py --update --generate-docs