fetch_documents
Download selected or all procurement documents (up to 300) through a durable local queue, with retry status and file/job size limits.
Instructions
Fetch selected stable document keys, or all (maximum 300), through the durable local queue.
Hard limits: 200 MB per file, 1 GB per job. A queued retry reports its error and next_attempt.
Read downloaded document IDs from list_documents(refresh=false). No import into a price catalogue.
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": {
"source": "<source>",
"number": "<number>"
},
"name": "fetch_documents"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| keys | No | ||
| number | Yes | ||
| source | Yes | ||
| enqueue_only | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||