list_local_figures
Detect figures and images in local PDF files and return a JSON list with page numbers, bounding boxes, and dimensions for cropping or extraction.
Instructions
Detect figures and images in any local PDF file.
Returns a JSON list of detected figures with page numbers, bounding
boxes, and dimensions. Pass the results to ``crop_local_figure``
to extract a specific figure.
Args:
file_path: Path to the PDF (absolute, ~-relative, or relative to LOCAL_PDF_DIR).
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_path": "<file_path>"
},
"name": "list_local_figures"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_path | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |