Change active entity
glpi_change_active_entitiesSwitch the active GLPI entity for the current session when working in multi-entity instances, and set is_recursive=true to include sub-entities.
Instructions
Change the active entity for the current session. Essential for multi-entity GLPI instances. Use is_recursive=true to include sub-entities.
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": {
"entityId": "<entityId>"
},
"name": "glpi_change_active_entities"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| entityId | Yes | Entity ID to switch to | |
| is_recursive | No | Include sub-entities (default: false) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | No |