{
    "name": "quantumdev/create-lab-draft",
    "label": "QuantumDev Create LAB Draft",
    "description": "Create one controlled WordPress draft for QuantumDev Lab experiments. Publication is not supported.",
    "category": "site",
    "input_schema": {
        "type": "object",
        "properties": {
            "title": {
                "type": "string",
                "minLength": 1,
                "maxLength": 120
            },
            "content": {
                "type": "string",
                "minLength": 1,
                "maxLength": 2000
            }
        },
        "required": [
            "title",
            "content"
        ],
        "additionalProperties": false
    },
    "output_schema": {
        "type": "object",
        "properties": {
            "post_id": {
                "type": "integer"
            },
            "title": {
                "type": "string"
            },
            "status": {
                "type": "string"
            },
            "author_id": {
                "type": "integer"
            },
            "author_login": {
                "type": "string"
            },
            "email_attempts_blocked": {
                "type": "integer"
            }
        },
        "required": [
            "post_id",
            "title",
            "status",
            "author_id",
            "author_login",
            "email_attempts_blocked"
        ],
        "additionalProperties": false
    },
    "meta": {
        "annotations": {
            "readonly": false,
            "destructive": false,
            "idempotent": false,
            "openWorldHint": false
        },
        "show_in_rest": false,
        "mcp": {
            "public": true,
            "type": "tool"
        }
    },
    "permission_callback": "current_user_can(edit_posts)"
}