Droost: Services
droost_services Read-only
Module: Droost coreGreps the service container by pattern. The starting point for "is there already a service that does X" — reuse before writing.
Example call
{
"tool": "droost_services",
"arguments": {
"pattern": "droost",
"limit": 10
}
}
Example response — captured live on this site
{
"success": true,
"message": "55 service(s) matched; showing 10.",
"data": {
"pattern": "droost",
"matched": 55,
"returned": 10,
"services": [
"Drupal\\droost_examples\\Hook\\ExampleEntityHooks",
"droost.guideline_provider",
"droost.harness.agents",
"droost.harness.claude",
"droost.harness.codex",
"droost.harness.gemini",
"droost.harness.opencode",
"droost.harness.qwen",
"droost.harness_registry",
"droost.module_doc_reader"
],
"deprecated": []
}
}
Lists registered dependency-injection service IDs so an agent can find the right service to inject. Optional "pattern" filters by substring; "limit" caps results. Read-only; does not instantiate services.
Input schema (JSON Schema)
{
"type": "object",
"properties": {
"pattern": {
"type": "string",
"description": "Case-insensitive substring matched against service IDs, e.g. \"entity\" or \"cache\"."
},
"limit": {
"type": "integer",
"description": "Max service IDs to return (default 150, max 2000)."
}
}
}
Droost