read_attachment
Reads a subsidy attachment PDF's text in character-limited chunks and resumes from a given offset, enabling extraction of application guidelines while flagging image-only pages.
Instructions
Read an attachment's text (PDF, page by page) in pieces of max_chars; continue from next_offset. pages_without_text lists PDF pages that are images only. Other formats cannot be read here.
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": {
"subsidy_id": "<subsidy_id>",
"kind": "<kind>"
},
"name": "read_attachment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | Yes | Attachment kind, from get_subsidy_detail. | |
| index | No | Attachment index within its kind. | |
| offset | No | Character offset to read from. | |
| max_chars | No | ||
| subsidy_id | Yes | The subsidy's id. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||