Skip to main content

Droost: Profile

droost_profile Read-only

Module: Droost Profiler

One recorded request profile in depth: slowest queries, duplicates, memory. Get tokens from droost_profile_list after enabling the opt-in middleware.

Example call
{
    "tool": "droost_profile",
    "arguments": {}
}
Example response — captured live on this site
{
    "success": false,
    "message": "No profiles recorded yet. Enable profiling (droost_profiler.settings.enabled) and load a page.",
    "data": null
}

Returns one profiled request (by "token", or the most recent) with timing, memory, cache HIT/MISS and tags, slowest queries, duplicate-query groups, and queries aggregated by table. Requires the Droost Profiler module. Read-only.

Input schema (JSON Schema)
{
    "type": "object",
    "properties": {
        "token": {
            "type": "string",
            "description": "Profile token (from droost_profile_list). Omit for the most recent."
        }
    }
}