Search Api Index Create
search_api_index_createCreate a new Search API index in Drupal by specifying its ID, label, server, and datasource. Use this to define searchable content indexes for site search.
Instructions
Create a new Search API index.
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>",
"server_id": "<server_id>",
"datasource": "<datasource>"
},
"name": "search_api_index_create"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| label | Yes | ||
| server_id | Yes | ||
| datasource | Yes | ||
| processors | No | ||
| datasource_settings | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||