create_context_receipt_from_path
Create a deterministic, local Context Receipt from a text file or directory. Converts .md, .txt, and .rst content into a token-budgeted summary for AI context windows.
Instructions
Create a Context Receipt from a local document file or directory.
Supports text-like documents currently handled by the local receipt ingester (.md, .txt, .rst). The result is deterministic and local.
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": {
"path": "<path>",
"query": "<query>"
},
"name": "create_context_receipt_from_path"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| query | Yes | ||
| chunk_tokens | No | ||
| token_budget | No | ||
| overlap_tokens | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |