task_schema_get
Fetch a task's JSON Schema by id to learn the required result structure, ensuring your submission conforms and is accepted. Read-only operation.
Instructions
Fetch a registered task schema by id (v2.10).
When to use: an assignee about to complete a schema-gated task reads the required shape first, so its result conforms and the completion is accepted. Pure read; no auth required.
Behavior: returns the stored JSON Schema document verbatim (the parsed object).
Returns: { success: true, id, json_schema, created_by, created_at }.
Errors: NOT_FOUND (no such schema id).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Schema id to fetch | |
| agent_token | No | Your agent token (from register_agent response). Optional here — also resolvable from RELAY_AGENT_TOKEN env or X-Agent-Token header. |