get_file_content_by_id_api_v1_files
Retrieve the content of a file stored in OpenWebUI using its unique ID. Optionally include as attachment.
Instructions
Get File Content By 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": {
"id": "<id>"
},
"name": "get_file_content_by_id_api_v1_files"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| attachment | No |