Get asset
get_assetGet a single published asset by slug or media id, including its absolute CDN URL, content type, and size. Use this to confirm an asset exists and fetch the URL to embed.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get_asset"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| slug | No | the asset slug (provide this or media_id) | |
| media_id | No | the asset's media id (provide this or slug) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | ||
| slug | Yes | ||
| status | No | ||
| media_id | Yes | ||
| created_at | No | ||
| size_bytes | No | ||
| updated_at | No | ||
| content_type | No | ||
| display_name | No | ||
| original_filename | No |