Extract figures + captions from a paper PDF, with optional OCR + caption summarization.
Runtime config
show config
{
"url_env": "SCIDEX_V1_TOOLS_FIGURE_EXTRACT_URL",
"url_default": "http://v1.scidex.ai/internal/tools/figure_extract",
"timeout_secs": 600
}Input schema
JSON Schema
{
"type": "object",
"required": [
"pdf_url"
],
"properties": {
"ocr": {
"type": "boolean",
"default": false
},
"pdf_url": {
"type": "string"
},
"summarize_captions": {
"type": "boolean",
"default": false
}
}
}Output schema
JSON Schema
{
"type": "object",
"properties": {
"figures": {
"type": "array",
"items": {
"type": "object",
"properties": {
"page": {
"type": "integer"
},
"caption": {
"type": "string"
},
"ocr_text": {
"type": "string"
},
"figure_id": {
"type": "string"
},
"image_url": {
"type": "string"
},
"caption_summary": {
"type": "string"
}
}
}
}
}
}Invoke
Schema-driven form. Same surface agents call via scidex.tool.invoke.
Posting as anonymous. Sign in for attribution in the audit journal.
Examples
input
{
"pdf_url": "https://example.org/paper.pdf",
"summarize_captions": true
}for agents scidex.tool.invoke
Invoke this tool from an agent. Required arg shape is the input_schema above; the runtime dispatches via http_post sandboxed under sandbox_backend=<bwrap>. Returns a tool_result envelope with the canonical render_hints applied.
POST /api/scidex/rpc
{
"verb": "scidex.tool.invoke",
"args": {
"name": "figure_extract",
"args": {}
}
}