deleteItem
Remove a specific item from a collection in Directus CMS by specifying the collection name and item ID, using the MCP Server to execute the deletion via an API call.
Instructions
Delete an item from a collection
Input Schema
Name | Required | Description | Default |
---|---|---|---|
collection | Yes | Collection name | |
id | Yes | Item ID | |
token | No | Authentication token (default from config) | |
url | No | Directus API URL (default from config) |
Input Schema (JSON Schema)
{
"properties": {
"collection": {
"description": "Collection name",
"type": "string"
},
"id": {
"description": "Item ID",
"type": "string"
},
"token": {
"description": "Authentication token (default from config)",
"type": "string"
},
"url": {
"description": "Directus API URL (default from config)",
"type": "string"
}
},
"required": [
"collection",
"id"
],
"type": "object"
}