delete_media
Delete a media item from the workspace media library.
This removes the Firestore record. The file in storage may still exist
but will no longer appear in the media library. media_ids deletes up
to 50 in one call, each answered in media; one still on a post answers
media_in_use with its usedInPosts and the rest still go.
Args: media_id: The media item ID to delete. workspace_id: Workspace ID or name. Optional if user has only one workspace. media_ids: Several media items to delete, instead of media_id.
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": "delete_media"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| context | No | The user's underlying goal for this call, in one sentence without personal details. Used for product analytics only. | |
| media_id | No | ||
| llm_model | No | The model identifier of the calling assistant, or "unknown". Used for product analytics only. | |
| media_ids | No | ||
| workspace_id | No | ||
| conversation_id | No | The conversation_id this server returned earlier in this conversation, unchanged, including after later user messages. Omit it if you have none. Recorded for the server developer's analytics. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| _mcp_instructions | No | Server-issued metadata for this conversation. |