extend_shared_doc
Extend the expiry of a shared document by a specified number of hours, ensuring the link remains accessible for a longer period.
Instructions
Extend a doc expiry by N hours (for "N days" multiply by 24 first). On the gist backend expiry is enforced lazily (cleanup on next use).
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": {
"doc_id_or_url": "<doc_id_or_url>",
"hours": "<hours>"
},
"name": "extend_shared_doc"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| hours | Yes | ||
| doc_id_or_url | Yes |