Pathauto Pattern Create
pathauto_pattern_createCreate a new Pathauto pattern to define custom URL aliases for Drupal entity bundles. Specify ID, label, entity type, bundle, and pattern to control automatic path generation.
Instructions
Create a new pathauto pattern.
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": {
"id": "<id>",
"label": "<label>",
"entity_type": "<entity_type>",
"bundle": "<bundle>",
"pattern": "<pattern>"
},
"name": "pathauto_pattern_create"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| label | Yes | ||
| bundle | Yes | ||
| weight | No | ||
| pattern | Yes | ||
| langcode | No | ||
| entity_type | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||