pdf_text
Extract text from a PDF, per page. Pass as_markdown=true for a clean Markdown version with '## Page N' headings.
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": {
"file": "<file>"
},
"name": "pdf_text"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | Yes | PDF file content as base64 | |
| as_markdown | No | return Markdown instead of JSON (default false) |