get_material_image
Fetches a bounded wiki material image or cropped region for a vision model, returning the image block and source hash so you can transcribe it faithfully.
Instructions
Return an actual bounded image block for the connected model's vision, plus source hash.
region optionally crops [left, top, right, bottom] in 0..1. Transcribe faithfully, mark uncertainties, then save_transcription. A crop must be marked partial when saved.
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": {
"attachment_id": "<attachment_id>"
},
"name": "get_material_image"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | ||
| region | No | ||
| attachment_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | Yes | ||
| width | Yes | ||
| height | Yes | ||
| metadata | Yes | ||
| mime_type | Yes | ||
| local_path | Yes | ||
| size_bytes | Yes | ||
| source_url | Yes | ||
| source_hash | Yes | ||
| instructions | Yes | ||
| attachment_id | Yes |