Fetch Result File (HTTP)
fetch_result_fileGet a temporary download URL for a result file from OCR/transcription output. Use this to download images referenced as frenchie-result: in the result markdown.
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": {
"object_key": "<object_key>"
},
"name": "fetch_result_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| api_key | No | Optional Frenchie API key (fr_...). Falls back to the FRENCHIE_API_KEY env var when omitted. | |
| object_key | Yes | The object key parsed from a frenchie-result:<objectKey> reference in the result markdown. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filename | Yes | Suggested filename derived from the original object key. | |
| expires_in | Yes | URL expiry in seconds (typically 900). | |
| download_url | Yes | Temporary HTTPS download URL for the result file. |