Get Asset
sirv_get_assetRetrieve a library asset by ID to get its URL and metadata for AI processing or updates; optionally include the asset's metadata template.
Instructions
Get one library asset by id: its URL, file name, type, size, alt text, tags, favourite flag and custom metadata fields. Set includeTemplate to add the metadata template that the asset uses (one more request).
Use it to get an asset's URL before an AI tool, or to read its metadata before sirv_update_asset. Find the id with sirv_list_assets.
Read-only.
Credits: free.
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": "sirv_get_asset"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Asset id, from sirv_list_assets | |
| orgId | No | Workspace id from sirv_list_organizations. Default: the workspace you signed in to | |
| includeTemplate | No | true: also return the metadata template the asset uses, with its fields. Costs one more request. Default: false |