Tool Extract Text
tool_extract_textExtract text from PDF files by specifying page ranges like '1-3,5', preserving layout, or returning each page separately. Get readable text content from PDFs for further processing.
Instructions
提取 PDF 文本(pdftotext)。pages 精确页范围如 '1-3,5';layout 保持版面;per_page 按页返回。
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>"
},
"name": "tool_extract_text"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| pages | No | ||
| layout | No | ||
| per_page | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||