Skip to main content

Droost: Entity Load

droost_entity_load Read-only

Module: Droost core

Loads one entity by id or uuid, optionally trimmed to named fields — the verify step after entity writes, and the cheap way to inspect real field value shapes before writing similar content.

Example call
{
    "tool": "droost_entity_load",
    "arguments": {
        "entity_type": "node",
        "id": "1",
        "fields": [
            "title",
            "field_tool_module",
            "field_tool_tier"
        ]
    }
}
Example response — captured live on this site
{
    "success": true,
    "message": "node 1 loaded (1 field(s)).",
    "data": {
        "entity_type": "node",
        "id": "1",
        "bundle": "page",
        "label": "Privacy policy",
        "fields": {
            "title": [
                {
                    "value": "Privacy policy"
                }
            ]
        }
    }
}

Loads a single entity by ID or UUID and returns its raw field values. Provide "entity_type" and either "id" or "uuid"; optionally "fields" to limit which fields are returned. Read-only.

Input schema (JSON Schema)
{
    "type": "object",
    "properties": {
        "entity_type": {
            "type": "string",
            "description": "Entity type machine name, e.g. \"node\", \"user\", \"taxonomy_term\"."
        },
        "id": {
            "type": "string",
            "description": "The entity ID. Use this or \"uuid\"."
        },
        "uuid": {
            "type": "string",
            "description": "The entity UUID. Takes precedence over \"id\"."
        },
        "fields": {
            "type": "array",
            "items": {
                "type": "string"
            },
            "description": "Optional field names to limit the result."
        }
    },
    "required": [
        "entity_type"
    ]
}