check_slug
Verify whether a D&D 5e resource slug is available, would collide with an existing entry, or has changed from its original, preventing duplicate or broken database records.
Instructions
Check if a slug exists, would collide, or has been modified from an existing entry.
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": {
"resource_type": "<resource_type>",
"slug": "<slug>"
},
"name": "check_slug"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| slug | Yes | Slug to check | |
| document_slug | No | Source book context | |
| original_slug | No | Original slug if editing (to detect mutations) | |
| resource_type | Yes |