ldap_operations
Trigger LDAP user sync or test connection settings directly from Snipe-IT MCP, eliminating the need for CLI commands or web UI.
Instructions
Manage LDAP synchronization.
Operations:
sync: Trigger LDAP user synchronization
test: Test LDAP connection settings
Note: LDAP must be configured in Snipe-IT settings before use. Previously required CLI (php artisan snipeit:ldap-sync) or web UI.
Returns: dict: Sync results or connection test status
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": {
"action": "<action>"
},
"name": "ldap_operations"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | The LDAP action to perform |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||