Implementation
gradeNot graded
gradeNot graded
app_contextAnswer
Read-only orientation call. Returns the current filters, asset count, and collection contents. Call this before any write action.
View tool JSON
{
"name": "app_context",
"kind": "answer",
"impl": "imperative",
"description": "Read-only orientation call. Returns the current filters, asset count, and collection contents. Call this before any write action.",
"inputSchema": {
"type": "object",
"properties": {},
"additionalProperties": false
},
"page": "/webmcp-poc/"
}search_assetsAction
Search assets by free-text query (matches name or tag) and optional type. Also updates the on-screen filters so the user sees the same results.
View tool JSON
{
"name": "search_assets",
"kind": "act",
"impl": "imperative",
"description": "Search assets by free-text query (matches name or tag) and optional type. Also updates the on-screen filters so the user sees the same results.",
"inputSchema": {
"type": "object",
"properties": {
"query": {
"type": "string",
"maxLength": 100,
"description": "Text to match against name or tags"
},
"type": {
"type": "string",
"enum": [
"image",
"video",
"document"
],
"description": "Optional asset type filter"
}
},
"additionalProperties": false
},
"page": "/webmcp-poc/"
}add_to_collectionAction
Add one asset to the "Campaign Q4" collection by id (format A-###). Non-destructive; visible in the right panel.
View tool JSON
{
"name": "add_to_collection",
"kind": "act",
"impl": "imperative",
"description": "Add one asset to the \"Campaign Q4\" collection by id (format A-###). Non-destructive; visible in the right panel.",
"inputSchema": {
"type": "object",
"properties": {
"id": {
"type": "string",
"pattern": "^A-\\d{3}$",
"description": "Asset id, e.g. A-104"
}
},
"required": [
"id"
],
"additionalProperties": false
},
"page": "/webmcp-poc/"
}delete_assetSensitive Action
Permanently delete an asset by id. Destructive: the user is asked to confirm in the page; if they decline, nothing changes.
View tool JSON
{
"name": "delete_asset",
"kind": "transact",
"impl": "imperative",
"description": "Permanently delete an asset by id. Destructive: the user is asked to confirm in the page; if they decline, nothing changes.",
"inputSchema": {
"type": "object",
"properties": {
"id": {
"type": "string",
"pattern": "^A-\\d{3}$"
}
},
"required": [
"id"
],
"additionalProperties": false
},
"page": "/webmcp-poc/"
}assets_gatewayAction
Gateway tool. action="help" or "list_actions" describes available actions; action="count_by_type" returns counts per asset type.
View tool JSON
{
"name": "assets_gateway",
"kind": "act",
"impl": "imperative",
"description": "Gateway tool. action=\"help\" or \"list_actions\" describes available actions; action=\"count_by_type\" returns counts per asset type.",
"inputSchema": {
"type": "object",
"properties": {
"action": {
"type": "string",
"enum": [
"help",
"list_actions",
"count_by_type"
]
}
},
"required": [
"action"
],
"additionalProperties": false
},
"page": "/webmcp-poc/"
}