gemini_listCaches
Lists cached content resources for a project with pagination support. Returns cache metadata and a token for the next page, enabling efficient resource management and retrieval in the MCP Gemini Server.
Instructions
Lists cached content resources available for the project. Supports pagination. Returns a list of cache metadata objects and potentially a token for the next page.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
pageSize | No | Optional. The maximum number of caches to return per page. Defaults to 100 if not specified by the API, max 1000. | |
pageToken | No | Optional. A token received from a previous listCaches call to retrieve the next page of results. |
Input Schema (JSON Schema)
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"pageSize": {
"description": "Optional. The maximum number of caches to return per page. Defaults to 100 if not specified by the API, max 1000.",
"exclusiveMinimum": 0,
"maximum": 1000,
"type": "integer"
},
"pageToken": {
"description": "Optional. A token received from a previous listCaches call to retrieve the next page of results.",
"minLength": 1,
"type": "string"
}
},
"type": "object"
}