search_spec
Search the PDF specification (ISO 32000-2) for a keyword or phrase. Returns matching sections with context snippets.
Instructions
Search the PDF specification (ISO 32000-2) for a keyword or phrase. Returns matching sections with context snippets. The first call may take a few seconds to build the search index.
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": {
"query": "<query>"
},
"name": "search_spec"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| spec | No | Specification ID (e.g., "iso32000-2", "ts32002", "pdfua2"). Use list_specs to see available specs. Default: "iso32000-2" (PDF 2.0). | |
| query | Yes | Search query (keyword or phrase) | |
| max_results | No | Maximum number of results to return (default: 10, max: 50) |