get_context_document
Retrieve a context document's metadata: source, duration, tags, classification, and available transcript/frames to orient before reading full transcript. Handles partial documents.
Instructions
Get one context document's metadata: source (YouTube URL or local file), duration, tags, its server-side classification (video type, whether visual evidence is needed, planned moments), and what transcript/frames are available. Deliberately does NOT return the transcript — call read_context_document for that. START HERE when handed a document: this is the cheapest possible orientation, telling you what the video is and where the words go blind before you spend context on the transcript. A document may be PARTIAL — transcript present with frames: [] while the classification planned moments means frame extraction has not completed; the document is still readable and usable, and re-running the same clipy context import command completes it. Report that state honestly rather than as a failure.
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": "get_context_document"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | The context document's public id (or internal id), as returned by list_context_documents. |