Read project media
projects_media_readPreview one file from the project media library. Images up to 4 MB are returned as an image the model can see. Text files up to 4 MB include their contents. Larger files return the public URL only.
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": {
"project_id": "<project_id>",
"media_id": "<media_id>"
},
"name": "projects_media_read"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| media_id | Yes | UUID of a media file from projects_media_list. | |
| project_id | Yes | UUID of a Bunstation project owned by the authenticated user. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| url | Yes | ||
| name | Yes | ||
| size | Yes | ||
| content | No | ||
| preview | Yes | ||
| mime_type | Yes | ||
| truncated | Yes | ||
| created_at | Yes | ||
| project_id | Yes |