Import a file from a URL
import_file_from_urlFetch a PDF, Office file, image or EPUB from a public link into FynePDF and get its file_id.
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": {
"url": "<url>"
},
"name": "import_file_from_url"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | ||
| file_name | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | Yes | ||
| bytes | Yes | ||
| pages | Yes | ||
| file_id | Yes | ||
| filename | Yes | ||
| expires_at | Yes | ||
| download_url | Yes |