Read a file
get_objectRead a file's metadata. Use when checking a file's key, size or checksum. Before: a file id from list_objects or commit_upload (needs storage write access). Returns the file metadata, not its bytes. Scope: storage:read. Cost: free.
Example tool call
This call uses example arguments supplied in the tool’s input schema.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"id": "obj_0123456789abcdef0123456789abcdef"
},
"name": "get_object"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | File id (obj_...). |