plan_figure
Plan the figure type, rendering route, and guardrails for a source before generation, enabling hosts to choose between direct image, SVG-style, or deterministic chart rendering.
Instructions
Plan the best figure type, route, and guardrails before generation.
This tool returns a structured plan so an MCP host can decide whether to use direct image generation, SVG-style rendering, or deterministic chart routes.
Provide either pmid or a generic source brief. Generic planning supports preprints, repositories, and freeform briefs by passing source_title plus optional source_summary and source_identifier.
output_format: Optional final raster delivery type such as png, gif, jpeg, or webp. The planner stores this preference inside planned_payload for downstream rendering.
expected_labels: Optional list of exact text labels (especially CJK) the figure must contain. Enables CJK text fidelity guardrails and model escalation.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pmid | No | ||
| language | No | zh-TW | |
| figure_type | No | auto | |
| output_size | No | 1024x1536 | |
| source_kind | No | paper | |
| source_title | No | ||
| style_preset | No | journal_default | |
| output_format | No | ||
| source_summary | No | ||
| target_journal | No | ||
| expected_labels | No | ||
| source_identifier | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||