Metatag Canonical Set
metatag_canonical_setSets a canonical URL for a specific Drupal entity to prevent duplicate content and control SEO indexing.
Instructions
Set canonical URL for an entity.
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": {
"entity_type": "<entity_type>",
"entity_id": "<entity_id>",
"canonical_url": "<canonical_url>"
},
"name": "metatag_canonical_set"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| entity_id | Yes | ||
| entity_type | Yes | ||
| canonical_url | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||