Summarise a document
tp_summarize_documentGenerates a summary of one document — a paragraph on what it is and what it concludes, then a short list of its specifics — and caches it on the account. Use it when the user asks for a summary or an overview of a saved document. The document's text is sent to Google's Gemini API to write the summary. A cached summary is returned without calling the model again unless force: true is passed. Summaries have their own daily limit per account.
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": {
"id": "<id>"
},
"name": "tp_summarize_document"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Document id from tp_list_documents. | |
| force | No | Generate a new summary even when one is cached. Default false. |