Get file
codecks_get_fileRetrieve a single Codecks file by ID with optional field selection and relation expansion, returning markdown or JSON for inspection or structured processing.
Instructions
Get a single file by ID with optional field selection.
Available fields: createdAt, deletedAt, isDeleted, meta, name, selfHosted, size, url Relations: account, deletedBy, uploader
Example selection: ["createdAt", "deletedAt", "isDeleted"]
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": "codecks_get_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Model ID | |
| selection | No | Selection array (fields/relations) | |
| response_format | No | Output format: 'markdown' for human-readable or 'json' for structured data | markdown |
| include_relations | No | Attempt safe first-level relation expansion with guarded fallback |