List media
media_listReturns media library items that belong to the API key's organization.
When projectId is provided, only media in that project is returned.
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": "media_list"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Number of items to return. | |
| cursor | No | Opaque cursor for the next page of results. | |
| mediaId | No | Filter to one or more media items. Provide a comma-separated list of media IDs. | |
| projectId | No | Filter to resources that belong to a specific project. |