{
  "_meta": {
    "cli_version": "2.4.2",
    "commands": 875,
    "generator": "scripts/docs-capabilities.py",
    "released": "2026-11-02",
    "schema_version": 1
  },
  "commands": {
    "activity export": {
      "accepted_fields": [
        {
          "default": "csv",
          "enum": null,
          "name": "format",
          "required": false,
          "type": "str"
        },
        {
          "default": null,
          "enum": null,
          "name": "start_time",
          "required": false,
          "type": "str"
        },
        {
          "default": null,
          "enum": null,
          "name": "end_time",
          "required": false,
          "type": "str"
        },
        {
          "default": null,
          "enum": null,
          "name": "categories",
          "required": false,
          "type": "list[any]"
        },
        {
          "default": null,
          "enum": null,
          "name": "activities",
          "required": false,
          "type": "list[any]"
        },
        {
          "default": null,
          "enum": null,
          "name": "user_ids",
          "required": false,
          "type": "list[any]"
        }
      ],
      "agent_example": "mammoth activity export",
      "command_id": "activity.export",
      "contract_level": "typed",
      "description": "Export activity logs from the active workspace, with optional filters.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth activity export --help",
      "notes": [],
      "positionals": [],
      "request_model": "ActivityExportRequest",
      "result_model": "ActivityExportResult",
      "runnable_example": "mammoth activity export"
    },
    "activity list": {
      "accepted_fields": [
        {
          "default": 50,
          "enum": null,
          "name": "limit",
          "required": false,
          "type": "int"
        },
        {
          "default": 0,
          "enum": null,
          "name": "offset",
          "required": false,
          "type": "int"
        },
        {
          "default": null,
          "enum": null,
          "name": "sort",
          "required": false,
          "type": "str"
        },
        {
          "default": null,
          "enum": null,
          "name": "categories",
          "required": false,
          "type": "list[any]"
        },
        {
          "default": null,
          "enum": null,
          "name": "activities",
          "required": false,
          "type": "list[any]"
        },
        {
          "default": null,
          "enum": null,
          "name": "resource_id",
          "required": false,
          "type": "str"
        },
        {
          "default": null,
          "enum": null,
          "name": "result",
          "required": false,
          "type": "str"
        },
        {
          "default": null,
          "enum": null,
          "name": "start_time",
          "required": false,
          "type": "str"
        },
        {
          "default": null,
          "enum": null,
          "name": "end_time",
          "required": false,
          "type": "str"
        },
        {
          "default": null,
          "enum": null,
          "name": "origin",
          "required": false,
          "type": "str"
        },
        {
          "default": null,
          "enum": null,
          "name": "user_ids",
          "required": false,
          "type": "list[any]"
        },
        {
          "default": null,
          "enum": null,
          "name": "parent_id",
          "required": false,
          "type": "int"
        },
        {
          "default": null,
          "enum": null,
          "name": "search_text",
          "required": false,
          "type": "str"
        },
        {
          "default": null,
          "enum": null,
          "name": "fields",
          "required": false,
          "type": "str"
        },
        {
          "default": null,
          "enum": null,
          "name": "project_id",
          "required": false,
          "type": "int"
        }
      ],
      "agent_example": "mammoth activity list",
      "command_id": "activity.list",
      "contract_level": "typed",
      "description": "List activity logs in the active workspace, with optional filters.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth activity list --help",
      "notes": [],
      "positionals": [],
      "request_model": "ActivityListRequest",
      "result_model": "ActivityListResult",
      "runnable_example": "mammoth activity list"
    },
    "addon connector add": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "connector_id",
          "required": false,
          "type": "int"
        },
        {
          "default": null,
          "enum": null,
          "name": "connector_ids",
          "required": false,
          "type": "list[int]"
        }
      ],
      "agent_example": "mammoth addon connector add --input '{\"connector_id\": 42}' --yes",
      "command_id": "addon.connector.add",
      "contract_level": "typed",
      "description": "Add connector addon(s): pass 'connector_id' or 'connector_ids'.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth addon connector add --help",
      "notes": [],
      "positionals": [],
      "request_model": "AddonConnectorAddRequest",
      "result_model": "AddonConnectorAddResult",
      "runnable_example": "mammoth addon connector add --input '{\"connector_id\": 42}' --yes"
    },
    "addon connector remove": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "connector_id",
          "required": false,
          "type": "int"
        },
        {
          "default": null,
          "enum": null,
          "name": "connector_ids",
          "required": false,
          "type": "list[int]"
        }
      ],
      "agent_example": "mammoth addon connector remove --input '{\"connector_id\": 42}' --yes",
      "command_id": "addon.connector.remove",
      "contract_level": "typed",
      "description": "Remove connector addon(s): pass 'connector_id' or 'connector_ids'.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth addon connector remove --help",
      "notes": [],
      "positionals": [],
      "request_model": "AddonConnectorRemoveRequest",
      "result_model": "AddonConnectorRemoveResult",
      "runnable_example": "mammoth addon connector remove --input '{\"connector_id\": 42}' --yes"
    },
    "addon storage add": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "additional_storage_gb",
          "required": true,
          "type": "int"
        }
      ],
      "agent_example": "mammoth addon storage add --input '{\"additional_storage_gb\": 1}' --yes",
      "command_id": "addon.storage.add",
      "contract_level": "typed",
      "description": "Add storage capacity. High-impact: '--yes --confirm WORKSPACE_ID'.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth addon storage add --help",
      "notes": [],
      "positionals": [],
      "request_model": "AddonStorageAddRequest",
      "result_model": "AddonStorageAddResult",
      "runnable_example": "mammoth addon storage add --input '{\"additional_storage_gb\": 1}' --yes"
    },
    "addon storage remove": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "removal_storage_gb",
          "required": true,
          "type": "int"
        }
      ],
      "agent_example": "mammoth addon storage remove --input '{\"removal_storage_gb\": 1}' --yes",
      "command_id": "addon.storage.remove",
      "contract_level": "typed",
      "description": "Remove storage capacity. High-impact: '--yes --confirm WORKSPACE_ID'.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth addon storage remove --help",
      "notes": [],
      "positionals": [],
      "request_model": "AddonStorageRemoveRequest",
      "result_model": "AddonStorageRemoveResult",
      "runnable_example": "mammoth addon storage remove --input '{\"removal_storage_gb\": 1}' --yes"
    },
    "addon user add": {
      "accepted_fields": [
        {
          "default": 1,
          "enum": null,
          "name": "user_count",
          "required": false,
          "type": "int"
        }
      ],
      "agent_example": "mammoth addon user add --yes",
      "command_id": "addon.user.add",
      "contract_level": "typed",
      "description": "Add user seats. High-impact: '--yes --confirm WORKSPACE_ID'.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth addon user add --help",
      "notes": [],
      "positionals": [],
      "request_model": "AddonUserAddRequest",
      "result_model": "AddonUserAddResult",
      "runnable_example": "mammoth addon user add --yes"
    },
    "addon user remove": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "user_count",
          "required": true,
          "type": "int"
        }
      ],
      "agent_example": "mammoth addon user remove --input '{\"user_count\": 1}' --yes",
      "command_id": "addon.user.remove",
      "contract_level": "typed",
      "description": "Remove user seats. High-impact: '--yes --confirm WORKSPACE_ID'.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth addon user remove --help",
      "notes": [],
      "positionals": [],
      "request_model": "AddonUserRemoveRequest",
      "result_model": "AddonUserRemoveResult",
      "runnable_example": "mammoth addon user remove --input '{\"user_count\": 1}' --yes"
    },
    "agent access askers": {
      "accepted_fields": [],
      "agent_example": "mammoth agent access askers 123",
      "command_id": "agent.access.askers",
      "contract_level": "typed",
      "description": "Count the people who can ask about a project without opening it.",
      "flags": [],
      "hidden": true,
      "human_example": "mammoth agent access askers PROJECT_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the project whose askers to list.",
          "metavar": "PROJECT_ID",
          "name": "project_id",
          "required": true,
          "type": "int"
        }
      ],
      "request_model": "AgentAccessAskersRequest",
      "result_model": "AgentAccessAskersResult",
      "runnable_example": "mammoth agent access askers 123"
    },
    "agent access chart save": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "dashboard_id",
          "required": false,
          "type": "int"
        },
        {
          "default": null,
          "enum": null,
          "name": "new_dashboard_name",
          "required": false,
          "type": "str"
        }
      ],
      "agent_example": "mammoth agent access chart save resource-123 resource-123",
      "command_id": "agent.access.chart.save",
      "contract_level": "typed",
      "description": "Save the chart of an answer to the caller's own dashboard (Explore level).",
      "flags": [],
      "hidden": true,
      "human_example": "mammoth agent access chart save SESSION_ID TURN_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the session.",
          "metavar": "SESSION_ID",
          "name": "session_id",
          "required": true,
          "type": "str"
        },
        {
          "falls_back_to_field": null,
          "help": "ID of the turn.",
          "metavar": "TURN_ID",
          "name": "turn_id",
          "required": true,
          "type": "str"
        }
      ],
      "request_model": "AgentAccessChartSaveRequest",
      "result_model": "AgentAccessChartSaveResult",
      "runnable_example": "mammoth agent access chart save resource-123 resource-123"
    },
    "agent access grant give": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "emails",
          "required": true,
          "type": "list[str]"
        },
        {
          "default": null,
          "enum": null,
          "name": "level",
          "required": true,
          "type": "str"
        },
        {
          "default": null,
          "enum": null,
          "name": "items",
          "required": true,
          "type": "list[dict[str, any]]"
        }
      ],
      "agent_example": "mammoth agent access grant give --input '{\"emails\": [\"analyst@example.com\"], \"level\": \"ask\", \"items\": [{\"project_id\": 1}]}' --yes",
      "command_id": "agent.access.grant.give",
      "contract_level": "typed",
      "description": "Give people access to ask about projects. Managers only.",
      "flags": [],
      "hidden": true,
      "human_example": "mammoth agent access grant give --help",
      "notes": [],
      "positionals": [],
      "request_model": "AgentAccessGrantGiveRequest",
      "result_model": "AgentAccessGrantGiveResult",
      "runnable_example": "mammoth agent access grant give --input '{\"emails\": [\"analyst@example.com\"], \"level\": \"ask\", \"items\": [{\"project_id\": 1}]}' --yes"
    },
    "agent access grant list": {
      "accepted_fields": [],
      "agent_example": "mammoth agent access grant list",
      "command_id": "agent.access.grant.list",
      "contract_level": "typed",
      "description": "List who can ask the agent about projects without opening the data. Managers only.",
      "flags": [],
      "hidden": true,
      "human_example": "mammoth agent access grant list --help",
      "notes": [],
      "positionals": [],
      "request_model": "AgentAccessGrantListRequest",
      "result_model": "AgentAccessGrantListResult",
      "runnable_example": "mammoth agent access grant list"
    },
    "agent access grant revoke": {
      "accepted_fields": [],
      "agent_example": "mammoth agent access grant revoke 123 --yes",
      "command_id": "agent.access.grant.revoke",
      "contract_level": "typed",
      "description": "Revoke a person's access. Managers only.",
      "flags": [],
      "hidden": true,
      "human_example": "mammoth agent access grant revoke GRANT_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the grant.",
          "metavar": "GRANT_ID",
          "name": "grant_id",
          "required": true,
          "type": "int"
        }
      ],
      "request_model": "AgentAccessGrantRevokeRequest",
      "result_model": "AgentAccessGrantRevokeResult",
      "runnable_example": "mammoth agent access grant revoke 123 --yes"
    },
    "agent access grant update": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "level",
          "required": false,
          "type": "str"
        },
        {
          "default": null,
          "enum": null,
          "name": "items",
          "required": false,
          "type": "list[dict[str, any]]"
        }
      ],
      "agent_example": "mammoth agent access grant update 123",
      "command_id": "agent.access.grant.update",
      "contract_level": "typed",
      "description": "Change a person's access. Managers only.",
      "flags": [],
      "hidden": true,
      "human_example": "mammoth agent access grant update GRANT_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the grant.",
          "metavar": "GRANT_ID",
          "name": "grant_id",
          "required": true,
          "type": "int"
        }
      ],
      "request_model": "AgentAccessGrantUpdateRequest",
      "result_model": "AgentAccessGrantUpdateResult",
      "runnable_example": "mammoth agent access grant update 123"
    },
    "agent access me": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "preview_user_id",
          "required": false,
          "type": "int"
        }
      ],
      "agent_example": "mammoth agent access me",
      "command_id": "agent.access.me",
      "contract_level": "typed",
      "description": "What the agent may do for the caller in this workspace.",
      "flags": [],
      "hidden": true,
      "human_example": "mammoth agent access me --help",
      "notes": [],
      "positionals": [],
      "request_model": "AgentAccessMeRequest",
      "result_model": "AgentAccessMeResult",
      "runnable_example": "mammoth agent access me"
    },
    "agent access people": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "search",
          "required": false,
          "type": "str"
        }
      ],
      "agent_example": "mammoth agent access people",
      "command_id": "agent.access.people",
      "contract_level": "typed",
      "description": "List the workspace's members and what their own access gives their agent.",
      "flags": [],
      "hidden": true,
      "human_example": "mammoth agent access people --help",
      "notes": [],
      "positionals": [],
      "request_model": "AgentAccessPeopleRequest",
      "result_model": "AgentAccessPeopleResult",
      "runnable_example": "mammoth agent access people"
    },
    "agent access reach": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "user_id",
          "required": false,
          "type": "int"
        }
      ],
      "agent_example": "mammoth agent access reach",
      "command_id": "agent.access.reach",
      "contract_level": "typed",
      "description": "List what one person's agent can see.",
      "flags": [],
      "hidden": true,
      "human_example": "mammoth agent access reach --help",
      "notes": [],
      "positionals": [],
      "request_model": "AgentAccessReachRequest",
      "result_model": "AgentAccessReachResult",
      "runnable_example": "mammoth agent access reach"
    },
    "agent access request add-to-context": {
      "accepted_fields": [],
      "agent_example": "mammoth agent access request add-to-context 123",
      "command_id": "agent.access.request.add-to-context",
      "contract_level": "typed",
      "description": "Keep a thumbs-down's correction in the project's agent context. Owners and admins.",
      "flags": [],
      "hidden": true,
      "human_example": "mammoth agent access request add-to-context REQUEST_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the request.",
          "metavar": "REQUEST_ID",
          "name": "request_id",
          "required": true,
          "type": "int"
        }
      ],
      "request_model": "AgentAccessRequestAddToContextRequest",
      "result_model": "AgentAccessRequestAddToContextResult",
      "runnable_example": "mammoth agent access request add-to-context 123"
    },
    "agent access request create": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "kind",
          "required": true,
          "type": "str"
        },
        {
          "default": null,
          "enum": null,
          "name": "text",
          "required": true,
          "type": "str"
        },
        {
          "default": null,
          "enum": null,
          "name": "file_id",
          "required": false,
          "type": "int"
        },
        {
          "default": null,
          "enum": null,
          "name": "asked",
          "required": false,
          "type": "str"
        },
        {
          "default": null,
          "enum": null,
          "name": "session_id",
          "required": false,
          "type": "str"
        },
        {
          "default": null,
          "enum": null,
          "name": "turn_id",
          "required": false,
          "type": "str"
        },
        {
          "default": null,
          "enum": null,
          "name": "dashboard_id",
          "required": false,
          "type": "int"
        }
      ],
      "agent_example": "mammoth agent access request create --input '{\"kind\": \"access\", \"text\": \"Please share the Sales project\"}'",
      "command_id": "agent.access.request.create",
      "contract_level": "typed",
      "description": "Ask for access or a change, or flag an answer, from the chat. Any member.",
      "flags": [],
      "hidden": true,
      "human_example": "mammoth agent access request create --help",
      "notes": [],
      "positionals": [],
      "request_model": "AgentAccessRequestCreateRequest",
      "result_model": "AgentAccessRequestCreateResult",
      "runnable_example": "mammoth agent access request create --input '{\"kind\": \"access\", \"text\": \"Please share the Sales project\"}'"
    },
    "agent access request list": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "status",
          "required": false,
          "type": "str"
        }
      ],
      "agent_example": "mammoth agent access request list",
      "command_id": "agent.access.request.list",
      "contract_level": "typed",
      "description": "List the workspace's agent requests. Owners and admins.",
      "flags": [],
      "hidden": true,
      "human_example": "mammoth agent access request list --help",
      "notes": [],
      "positionals": [],
      "request_model": "AgentAccessRequestListRequest",
      "result_model": "AgentAccessRequestListResult",
      "runnable_example": "mammoth agent access request list"
    },
    "agent access request mine": {
      "accepted_fields": [],
      "agent_example": "mammoth agent access request mine resource-123",
      "command_id": "agent.access.request.mine",
      "contract_level": "typed",
      "description": "List the caller's own requests made from one chat.",
      "flags": [],
      "hidden": true,
      "human_example": "mammoth agent access request mine SESSION_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the session.",
          "metavar": "SESSION_ID",
          "name": "session_id",
          "required": true,
          "type": "str"
        }
      ],
      "request_model": "AgentAccessRequestMineRequest",
      "result_model": "AgentAccessRequestMineResult",
      "runnable_example": "mammoth agent access request mine resource-123"
    },
    "agent access request resolve": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "status",
          "required": true,
          "type": "str"
        }
      ],
      "agent_example": "mammoth agent access request resolve 123 --input '{\"status\": \"done\"}' --yes",
      "command_id": "agent.access.request.resolve",
      "contract_level": "typed",
      "description": "Close a request. Owners, admins and the file's keeper.",
      "flags": [],
      "hidden": true,
      "human_example": "mammoth agent access request resolve REQUEST_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the request.",
          "metavar": "REQUEST_ID",
          "name": "request_id",
          "required": true,
          "type": "int"
        }
      ],
      "request_model": "AgentAccessRequestResolveRequest",
      "result_model": "AgentAccessRequestResolveResult",
      "runnable_example": "mammoth agent access request resolve 123 --input '{\"status\": \"done\"}' --yes"
    },
    "agent access settings get": {
      "accepted_fields": [],
      "agent_example": "mammoth agent access settings get",
      "command_id": "agent.access.settings.get",
      "contract_level": "typed",
      "description": "Get the workspace's AI Agent controls. Managers only.",
      "flags": [],
      "hidden": true,
      "human_example": "mammoth agent access settings get --help",
      "notes": [],
      "positionals": [],
      "request_model": "AgentAccessSettingsGetRequest",
      "result_model": "AgentAccessSettingsGetResult",
      "runnable_example": "mammoth agent access settings get"
    },
    "agent access settings update": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "enabled",
          "required": false,
          "type": "bool"
        },
        {
          "default": null,
          "enum": null,
          "name": "can_make_changes",
          "required": false,
          "type": "bool"
        },
        {
          "default": null,
          "enum": null,
          "name": "downloads",
          "required": false,
          "type": "bool"
        },
        {
          "default": null,
          "enum": null,
          "name": "viewers_explore",
          "required": false,
          "type": "bool"
        },
        {
          "default": null,
          "enum": null,
          "name": "managers",
          "required": false,
          "type": "list[str]"
        },
        {
          "default": null,
          "enum": null,
          "name": "role_exceptions",
          "required": false,
          "type": "list[dict[str, any]]"
        }
      ],
      "agent_example": "mammoth agent access settings update --input '{\"enabled\": true}' --yes --confirm 123",
      "command_id": "agent.access.settings.update",
      "contract_level": "typed",
      "description": "Change the workspace's AI Agent controls. Managers only.",
      "flags": [],
      "hidden": true,
      "human_example": "mammoth agent access settings update --help",
      "notes": [],
      "positionals": [],
      "request_model": "AgentAccessSettingsUpdateRequest",
      "result_model": "AgentAccessSettingsUpdateResult",
      "runnable_example": "mammoth agent access settings update --input '{\"enabled\": true}' --yes --confirm 123"
    },
    "agent access today": {
      "accepted_fields": [],
      "agent_example": "mammoth agent access today",
      "command_id": "agent.access.today",
      "contract_level": "typed",
      "description": "Read the caller's Today page on the Ask home.",
      "flags": [],
      "hidden": true,
      "human_example": "mammoth agent access today --help",
      "notes": [],
      "positionals": [],
      "request_model": "AgentAccessTodayRequest",
      "result_model": "AgentAccessTodayResult",
      "runnable_example": "mammoth agent access today"
    },
    "agent access tree": {
      "accepted_fields": [],
      "agent_example": "mammoth agent access tree",
      "command_id": "agent.access.tree",
      "contract_level": "typed",
      "description": "List the projects and files the Give access tree offers. Managers only.",
      "flags": [],
      "hidden": true,
      "human_example": "mammoth agent access tree --help",
      "notes": [],
      "positionals": [],
      "request_model": "AgentAccessTreeRequest",
      "result_model": "AgentAccessTreeResult",
      "runnable_example": "mammoth agent access tree"
    },
    "agent action delete": {
      "accepted_fields": [],
      "agent_example": "mammoth agent action delete resource-123 --yes",
      "command_id": "agent.action.delete",
      "contract_level": "typed",
      "description": "Delete one object the chat created, by action id. Prompt or '--yes' required.",
      "flags": [],
      "hidden": true,
      "human_example": "mammoth agent action delete ACTION_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the recorded action (from agent action list).",
          "metavar": "ACTION_ID",
          "name": "action_id",
          "required": true,
          "type": "str"
        }
      ],
      "request_model": "AgentActionDeleteRequest",
      "result_model": "AgentActionDeleteResult",
      "runnable_example": "mammoth agent action delete resource-123 --yes"
    },
    "agent action list": {
      "accepted_fields": [],
      "agent_example": "mammoth agent action list",
      "command_id": "agent.action.list",
      "contract_level": "typed",
      "description": "List the changes one agent chat session made.",
      "flags": [],
      "hidden": true,
      "human_example": "mammoth agent action list --help",
      "notes": [],
      "positionals": [],
      "request_model": "AgentActionListRequest",
      "result_model": "AgentActionListResult",
      "runnable_example": "mammoth agent action list"
    },
    "agent chat": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "message",
          "required": true,
          "type": "str"
        },
        {
          "default": null,
          "enum": null,
          "name": "scope",
          "required": true,
          "type": "dict[str, any]"
        },
        {
          "default": null,
          "enum": null,
          "name": "agent_key",
          "required": false,
          "type": "str"
        },
        {
          "default": null,
          "enum": null,
          "name": "session_id",
          "required": false,
          "type": "str"
        },
        {
          "default": null,
          "enum": null,
          "name": "client_context",
          "required": false,
          "type": "dict[str, any]"
        },
        {
          "default": null,
          "enum": null,
          "name": "selection",
          "required": false,
          "type": "dict[str, any]"
        },
        {
          "default": null,
          "enum": null,
          "name": "wait",
          "required": false,
          "type": "float"
        },
        {
          "default": null,
          "enum": null,
          "name": "plan_ref",
          "required": false,
          "type": "dict[str, any]"
        }
      ],
      "agent_example": "mammoth agent chat --input '{\"message\": \"Summarize revenue by region\", \"scope\": {\"type\": \"workspace\", \"workspace_id\": 123}, \"client_context\": {\"project_id\": 456}}'",
      "command_id": "agent.chat",
      "contract_level": "typed",
      "description": "Send a chat message to an agent and wait for its reply.",
      "flags": [],
      "hidden": true,
      "human_example": "mammoth agent chat --help",
      "notes": [],
      "positionals": [],
      "request_model": "AgentChatRequest",
      "result_model": "AgentChatResult",
      "runnable_example": "mammoth agent chat --input '{\"message\": \"Summarize revenue by region\", \"scope\": {\"type\": \"workspace\", \"workspace_id\": 123}, \"client_context\": {\"project_id\": 456}}'"
    },
    "agent message set-request-kind": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "request_kind",
          "required": true,
          "type": "str"
        }
      ],
      "agent_example": "mammoth agent message set-request-kind 'Summarize revenue by region' --input '{\"request_kind\": \"ask\"}'",
      "command_id": "agent.message.set-request-kind",
      "contract_level": "typed",
      "description": "Correct the request kind a reply answered. 'request_kind' comes from '--input'.",
      "flags": [],
      "hidden": true,
      "human_example": "mammoth agent message set-request-kind MESSAGE_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the reply message (from agent session messages).",
          "metavar": "MESSAGE_ID",
          "name": "message_id",
          "required": true,
          "type": "str"
        }
      ],
      "request_model": "AgentMessageSetRequestKindRequest",
      "result_model": "AgentMessageSetRequestKindResult",
      "runnable_example": "mammoth agent message set-request-kind 'Summarize revenue by region' --input '{\"request_kind\": \"ask\"}'"
    },
    "agent plan approve": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "scope",
          "required": false,
          "type": "dict[str, any]"
        },
        {
          "default": null,
          "enum": null,
          "name": "wait",
          "required": false,
          "type": "float"
        }
      ],
      "agent_example": "mammoth agent plan approve resource-123 --yes",
      "command_id": "agent.plan.approve",
      "contract_level": "typed",
      "description": "Approve (Run it) the chat's current plan. Prompt or '--yes' required.",
      "flags": [],
      "hidden": true,
      "human_example": "mammoth agent plan approve SESSION_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the chat session (from agent session list).",
          "metavar": "SESSION_ID",
          "name": "session_id",
          "required": true,
          "type": "str"
        }
      ],
      "request_model": "AgentPlanApproveRequest",
      "result_model": "AgentPlanApproveResult",
      "runnable_example": "mammoth agent plan approve resource-123 --yes"
    },
    "agent plan discard": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "scope",
          "required": false,
          "type": "dict[str, any]"
        },
        {
          "default": null,
          "enum": null,
          "name": "wait",
          "required": false,
          "type": "float"
        }
      ],
      "agent_example": "mammoth agent plan discard resource-123 --yes",
      "command_id": "agent.plan.discard",
      "contract_level": "typed",
      "description": "Discard every proposed step of the chat's current plan. Prompt or '--yes' required.",
      "flags": [],
      "hidden": true,
      "human_example": "mammoth agent plan discard SESSION_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the chat session (from agent session list).",
          "metavar": "SESSION_ID",
          "name": "session_id",
          "required": true,
          "type": "str"
        }
      ],
      "request_model": "AgentPlanDiscardRequest",
      "result_model": "AgentPlanDiscardResult",
      "runnable_example": "mammoth agent plan discard resource-123 --yes"
    },
    "agent plan edit-proposal": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "plan_id",
          "required": true,
          "type": "str"
        },
        {
          "default": null,
          "enum": null,
          "name": "action",
          "required": true,
          "type": "str"
        },
        {
          "default": null,
          "enum": null,
          "name": "key",
          "required": true,
          "type": "str"
        },
        {
          "default": null,
          "enum": null,
          "name": "name",
          "required": false,
          "type": "str"
        }
      ],
      "agent_example": "mammoth agent plan edit-proposal --input '{\"plan_id\": \"resource-123\", \"action\": \"rename\", \"key\": \"Status\"}'",
      "command_id": "agent.plan.edit-proposal",
      "contract_level": "typed",
      "description": "Rename or remove one item of a plan's waiting proposal; the fields come from '--input'.",
      "flags": [],
      "hidden": true,
      "human_example": "mammoth agent plan edit-proposal --help",
      "notes": [],
      "positionals": [],
      "request_model": "AgentPlanEditProposalRequest",
      "result_model": "AgentPlanEditProposalResult",
      "runnable_example": "mammoth agent plan edit-proposal --input '{\"plan_id\": \"resource-123\", \"action\": \"rename\", \"key\": \"Status\"}'"
    },
    "agent plan skip": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "scope",
          "required": false,
          "type": "dict[str, any]"
        },
        {
          "default": null,
          "enum": null,
          "name": "wait",
          "required": false,
          "type": "float"
        }
      ],
      "agent_example": "mammoth agent plan skip resource-123 123",
      "command_id": "agent.plan.skip",
      "contract_level": "typed",
      "description": "Skip one proposed step of the chat's current plan.",
      "flags": [],
      "hidden": true,
      "human_example": "mammoth agent plan skip SESSION_ID N --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the chat session (from agent session list).",
          "metavar": "SESSION_ID",
          "name": "session_id",
          "required": true,
          "type": "str"
        },
        {
          "falls_back_to_field": null,
          "help": "Number of the proposed plan step to skip (from agent session messages).",
          "metavar": "N",
          "name": "n",
          "required": true,
          "type": "int"
        }
      ],
      "request_model": "AgentPlanSkipRequest",
      "result_model": "AgentPlanSkipResult",
      "runnable_example": "mammoth agent plan skip resource-123 123"
    },
    "agent run extend": {
      "accepted_fields": [],
      "agent_example": "mammoth agent run extend resource-123",
      "command_id": "agent.run.extend",
      "contract_level": "typed",
      "description": "Pause, resume, stop or extend one run; the SDK method is the manifest's.",
      "flags": [],
      "hidden": true,
      "human_example": "mammoth agent run extend RUN_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the run (from agent run status or agent run list).",
          "metavar": "RUN_ID",
          "name": "run_id",
          "required": true,
          "type": "str"
        }
      ],
      "request_model": "AgentRunExtendRequest",
      "result_model": "AgentRunExtendResult",
      "runnable_example": "mammoth agent run extend resource-123"
    },
    "agent run instance list": {
      "accepted_fields": [],
      "agent_example": "mammoth agent run instance list resource-123",
      "command_id": "agent.run.instance.list",
      "contract_level": "typed",
      "description": "List the agents of one run: the main agent, its workers and recon helpers.",
      "flags": [],
      "hidden": true,
      "human_example": "mammoth agent run instance list RUN_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the run (from agent run status or agent run list).",
          "metavar": "RUN_ID",
          "name": "run_id",
          "required": true,
          "type": "str"
        }
      ],
      "request_model": "AgentRunInstanceListRequest",
      "result_model": "AgentRunInstanceListResult",
      "runnable_example": "mammoth agent run instance list resource-123"
    },
    "agent run instance messages": {
      "accepted_fields": [],
      "agent_example": "mammoth agent run instance messages resource-123 resource-123",
      "command_id": "agent.run.instance.messages",
      "contract_level": "typed",
      "description": "List the messages one agent of a run sent or received.",
      "flags": [],
      "hidden": true,
      "human_example": "mammoth agent run instance messages RUN_ID INSTANCE_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the run (from agent run status or agent run list).",
          "metavar": "RUN_ID",
          "name": "run_id",
          "required": true,
          "type": "str"
        },
        {
          "falls_back_to_field": null,
          "help": "ID of the agent (from agent run instance list).",
          "metavar": "INSTANCE_ID",
          "name": "instance_id",
          "required": true,
          "type": "str"
        }
      ],
      "request_model": "AgentRunInstanceMessagesRequest",
      "result_model": "AgentRunInstanceMessagesResult",
      "runnable_example": "mammoth agent run instance messages resource-123 resource-123"
    },
    "agent run instance transcript": {
      "accepted_fields": [],
      "agent_example": "mammoth agent run instance transcript resource-123 resource-123",
      "command_id": "agent.run.instance.transcript",
      "contract_level": "typed",
      "description": "Show the model messages of one agent of a run, credentials redacted.",
      "flags": [],
      "hidden": true,
      "human_example": "mammoth agent run instance transcript RUN_ID INSTANCE_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the run (from agent run status or agent run list).",
          "metavar": "RUN_ID",
          "name": "run_id",
          "required": true,
          "type": "str"
        },
        {
          "falls_back_to_field": null,
          "help": "ID of the agent (from agent run instance list).",
          "metavar": "INSTANCE_ID",
          "name": "instance_id",
          "required": true,
          "type": "str"
        }
      ],
      "request_model": "AgentRunInstanceTranscriptRequest",
      "result_model": "AgentRunInstanceTranscriptResult",
      "runnable_example": "mammoth agent run instance transcript resource-123 resource-123"
    },
    "agent run list": {
      "accepted_fields": [],
      "agent_example": "mammoth agent run list",
      "command_id": "agent.run.list",
      "contract_level": "typed",
      "description": "List the runs of one agent chat session.",
      "flags": [],
      "hidden": true,
      "human_example": "mammoth agent run list --help",
      "notes": [],
      "positionals": [],
      "request_model": "AgentRunListRequest",
      "result_model": "AgentRunListResult",
      "runnable_example": "mammoth agent run list"
    },
    "agent run pause": {
      "accepted_fields": [],
      "agent_example": "mammoth agent run pause resource-123",
      "command_id": "agent.run.pause",
      "contract_level": "typed",
      "description": "Pause, resume, stop or extend one run; the SDK method is the manifest's.",
      "flags": [],
      "hidden": true,
      "human_example": "mammoth agent run pause RUN_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the run (from agent run status or agent run list).",
          "metavar": "RUN_ID",
          "name": "run_id",
          "required": true,
          "type": "str"
        }
      ],
      "request_model": "AgentRunPauseRequest",
      "result_model": "AgentRunPauseResult",
      "runnable_example": "mammoth agent run pause resource-123"
    },
    "agent run resume": {
      "accepted_fields": [],
      "agent_example": "mammoth agent run resume resource-123",
      "command_id": "agent.run.resume",
      "contract_level": "typed",
      "description": "Pause, resume, stop or extend one run; the SDK method is the manifest's.",
      "flags": [],
      "hidden": true,
      "human_example": "mammoth agent run resume RUN_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the run (from agent run status or agent run list).",
          "metavar": "RUN_ID",
          "name": "run_id",
          "required": true,
          "type": "str"
        }
      ],
      "request_model": "AgentRunResumeRequest",
      "result_model": "AgentRunResumeResult",
      "runnable_example": "mammoth agent run resume resource-123"
    },
    "agent run retry": {
      "accepted_fields": [],
      "agent_example": "mammoth agent run retry resource-123 --yes",
      "command_id": "agent.run.retry",
      "contract_level": "typed",
      "description": "Retry one failed or stopped run as a new run; it starts paid model work.",
      "flags": [],
      "hidden": true,
      "human_example": "mammoth agent run retry RUN_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the run (from agent run status or agent run list).",
          "metavar": "RUN_ID",
          "name": "run_id",
          "required": true,
          "type": "str"
        }
      ],
      "request_model": "AgentRunRetryRequest",
      "result_model": "AgentRunRetryResult",
      "runnable_example": "mammoth agent run retry resource-123 --yes"
    },
    "agent run status": {
      "accepted_fields": [],
      "agent_example": "mammoth agent run status",
      "command_id": "agent.run.status",
      "contract_level": "typed",
      "description": "Show the current run of one agent chat session.",
      "flags": [],
      "hidden": true,
      "human_example": "mammoth agent run status --help",
      "notes": [],
      "positionals": [],
      "request_model": "AgentRunStatusRequest",
      "result_model": "AgentRunStatusResult",
      "runnable_example": "mammoth agent run status"
    },
    "agent run stop": {
      "accepted_fields": [],
      "agent_example": "mammoth agent run stop resource-123",
      "command_id": "agent.run.stop",
      "contract_level": "typed",
      "description": "Pause, resume, stop or extend one run; the SDK method is the manifest's.",
      "flags": [],
      "hidden": true,
      "human_example": "mammoth agent run stop RUN_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the run (from agent run status or agent run list).",
          "metavar": "RUN_ID",
          "name": "run_id",
          "required": true,
          "type": "str"
        }
      ],
      "request_model": "AgentRunStopRequest",
      "result_model": "AgentRunStopResult",
      "runnable_example": "mammoth agent run stop resource-123"
    },
    "agent run units list": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "step",
          "required": false,
          "type": "int"
        },
        {
          "default": null,
          "enum": null,
          "name": "state",
          "required": false,
          "type": "str"
        },
        {
          "default": null,
          "enum": null,
          "name": "cursor",
          "required": false,
          "type": "int"
        }
      ],
      "agent_example": "mammoth agent run units list resource-123",
      "command_id": "agent.run.units.list",
      "contract_level": "typed",
      "description": "List one page of the units a run's steps do; the filters come from '--input'.",
      "flags": [],
      "hidden": true,
      "human_example": "mammoth agent run units list RUN_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the run (from agent run status or agent run list).",
          "metavar": "RUN_ID",
          "name": "run_id",
          "required": true,
          "type": "str"
        }
      ],
      "request_model": "AgentRunUnitsListRequest",
      "result_model": "AgentRunUnitsListResult",
      "runnable_example": "mammoth agent run units list resource-123"
    },
    "agent run units set": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "step",
          "required": true,
          "type": "int"
        },
        {
          "default": null,
          "enum": null,
          "name": "kind",
          "required": true,
          "type": "str"
        },
        {
          "default": null,
          "enum": null,
          "name": "units",
          "required": true,
          "type": "list[dict[str, any]]"
        }
      ],
      "agent_example": "mammoth agent run units set resource-123 --input '{\"step\": 1, \"kind\": \"dataset\", \"units\": [{\"id\": 12, \"name\": \"Sales\", \"project_id\": 3}]}'",
      "command_id": "agent.run.units.set",
      "contract_level": "typed",
      "description": "Report the objects one plan step of a run will work on, as queued units.",
      "flags": [],
      "hidden": true,
      "human_example": "mammoth agent run units set RUN_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the run (from agent run status or agent run list).",
          "metavar": "RUN_ID",
          "name": "run_id",
          "required": true,
          "type": "str"
        }
      ],
      "request_model": "AgentRunUnitsSetRequest",
      "result_model": "AgentRunUnitsSetResult",
      "runnable_example": "mammoth agent run units set resource-123 --input '{\"step\": 1, \"kind\": \"dataset\", \"units\": [{\"id\": 12, \"name\": \"Sales\", \"project_id\": 3}]}'"
    },
    "agent session delete": {
      "accepted_fields": [],
      "agent_example": "mammoth agent session delete resource-123 --yes",
      "command_id": "agent.session.delete",
      "contract_level": "typed",
      "description": "Delete one agent session by id. Prompt or '--yes' required.",
      "flags": [],
      "hidden": true,
      "human_example": "mammoth agent session delete SESSION_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the session.",
          "metavar": "SESSION_ID",
          "name": "session_id",
          "required": true,
          "type": "str"
        }
      ],
      "request_model": "AgentSessionDeleteRequest",
      "result_model": "AgentSessionDeleteResult",
      "runnable_example": "mammoth agent session delete resource-123 --yes"
    },
    "agent session feedback list": {
      "accepted_fields": [],
      "agent_example": "mammoth agent session feedback list resource-123",
      "command_id": "agent.session.feedback.list",
      "contract_level": "typed",
      "description": "List the ratings the creator gave one chat's replies.",
      "flags": [],
      "hidden": true,
      "human_example": "mammoth agent session feedback list SESSION_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the session.",
          "metavar": "SESSION_ID",
          "name": "session_id",
          "required": true,
          "type": "str"
        }
      ],
      "request_model": "AgentSessionFeedbackListRequest",
      "result_model": "AgentSessionFeedbackListResult",
      "runnable_example": "mammoth agent session feedback list resource-123"
    },
    "agent session list": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "agent_key",
          "required": false,
          "type": "str"
        },
        {
          "default": null,
          "enum": null,
          "name": "limit",
          "required": false,
          "type": "int"
        },
        {
          "default": null,
          "enum": null,
          "name": "offset",
          "required": false,
          "type": "int"
        },
        {
          "default": null,
          "enum": null,
          "name": "include_shared",
          "required": false,
          "type": "bool"
        }
      ],
      "agent_example": "mammoth agent session list",
      "command_id": "agent.session.list",
      "contract_level": "typed",
      "description": "List agent sessions. All fields are optional and come from '--input'.",
      "flags": [],
      "hidden": true,
      "human_example": "mammoth agent session list --help",
      "notes": [],
      "positionals": [],
      "request_model": "AgentSessionListRequest",
      "result_model": "AgentSessionListResult",
      "runnable_example": "mammoth agent session list"
    },
    "agent session messages": {
      "accepted_fields": [],
      "agent_example": "mammoth agent session messages resource-123",
      "command_id": "agent.session.messages",
      "contract_level": "typed",
      "description": "Get the messages of one agent session by id.",
      "flags": [],
      "hidden": true,
      "human_example": "mammoth agent session messages SESSION_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the session.",
          "metavar": "SESSION_ID",
          "name": "session_id",
          "required": true,
          "type": "str"
        }
      ],
      "request_model": "AgentSessionMessagesRequest",
      "result_model": "AgentSessionMessagesResult",
      "runnable_example": "mammoth agent session messages resource-123"
    },
    "agent session set-visibility": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "visibility",
          "required": true,
          "type": "str"
        }
      ],
      "agent_example": "mammoth agent session set-visibility resource-123 --input '{\"visibility\": \"shared\"}'",
      "command_id": "agent.session.set-visibility",
      "contract_level": "typed",
      "description": "Set an agent session's visibility. 'visibility' comes from '--input'.",
      "flags": [],
      "hidden": true,
      "human_example": "mammoth agent session set-visibility SESSION_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the session.",
          "metavar": "SESSION_ID",
          "name": "session_id",
          "required": true,
          "type": "str"
        }
      ],
      "request_model": "AgentSessionSetVisibilityRequest",
      "result_model": "AgentSessionSetVisibilityResult",
      "runnable_example": "mammoth agent session set-visibility resource-123 --input '{\"visibility\": \"shared\"}'"
    },
    "agent turn cancel": {
      "accepted_fields": [],
      "agent_example": "mammoth agent turn cancel resource-123",
      "command_id": "agent.turn.cancel",
      "contract_level": "typed",
      "description": "Stop one turn of an agent chat session (the session's owner only).",
      "flags": [],
      "hidden": true,
      "human_example": "mammoth agent turn cancel TURN_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the turn to stop (from the chat's events or agent session messages).",
          "metavar": "TURN_ID",
          "name": "turn_id",
          "required": true,
          "type": "str"
        }
      ],
      "request_model": "AgentTurnCancelRequest",
      "result_model": "AgentTurnCancelResult",
      "runnable_example": "mammoth agent turn cancel resource-123"
    },
    "agent turn rate": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "rating",
          "required": true,
          "type": "str"
        },
        {
          "default": null,
          "enum": null,
          "name": "comment",
          "required": false,
          "type": "str"
        }
      ],
      "agent_example": "mammoth agent turn rate resource-123 resource-123 --input '{\"rating\": \"up\"}'",
      "command_id": "agent.turn.rate",
      "contract_level": "typed",
      "description": "Rate one agent reply. Only the chat's creator may.",
      "flags": [],
      "hidden": true,
      "human_example": "mammoth agent turn rate SESSION_ID TURN_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the session.",
          "metavar": "SESSION_ID",
          "name": "session_id",
          "required": true,
          "type": "str"
        },
        {
          "falls_back_to_field": null,
          "help": "ID of the turn.",
          "metavar": "TURN_ID",
          "name": "turn_id",
          "required": true,
          "type": "str"
        }
      ],
      "request_model": "AgentTurnRateRequest",
      "result_model": "AgentTurnRateResult",
      "runnable_example": "mammoth agent turn rate resource-123 resource-123 --input '{\"rating\": \"up\"}'"
    },
    "ai condition generate": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "intent",
          "required": true,
          "type": "str"
        },
        {
          "default": null,
          "enum": null,
          "name": "dataview_id",
          "required": false,
          "type": "int"
        },
        {
          "default": null,
          "enum": null,
          "name": "sequence_number",
          "required": false,
          "type": "int"
        }
      ],
      "agent_example": "mammoth ai condition generate 123 --input '{\"intent\": \"Summarize revenue by region\"}'",
      "command_id": "ai.condition.generate",
      "contract_level": "typed",
      "description": "Generate a filter condition from a natural language intent.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth ai condition generate DATASET_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the dataset to generate a condition for.",
          "metavar": "DATASET_ID",
          "name": "dataset_id",
          "required": true,
          "type": "int"
        }
      ],
      "request_model": "AiConditionGenerateRequest",
      "result_model": "AiConditionGenerateResult",
      "runnable_example": "mammoth ai condition generate 123 --input '{\"intent\": \"Summarize revenue by region\"}'"
    },
    "ai expression generate": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "intent",
          "required": true,
          "type": "str"
        },
        {
          "default": null,
          "enum": null,
          "name": "mode",
          "required": true,
          "type": "str"
        },
        {
          "default": null,
          "enum": null,
          "name": "dataview_id",
          "required": false,
          "type": "int"
        },
        {
          "default": null,
          "enum": null,
          "name": "sequence_number",
          "required": false,
          "type": "int"
        }
      ],
      "agent_example": "mammoth ai expression generate 123 --input '{\"intent\": \"Summarize revenue by region\", \"mode\": \"math\"}'",
      "command_id": "ai.expression.generate",
      "contract_level": "typed",
      "description": "Generate a math/metric expression from a natural language intent.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth ai expression generate DATASET_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the dataset to generate an expression for.",
          "metavar": "DATASET_ID",
          "name": "dataset_id",
          "required": true,
          "type": "int"
        }
      ],
      "request_model": "AiExpressionGenerateRequest",
      "result_model": "AiExpressionGenerateResult",
      "runnable_example": "mammoth ai expression generate 123 --input '{\"intent\": \"Summarize revenue by region\", \"mode\": \"math\"}'"
    },
    "ai retention condition": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "mode",
          "required": true,
          "type": "str"
        },
        {
          "default": null,
          "enum": null,
          "name": "intent",
          "required": false,
          "type": "str"
        },
        {
          "default": null,
          "enum": null,
          "name": "condition_sql",
          "required": false,
          "type": "str"
        }
      ],
      "agent_example": "mammoth ai retention condition 123 --input '{\"mode\": \"generate\", \"intent\": \"completed payments older than 90 days\"}' --project 456",
      "command_id": "ai.retention.condition",
      "contract_level": "typed",
      "description": "Generate or test a retention-policy WHERE clause for a dataset.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth ai retention condition DATASET_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the dataset.",
          "metavar": "DATASET_ID",
          "name": "dataset_id",
          "required": true,
          "type": "int"
        }
      ],
      "request_model": "AiRetentionConditionRequest",
      "result_model": "AiRetentionConditionResult",
      "runnable_example": "mammoth ai retention condition 123 --input '{\"mode\": \"generate\", \"intent\": \"completed payments older than 90 days\"}' --project 456"
    },
    "ai sql generate": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "intent",
          "required": false,
          "type": "str"
        },
        {
          "default": 0,
          "enum": null,
          "name": "sequence_number",
          "required": false,
          "type": "int"
        },
        {
          "default": null,
          "enum": null,
          "name": "dataset_id",
          "required": true,
          "type": "int"
        },
        {
          "default": null,
          "enum": null,
          "name": "dataview_id",
          "required": true,
          "type": "int"
        },
        {
          "default": null,
          "enum": null,
          "name": "current_query",
          "required": false,
          "type": "str"
        }
      ],
      "agent_example": "mammoth ai sql generate 'Summarize revenue by region' --input '{\"dataset_id\": 456, \"dataview_id\": 123}'",
      "command_id": "ai.sql.generate",
      "contract_level": "typed",
      "description": "Generate SQL from a natural language intent.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth ai sql generate --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": "intent",
          "help": "Generation intent for the SQL query; or pass it via the 'intent' input field.",
          "metavar": "INTENT",
          "name": "intent",
          "required": false,
          "type": "str"
        }
      ],
      "request_model": "AiSqlGenerateRequest",
      "result_model": "AiSqlGenerateResult",
      "runnable_example": "mammoth ai sql generate 'Summarize revenue by region' --input '{\"dataset_id\": 456, \"dataview_id\": 123}'"
    },
    "ai suggestion list": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "suggestion_type",
          "required": false,
          "type": "str"
        },
        {
          "default": null,
          "enum": null,
          "name": "params",
          "required": false,
          "type": "dict[str, any]"
        },
        {
          "default": null,
          "enum": null,
          "name": "dataset_id",
          "required": false,
          "type": "int"
        },
        {
          "default": null,
          "enum": null,
          "name": "dataview_id",
          "required": false,
          "type": "int"
        }
      ],
      "agent_example": "mammoth ai suggestion list --input '{\"suggestion_type\": \"generate_task\", \"params\": {\"prompt\": \"Filter rows where Price > 100\"}, \"dataset_id\": 456, \"dataview_id\": 123}'",
      "command_id": "ai.suggestion.list",
      "contract_level": "typed",
      "description": "List AI-powered suggestions for the active project.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth ai suggestion list --help",
      "notes": [],
      "positionals": [],
      "request_model": "AiSuggestionListRequest",
      "result_model": "AiSuggestionListResult",
      "runnable_example": "mammoth ai suggestion list --input '{\"suggestion_type\": \"generate_task\", \"params\": {\"prompt\": \"Filter rows where Price > 100\"}, \"dataset_id\": 456, \"dataview_id\": 123}'"
    },
    "annotation comment add": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "body",
          "required": true,
          "type": "str"
        }
      ],
      "agent_example": "mammoth annotation comment add 123 --input '{\"body\": \"Quarterly revenue summary\"}'",
      "command_id": "annotation.comment.add",
      "contract_level": "partially_typed",
      "description": "Add a comment to an annotation. Annotation id is positional; body is required input.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth annotation comment add ANNOTATION_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the annotation.",
          "metavar": "ANNOTATION_ID",
          "name": "annotation_id",
          "required": true,
          "type": "int"
        }
      ],
      "request_model": "AnnotationCommentAddRequest",
      "result_model": "AnnotationCommentAddResult",
      "runnable_example": "mammoth annotation comment add 123 --input '{\"body\": \"Quarterly revenue summary\"}'"
    },
    "annotation create": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "target_type",
          "required": true,
          "type": "str"
        },
        {
          "default": null,
          "enum": null,
          "name": "target_id",
          "required": true,
          "type": "int"
        },
        {
          "default": null,
          "enum": null,
          "name": "body",
          "required": true,
          "type": "str"
        }
      ],
      "agent_example": "mammoth annotation create --input '{\"target_type\": \"dataview\", \"target_id\": 1, \"body\": \"Quarterly revenue summary\"}'",
      "command_id": "annotation.create",
      "contract_level": "partially_typed",
      "description": "Create an annotation on a target. Target and body come from '--input'.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth annotation create --help",
      "notes": [],
      "positionals": [],
      "request_model": "AnnotationCreateRequest",
      "result_model": "AnnotationCreateResult",
      "runnable_example": "mammoth annotation create --input '{\"target_type\": \"dataview\", \"target_id\": 1, \"body\": \"Quarterly revenue summary\"}'"
    },
    "annotation delete": {
      "accepted_fields": [],
      "agent_example": "mammoth annotation delete 123 --yes",
      "command_id": "annotation.delete",
      "contract_level": "typed",
      "description": "Delete one annotation by id. Prompt or '--yes' required.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth annotation delete ANNOTATION_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the annotation.",
          "metavar": "ANNOTATION_ID",
          "name": "annotation_id",
          "required": true,
          "type": "int"
        }
      ],
      "request_model": "AnnotationDeleteRequest",
      "result_model": "AnnotationDeleteResult",
      "runnable_example": "mammoth annotation delete 123 --yes"
    },
    "annotation list": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "target_type",
          "required": false,
          "type": "str"
        },
        {
          "default": null,
          "enum": null,
          "name": "target_id",
          "required": false,
          "type": "int"
        }
      ],
      "agent_example": "mammoth annotation list",
      "command_id": "annotation.list",
      "contract_level": "typed",
      "description": "List annotations in the active project, optionally filtered by target.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth annotation list --help",
      "notes": [],
      "positionals": [],
      "request_model": "AnnotationListRequest",
      "result_model": "AnnotationListResult",
      "runnable_example": "mammoth annotation list"
    },
    "annotation update": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "status",
          "required": true,
          "type": "str"
        }
      ],
      "agent_example": "mammoth annotation update 123 --input '{\"status\": \"resolved\"}'",
      "command_id": "annotation.update",
      "contract_level": "typed",
      "description": "Update an annotation's status. Annotation id is positional; status is required input.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth annotation update ANNOTATION_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the annotation.",
          "metavar": "ANNOTATION_ID",
          "name": "annotation_id",
          "required": true,
          "type": "int"
        }
      ],
      "request_model": "AnnotationUpdateRequest",
      "result_model": "AnnotationUpdateResult",
      "runnable_example": "mammoth annotation update 123 --input '{\"status\": \"resolved\"}'"
    },
    "auth connected-apps list": {
      "accepted_fields": [],
      "agent_example": "mammoth auth connected-apps list",
      "command_id": "auth.connected-apps.list",
      "contract_level": "typed",
      "description": "List the apps connected to your account; each id is a grant id.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth auth connected-apps list --help",
      "notes": [],
      "positionals": [],
      "request_model": "AuthConnectedAppsListRequest",
      "result_model": "AuthConnectedAppsListResult",
      "runnable_example": "mammoth auth connected-apps list"
    },
    "auth connected-apps revoke": {
      "accepted_fields": [],
      "agent_example": "mammoth auth connected-apps revoke 123 --yes --confirm 123",
      "command_id": "auth.connected-apps.revoke",
      "contract_level": "typed",
      "description": "Disconnect one connected app from your account. Grant id is positional.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth auth connected-apps revoke OAUTH_GRANT_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the oauth grant.",
          "metavar": "OAUTH_GRANT_ID",
          "name": "oauth_grant_id",
          "required": true,
          "type": "int"
        }
      ],
      "request_model": "AuthConnectedAppsRevokeRequest",
      "result_model": "AuthConnectedAppsRevokeResult",
      "runnable_example": "mammoth auth connected-apps revoke 123 --yes --confirm 123"
    },
    "auth login": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "api_token",
          "required": true,
          "type": "str"
        },
        {
          "default": null,
          "enum": null,
          "name": "server_prefix",
          "required": false,
          "type": "str"
        }
      ],
      "agent_example": "mammoth auth login",
      "command_id": "auth.login",
      "contract_level": "typed",
      "description": "Log in and store one profile's credentials.",
      "flags": [
        {
          "choices": null,
          "default": null,
          "help": "Server prefix (one DNS label). Default 'app'.",
          "is_flag": false,
          "opts": [
            "--server-prefix"
          ],
          "required": false,
          "secondary_opts": [],
          "type": "str"
        },
        {
          "choices": null,
          "default": "auto",
          "help": "Credential storage backend.",
          "is_flag": false,
          "opts": [
            "--storage"
          ],
          "required": false,
          "secondary_opts": [],
          "type": "str"
        },
        {
          "choices": null,
          "default": null,
          "help": "How to sign in: a browser (oauth), a code typed on another device (device) or a pasted API token (token).",
          "is_flag": false,
          "opts": [
            "--method"
          ],
          "required": false,
          "secondary_opts": [],
          "type": "str"
        },
        {
          "choices": null,
          "default": false,
          "help": "Print the sign-in URL instead of opening a browser.",
          "is_flag": true,
          "opts": [
            "--no-browser"
          ],
          "required": false,
          "secondary_opts": [],
          "type": "boolean"
        },
        {
          "choices": null,
          "default": false,
          "help": "Sign in with a device code, for a machine with no browser: the CLI prints a short code and a URL, you approve on any other device, and the CLI polls until you do. Same as --method device.",
          "is_flag": true,
          "opts": [
            "--device"
          ],
          "required": false,
          "secondary_opts": [],
          "type": "boolean"
        }
      ],
      "hidden": false,
      "human_example": "mammoth auth login --help",
      "notes": [
        "Input fields (--method token only; --device and --method oauth take none): api_token* (str), server_prefix (str)"
      ],
      "positionals": [],
      "request_model": "AuthLoginRequest",
      "result_model": "AuthLoginResult",
      "runnable_example": null
    },
    "auth logout": {
      "accepted_fields": [],
      "agent_example": "mammoth auth logout",
      "command_id": "auth.logout",
      "contract_level": "typed",
      "description": "Remove one profile's (or every profile's) stored credentials.",
      "flags": [
        {
          "choices": null,
          "default": false,
          "help": "Remove every profile.",
          "is_flag": true,
          "opts": [
            "--all"
          ],
          "required": false,
          "secondary_opts": [],
          "type": "boolean"
        }
      ],
      "hidden": false,
      "human_example": "mammoth auth logout --help",
      "notes": [],
      "positionals": [],
      "request_model": "AuthLogoutRequest",
      "result_model": "AuthLogoutResult",
      "runnable_example": "mammoth auth logout"
    },
    "auth status": {
      "accepted_fields": [],
      "agent_example": "mammoth auth status",
      "command_id": "auth.status",
      "contract_level": "typed",
      "description": "Report local authentication state for one profile.",
      "flags": [
        {
          "choices": null,
          "default": false,
          "help": "Perform a live connection check.",
          "is_flag": true,
          "opts": [
            "--check"
          ],
          "required": false,
          "secondary_opts": [],
          "type": "boolean"
        }
      ],
      "hidden": false,
      "human_example": "mammoth auth status --help",
      "notes": [],
      "positionals": [],
      "request_model": "AuthStatusRequest",
      "result_model": "AuthStatusResult",
      "runnable_example": "mammoth auth status"
    },
    "automation capabilities": {
      "accepted_fields": [],
      "agent_example": "mammoth automation capabilities",
      "command_id": "automation.capabilities",
      "contract_level": "typed",
      "description": "List every task, trigger, option and file format automations support.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth automation capabilities --help",
      "notes": [],
      "positionals": [],
      "request_model": "AutomationCapabilitiesRequest",
      "result_model": "AutomationCapabilitiesResult",
      "runnable_example": "mammoth automation capabilities"
    },
    "automation create": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "name",
          "required": false,
          "type": "str"
        },
        {
          "default": null,
          "enum": null,
          "name": "description",
          "required": true,
          "type": "str"
        },
        {
          "default": null,
          "enum": null,
          "name": "tasks",
          "required": true,
          "type": "list[AutomationTaskSpec]"
        },
        {
          "default": null,
          "enum": null,
          "name": "conditions",
          "required": false,
          "type": "list[AutomationConditionSpec]"
        },
        {
          "default": "and",
          "enum": [
            "and",
            "or"
          ],
          "name": "condition_mode",
          "required": false,
          "type": "AutomationConditionMode"
        }
      ],
      "agent_example": "mammoth automation create 'Revenue report' --input '{\"description\": \"Quarterly revenue summary\", \"tasks\": [{\"task_type\": \"run_data_retrieval\", \"details\": {\"ds_details\": [{\"ds_id\": 42}]}}]}' --yes",
      "command_id": "automation.create",
      "contract_level": "typed",
      "description": "Create an automation. Name comes from a positional or the 'name' field.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth automation create --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": "name",
          "help": "Name of the new automation; or pass it via the 'name' input field.",
          "metavar": "NAME",
          "name": "name",
          "required": false,
          "type": "str"
        }
      ],
      "request_model": "AutomationCreateRequest",
      "result_model": "AutomationCreateResult",
      "runnable_example": "mammoth automation create 'Revenue report' --input '{\"description\": \"Quarterly revenue summary\", \"tasks\": [{\"task_type\": \"run_data_retrieval\", \"details\": {\"ds_details\": [{\"ds_id\": 42}]}}]}' --yes"
    },
    "automation delete": {
      "accepted_fields": [],
      "agent_example": "mammoth automation delete 123 --yes",
      "command_id": "automation.delete",
      "contract_level": "typed",
      "description": "Permanently delete one automation by id. Prompt or '--yes' required.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth automation delete AUTOMATION_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the automation.",
          "metavar": "AUTOMATION_ID",
          "name": "automation_id",
          "required": true,
          "type": "int"
        }
      ],
      "request_model": "AutomationDeleteRequest",
      "result_model": "AutomationDeleteResult",
      "runnable_example": "mammoth automation delete 123 --yes"
    },
    "automation folders": {
      "accepted_fields": [],
      "agent_example": "mammoth automation folders",
      "command_id": "automation.folders",
      "contract_level": "typed",
      "description": "List every folder a consolidation automation watches.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth automation folders --help",
      "notes": [],
      "positionals": [],
      "request_model": "AutomationFoldersRequest",
      "result_model": "AutomationFoldersResult",
      "runnable_example": "mammoth automation folders"
    },
    "automation get": {
      "accepted_fields": [],
      "agent_example": "mammoth automation get 123",
      "command_id": "automation.get",
      "contract_level": "typed",
      "description": "Get one automation by id. Automation id is positional.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth automation get AUTOMATION_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the automation.",
          "metavar": "AUTOMATION_ID",
          "name": "automation_id",
          "required": true,
          "type": "int"
        }
      ],
      "request_model": "AutomationGetRequest",
      "result_model": "AutomationGetResult",
      "runnable_example": "mammoth automation get 123"
    },
    "automation list": {
      "accepted_fields": [],
      "agent_example": "mammoth automation list",
      "command_id": "automation.list",
      "contract_level": "typed",
      "description": "List all automations in the active workspace/project.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth automation list --help",
      "notes": [],
      "positionals": [],
      "request_model": "AutomationListRequest",
      "result_model": "AutomationListResult",
      "runnable_example": "mammoth automation list"
    },
    "automation restore": {
      "accepted_fields": [],
      "agent_example": "mammoth automation restore 123",
      "command_id": "automation.restore",
      "contract_level": "typed",
      "description": "Restore one trashed automation. Automation id is positional.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth automation restore AUTOMATION_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the automation.",
          "metavar": "AUTOMATION_ID",
          "name": "automation_id",
          "required": true,
          "type": "int"
        }
      ],
      "request_model": "AutomationRestoreRequest",
      "result_model": "AutomationRestoreResult",
      "runnable_example": "mammoth automation restore 123"
    },
    "automation route order": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "automation_ids",
          "required": true,
          "type": "list[int]"
        }
      ],
      "agent_example": "mammoth automation route order 123 --input '{\"automation_ids\": [12, 11]}'",
      "command_id": "automation.route.order",
      "contract_level": "typed",
      "description": "Set the order a file meets a watched folder's own rules in.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth automation route order FOLDER_RESOURCE_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the folder resource.",
          "metavar": "FOLDER_RESOURCE_ID",
          "name": "folder_resource_id",
          "required": true,
          "type": "int"
        }
      ],
      "request_model": "AutomationRouteOrderRequest",
      "result_model": "AutomationRouteOrderResult",
      "runnable_example": "mammoth automation route order 123 --input '{\"automation_ids\": [12, 11]}'"
    },
    "automation route preview": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "names",
          "required": false,
          "type": "list[str]"
        },
        {
          "default": null,
          "enum": null,
          "name": "draft",
          "required": false,
          "type": "dict[str, any]"
        }
      ],
      "agent_example": "mammoth automation route preview 123 --input '{\"names\": [\"sales_2026-10.csv\"]}'",
      "command_id": "automation.route.preview",
      "contract_level": "typed",
      "description": "Show where files dropped in a watched folder would go.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth automation route preview FOLDER_RESOURCE_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the folder resource.",
          "metavar": "FOLDER_RESOURCE_ID",
          "name": "folder_resource_id",
          "required": true,
          "type": "int"
        }
      ],
      "request_model": "AutomationRoutePreviewRequest",
      "result_model": "AutomationRoutePreviewResult",
      "runnable_example": "mammoth automation route preview 123 --input '{\"names\": [\"sales_2026-10.csv\"]}'"
    },
    "automation run-file add-anyway": {
      "accepted_fields": [],
      "agent_example": "mammoth automation run-file add-anyway 123 --yes",
      "command_id": "automation.run-file.add-anyway",
      "contract_level": "typed",
      "description": "Append a file a run skipped as a duplicate to its destination after all.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth automation run-file add-anyway RUN_FILE_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the run file.",
          "metavar": "RUN_FILE_ID",
          "name": "run_file_id",
          "required": true,
          "type": "int"
        }
      ],
      "request_model": "AutomationRunFileAddAnywayRequest",
      "result_model": "AutomationRunFileAddAnywayResult",
      "runnable_example": "mammoth automation run-file add-anyway 123 --yes"
    },
    "automation runs": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "limit",
          "required": false,
          "type": "int"
        }
      ],
      "agent_example": "mammoth automation runs 123 --input '{\"limit\": 10}'",
      "command_id": "automation.runs",
      "contract_level": "typed",
      "description": "List an automation's latest runs, newest first, each with its files.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth automation runs AUTOMATION_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the automation.",
          "metavar": "AUTOMATION_ID",
          "name": "automation_id",
          "required": true,
          "type": "int"
        }
      ],
      "request_model": "AutomationRunsRequest",
      "result_model": "AutomationRunsResult",
      "runnable_example": "mammoth automation runs 123 --input '{\"limit\": 10}'"
    },
    "automation trash": {
      "accepted_fields": [],
      "agent_example": "mammoth automation trash 123",
      "command_id": "automation.trash",
      "contract_level": "typed",
      "description": "Move one automation to trash (reversible). Automation id is positional.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth automation trash AUTOMATION_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the automation.",
          "metavar": "AUTOMATION_ID",
          "name": "automation_id",
          "required": true,
          "type": "int"
        }
      ],
      "request_model": "AutomationTrashRequest",
      "result_model": "AutomationTrashResult",
      "runnable_example": "mammoth automation trash 123"
    },
    "automation update": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "patch",
          "required": true,
          "type": "list[AutomationPatchItem]"
        },
        {
          "default": null,
          "enum": null,
          "name": "add_datasets",
          "required": false,
          "type": "list[int]"
        },
        {
          "default": null,
          "enum": null,
          "name": "remove_datasets",
          "required": false,
          "type": "list[int]"
        }
      ],
      "agent_example": "mammoth automation update 123 --input '{\"patch\": [{\"op\": \"replace\", \"path\": \"details\", \"value\": {\"name\": \"Daily revenue export\"}}]}' --yes",
      "command_id": "automation.update",
      "contract_level": "typed",
      "description": "Apply JSON-patch operations to one automation, or add or remove its datasets.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth automation update AUTOMATION_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the automation.",
          "metavar": "AUTOMATION_ID",
          "name": "automation_id",
          "required": true,
          "type": "int"
        }
      ],
      "request_model": "AutomationUpdateRequest",
      "result_model": "AutomationUpdateResult",
      "runnable_example": "mammoth automation update 123 --input '{\"patch\": [{\"op\": \"replace\", \"path\": \"details\", \"value\": {\"name\": \"Daily revenue export\"}}]}' --yes"
    },
    "batch bulk-delete": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "ids",
          "required": false,
          "type": "list[int] | str | None"
        }
      ],
      "agent_example": "mammoth batch bulk-delete 123 --input '{\"ids\": [11, 12]}' --yes",
      "command_id": "batch.bulk-delete",
      "contract_level": "typed",
      "description": "Bulk-delete the named batches of a dataset. Prompt or '--yes' required.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth batch bulk-delete DATASET_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the dataset.",
          "metavar": "DATASET_ID",
          "name": "dataset_id",
          "required": true,
          "type": "int"
        }
      ],
      "request_model": "BatchBulkDeleteRequest",
      "result_model": "BatchBulkDeleteResult",
      "runnable_example": "mammoth batch bulk-delete 123 --input '{\"ids\": [11, 12]}' --yes"
    },
    "batch create": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "mapping",
          "required": true,
          "type": "dict[str, str] | list[dict[str, typing.Any]]"
        },
        {
          "default": null,
          "enum": null,
          "name": "new_ds_params",
          "required": false,
          "type": "dict[str, any]"
        },
        {
          "default": null,
          "enum": null,
          "name": "is_validation_required",
          "required": false,
          "type": "bool"
        },
        {
          "default": null,
          "enum": null,
          "name": "change_map",
          "required": false,
          "type": "dict[str, any]"
        },
        {
          "default": false,
          "enum": null,
          "name": "delete_source_ds",
          "required": false,
          "type": "bool"
        },
        {
          "default": "TEXT",
          "enum": null,
          "name": "expected_destination_c_type",
          "required": false,
          "type": "str"
        },
        {
          "default": null,
          "enum": null,
          "name": "blank_columns",
          "required": false,
          "type": "list[str]"
        }
      ],
      "agent_example": "mammoth batch create 123 456 --input '{\"mapping\": {\"column_1\": \"column_1\"}}'",
      "command_id": "batch.create",
      "contract_level": "typed",
      "description": "Create a batch for a dataset. 'source_id' and 'mapping' are required.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth batch create DATASET_ID SOURCE_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the dataset.",
          "metavar": "DATASET_ID",
          "name": "dataset_id",
          "required": true,
          "type": "int"
        },
        {
          "falls_back_to_field": null,
          "help": "ID of the source.",
          "metavar": "SOURCE_ID",
          "name": "source_id",
          "required": true,
          "type": "int"
        }
      ],
      "request_model": "BatchCreateRequest",
      "result_model": "BatchCreateResult",
      "runnable_example": "mammoth batch create 123 456 --input '{\"mapping\": {\"column_1\": \"column_1\"}}'"
    },
    "batch create-spec": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "source_id",
          "required": false,
          "type": "int"
        },
        {
          "default": null,
          "enum": null,
          "name": "mapping",
          "required": false,
          "type": "list[mammoth.models.batches.ColumnNameMapping] | list[mammoth.models.batches.ColumnIdMapping] | None"
        },
        {
          "default": false,
          "enum": null,
          "name": "validate_only",
          "required": false,
          "type": "bool"
        },
        {
          "default": false,
          "enum": null,
          "name": "delete_source_ds",
          "required": false,
          "type": "bool"
        },
        {
          "default": null,
          "enum": null,
          "name": "new_ds_details",
          "required": false,
          "type": "NewDsDetails"
        },
        {
          "default": null,
          "enum": null,
          "name": "file_id",
          "required": false,
          "type": "int"
        },
        {
          "default": null,
          "enum": null,
          "name": "projected_source_schema",
          "required": false,
          "type": "list[ProjectedSourceColumn]"
        }
      ],
      "agent_example": "mammoth batch create-spec 123 --input '{\"file_id\": 94}'",
      "command_id": "batch.create-spec",
      "contract_level": "typed",
      "description": "Create a batch using the release 'BatchesPostRequest' envelope.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth batch create-spec DATASET_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the dataset.",
          "metavar": "DATASET_ID",
          "name": "dataset_id",
          "required": true,
          "type": "int"
        }
      ],
      "request_model": "BatchCreateSpecRequest",
      "result_model": "BatchCreateSpecResult",
      "runnable_example": "mammoth batch create-spec 123 --input '{\"file_id\": 94}'"
    },
    "batch delete": {
      "accepted_fields": [],
      "agent_example": "mammoth batch delete 123 456 --yes",
      "command_id": "batch.delete",
      "contract_level": "typed",
      "description": "Delete one batch by id. Prompt or '--yes' required.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth batch delete DATASET_ID BATCH_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the dataset.",
          "metavar": "DATASET_ID",
          "name": "dataset_id",
          "required": true,
          "type": "int"
        },
        {
          "falls_back_to_field": null,
          "help": "ID of the batch.",
          "metavar": "BATCH_ID",
          "name": "batch_id",
          "required": true,
          "type": "int"
        }
      ],
      "request_model": "BatchDeleteRequest",
      "result_model": "BatchDeleteResult",
      "runnable_example": "mammoth batch delete 123 456 --yes"
    },
    "batch get": {
      "accepted_fields": [],
      "agent_example": "mammoth batch get 123 456",
      "command_id": "batch.get",
      "contract_level": "typed",
      "description": "Get one batch by id for a dataset in the active project.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth batch get DATASET_ID BATCH_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the dataset.",
          "metavar": "DATASET_ID",
          "name": "dataset_id",
          "required": true,
          "type": "int"
        },
        {
          "falls_back_to_field": null,
          "help": "ID of the batch.",
          "metavar": "BATCH_ID",
          "name": "batch_id",
          "required": true,
          "type": "int"
        }
      ],
      "request_model": "BatchGetRequest",
      "result_model": "BatchGetResult",
      "runnable_example": "mammoth batch get 123 456"
    },
    "batch list": {
      "accepted_fields": [
        {
          "default": 50,
          "enum": null,
          "name": "limit",
          "required": false,
          "type": "int"
        },
        {
          "default": 0,
          "enum": null,
          "name": "offset",
          "required": false,
          "type": "int"
        }
      ],
      "agent_example": "mammoth batch list 123",
      "command_id": "batch.list",
      "contract_level": "typed",
      "description": "List batches for a dataset in the active project.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth batch list DATASET_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the dataset.",
          "metavar": "DATASET_ID",
          "name": "dataset_id",
          "required": true,
          "type": "int"
        }
      ],
      "request_model": "BatchListRequest",
      "result_model": "BatchListResult",
      "runnable_example": "mammoth batch list 123"
    },
    "batch update": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "patch",
          "required": true,
          "type": "dict[str, typing.Any] | list[dict[str, typing.Any]]"
        }
      ],
      "agent_example": "mammoth batch update 123 --input '{\"patch\": {\"name\": \"Status\"}}'",
      "command_id": "batch.update",
      "contract_level": "typed",
      "description": "Apply patch operations to a dataset's batches. 'patch' is required.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth batch update DATASET_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the dataset.",
          "metavar": "DATASET_ID",
          "name": "dataset_id",
          "required": true,
          "type": "int"
        }
      ],
      "request_model": "BatchUpdateRequest",
      "result_model": "BatchUpdateResult",
      "runnable_example": "mammoth batch update 123 --input '{\"patch\": {\"name\": \"Status\"}}'"
    },
    "billing chargebee-plan": {
      "accepted_fields": [],
      "agent_example": "mammoth billing chargebee-plan",
      "command_id": "billing.chargebee-plan",
      "contract_level": "typed",
      "description": "Get the workspace's Chargebee plan details.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth billing chargebee-plan --help",
      "notes": [],
      "positionals": [],
      "request_model": "BillingChargebeePlanRequest",
      "result_model": "BillingChargebeePlanResult",
      "runnable_example": "mammoth billing chargebee-plan"
    },
    "billing hosted-page": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "object_type",
          "required": false,
          "type": "str"
        },
        {
          "default": null,
          "enum": null,
          "name": "plan_id",
          "required": false,
          "type": "str"
        }
      ],
      "agent_example": "mammoth billing hosted-page change_plan --yes --confirm 123",
      "command_id": "billing.hosted-page",
      "contract_level": "typed",
      "description": "Get a Chargebee hosted-page URL. Object type is positional or an input field.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth billing hosted-page --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": "object_type",
          "help": "Type of hosted page to generate; or pass it via the 'object_type' input field.",
          "metavar": "OBJECT_TYPE",
          "name": "object_type",
          "required": false,
          "type": "str"
        }
      ],
      "request_model": "BillingHostedPageRequest",
      "result_model": "BillingHostedPageResult",
      "runnable_example": "mammoth billing hosted-page change_plan --yes --confirm 123"
    },
    "billing invoice charge": {
      "accepted_fields": [],
      "agent_example": "mammoth billing invoice charge --yes",
      "command_id": "billing.invoice.charge",
      "contract_level": "typed",
      "description": "Charge the workspace's outstanding invoice. '--yes --confirm WS' required.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth billing invoice charge --help",
      "notes": [],
      "positionals": [],
      "request_model": "BillingInvoiceChargeRequest",
      "result_model": "BillingInvoiceChargeResult",
      "runnable_example": "mammoth billing invoice charge --yes"
    },
    "billing invoice list": {
      "accepted_fields": [],
      "agent_example": "mammoth billing invoice list",
      "command_id": "billing.invoice.list",
      "contract_level": "typed",
      "description": "List invoices for the workspace (Stripe billing history).",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth billing invoice list --help",
      "notes": [],
      "positionals": [],
      "request_model": "BillingInvoiceListRequest",
      "result_model": "BillingInvoiceListResult",
      "runnable_example": "mammoth billing invoice list"
    },
    "billing stripe cancel": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "body",
          "required": false,
          "type": "dict[str, any]"
        }
      ],
      "agent_example": "mammoth billing stripe cancel --yes",
      "command_id": "billing.stripe.cancel",
      "contract_level": "partially_typed",
      "description": "Cancel the workspace's Stripe subscription. '--yes --confirm WS' required.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth billing stripe cancel --help",
      "notes": [],
      "positionals": [],
      "request_model": "BillingStripeCancelRequest",
      "result_model": "BillingStripeCancelResult",
      "runnable_example": "mammoth billing stripe cancel --yes"
    },
    "billing stripe checkout-url": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "success_url",
          "required": true,
          "type": "str"
        },
        {
          "default": null,
          "enum": null,
          "name": "cancel_url",
          "required": true,
          "type": "str"
        },
        {
          "default": null,
          "enum": null,
          "name": "add_payment_method_only",
          "required": false,
          "type": "bool"
        }
      ],
      "agent_example": "mammoth billing stripe checkout-url --input '{\"success_url\": \"https://example.com/data.csv\", \"cancel_url\": \"https://example.com/data.csv\"}' --yes",
      "command_id": "billing.stripe.checkout-url",
      "contract_level": "typed",
      "description": "Get a Stripe Checkout URL. 'success_url'/'cancel_url' come from '--input'.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth billing stripe checkout-url --help",
      "notes": [],
      "positionals": [],
      "request_model": "BillingStripeCheckoutUrlRequest",
      "result_model": "BillingStripeCheckoutUrlResult",
      "runnable_example": "mammoth billing stripe checkout-url --input '{\"success_url\": \"https://example.com/data.csv\", \"cancel_url\": \"https://example.com/data.csv\"}' --yes"
    },
    "billing stripe create": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "billing_interval",
          "required": false,
          "type": "str"
        }
      ],
      "agent_example": "mammoth billing stripe create 123 --yes --confirm 456",
      "command_id": "billing.stripe.create",
      "contract_level": "typed",
      "description": "Create a Stripe subscription. Plan id is positional; interval is optional.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth billing stripe create PLAN_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the plan.",
          "metavar": "PLAN_ID",
          "name": "plan_id",
          "required": true,
          "type": "int"
        }
      ],
      "request_model": "BillingStripeCreateRequest",
      "result_model": "BillingStripeCreateResult",
      "runnable_example": "mammoth billing stripe create 123 --yes --confirm 456"
    },
    "billing stripe end-trial": {
      "accepted_fields": [],
      "agent_example": "mammoth billing stripe end-trial --yes",
      "command_id": "billing.stripe.end-trial",
      "contract_level": "typed",
      "description": "End the workspace's Stripe trial. '--yes --confirm WS' required.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth billing stripe end-trial --help",
      "notes": [],
      "positionals": [],
      "request_model": "BillingStripeEndTrialRequest",
      "result_model": "BillingStripeEndTrialResult",
      "runnable_example": "mammoth billing stripe end-trial --yes"
    },
    "billing stripe get": {
      "accepted_fields": [],
      "agent_example": "mammoth billing stripe get",
      "command_id": "billing.stripe.get",
      "contract_level": "typed",
      "description": "Get the workspace's Stripe billing state.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth billing stripe get --help",
      "notes": [],
      "positionals": [],
      "request_model": "BillingStripeGetRequest",
      "result_model": "BillingStripeGetResult",
      "runnable_example": "mammoth billing stripe get"
    },
    "billing stripe held-change cancel": {
      "accepted_fields": [],
      "agent_example": "mammoth billing stripe held-change cancel --yes --confirm 123",
      "command_id": "billing.stripe.held-change.cancel",
      "contract_level": "typed",
      "description": "Cancel the held plan change. '--yes --confirm WS' required.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth billing stripe held-change cancel --help",
      "notes": [],
      "positionals": [],
      "request_model": "BillingStripeHeldChangeCancelRequest",
      "result_model": "BillingStripeHeldChangeCancelResult",
      "runnable_example": "mammoth billing stripe held-change cancel --yes --confirm 123"
    },
    "billing stripe held-change get": {
      "accepted_fields": [],
      "agent_example": "mammoth billing stripe held-change get",
      "command_id": "billing.stripe.held-change.get",
      "contract_level": "typed",
      "description": "Read the plan change the workspace is holding (what is held and why).",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth billing stripe held-change get --help",
      "notes": [],
      "positionals": [],
      "request_model": "BillingStripeHeldChangeGetRequest",
      "result_model": "BillingStripeHeldChangeGetResult",
      "runnable_example": "mammoth billing stripe held-change get"
    },
    "billing stripe history": {
      "accepted_fields": [],
      "agent_example": "mammoth billing stripe history",
      "command_id": "billing.stripe.history",
      "contract_level": "typed",
      "description": "Get the workspace's Stripe billing history.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth billing stripe history --help",
      "notes": [],
      "positionals": [],
      "request_model": "BillingStripeHistoryRequest",
      "result_model": "BillingStripeHistoryResult",
      "runnable_example": "mammoth billing stripe history"
    },
    "billing stripe payment-method delete": {
      "accepted_fields": [],
      "agent_example": "mammoth billing stripe payment-method delete resource-123 --yes --confirm resource-123",
      "command_id": "billing.stripe.payment-method.delete",
      "contract_level": "typed",
      "description": "Delete a Stripe payment method. '--yes --confirm PAYMENT_METHOD_ID' required.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth billing stripe payment-method delete PAYMENT_METHOD_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the payment method.",
          "metavar": "PAYMENT_METHOD_ID",
          "name": "payment_method_id",
          "required": true,
          "type": "str"
        }
      ],
      "request_model": "BillingStripePaymentMethodDeleteRequest",
      "result_model": "BillingStripePaymentMethodDeleteResult",
      "runnable_example": "mammoth billing stripe payment-method delete resource-123 --yes --confirm resource-123"
    },
    "billing stripe payment-method list": {
      "accepted_fields": [],
      "agent_example": "mammoth billing stripe payment-method list",
      "command_id": "billing.stripe.payment-method.list",
      "contract_level": "typed",
      "description": "List the workspace's Stripe payment methods.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth billing stripe payment-method list --help",
      "notes": [],
      "positionals": [],
      "request_model": "BillingStripePaymentMethodListRequest",
      "result_model": "BillingStripePaymentMethodListResult",
      "runnable_example": "mammoth billing stripe payment-method list"
    },
    "billing stripe payment-method set-default": {
      "accepted_fields": [],
      "agent_example": "mammoth billing stripe payment-method set-default resource-123 --yes --confirm resource-123",
      "command_id": "billing.stripe.payment-method.set-default",
      "contract_level": "typed",
      "description": "Set a Stripe payment method as default. '--yes --confirm PAYMENT_METHOD_ID' required.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth billing stripe payment-method set-default PAYMENT_METHOD_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the payment method.",
          "metavar": "PAYMENT_METHOD_ID",
          "name": "payment_method_id",
          "required": true,
          "type": "str"
        }
      ],
      "request_model": "BillingStripePaymentMethodSetDefaultRequest",
      "result_model": "BillingStripePaymentMethodSetDefaultResult",
      "runnable_example": "mammoth billing stripe payment-method set-default resource-123 --yes --confirm resource-123"
    },
    "billing stripe portal-url": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "return_url",
          "required": false,
          "type": "str"
        }
      ],
      "agent_example": "mammoth billing stripe portal-url --yes",
      "command_id": "billing.stripe.portal-url",
      "contract_level": "typed",
      "description": "Get a Stripe billing portal URL. '--yes --confirm WS' required.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth billing stripe portal-url --help",
      "notes": [],
      "positionals": [],
      "request_model": "BillingStripePortalUrlRequest",
      "result_model": "BillingStripePortalUrlResult",
      "runnable_example": "mammoth billing stripe portal-url --yes"
    },
    "billing stripe preview-invoice": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "connector_ids",
          "required": false,
          "type": "str"
        },
        {
          "default": null,
          "enum": null,
          "name": "additional_storage_gb",
          "required": false,
          "type": "int"
        },
        {
          "default": null,
          "enum": null,
          "name": "additional_user_seats",
          "required": false,
          "type": "int"
        }
      ],
      "agent_example": "mammoth billing stripe preview-invoice",
      "command_id": "billing.stripe.preview-invoice",
      "contract_level": "typed",
      "description": "Preview the workspace's next Stripe invoice.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth billing stripe preview-invoice --help",
      "notes": [],
      "positionals": [],
      "request_model": "BillingStripePreviewInvoiceRequest",
      "result_model": "BillingStripePreviewInvoiceResult",
      "runnable_example": "mammoth billing stripe preview-invoice"
    },
    "billing stripe recheck-limits": {
      "accepted_fields": [],
      "agent_example": "mammoth billing stripe recheck-limits",
      "command_id": "billing.stripe.recheck-limits",
      "contract_level": "typed",
      "description": "Recompute the workspace's plan-limit lock and return the report.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth billing stripe recheck-limits --help",
      "notes": [],
      "positionals": [],
      "request_model": "BillingStripeRecheckLimitsRequest",
      "result_model": "BillingStripeRecheckLimitsResult",
      "runnable_example": "mammoth billing stripe recheck-limits"
    },
    "billing stripe resume": {
      "accepted_fields": [],
      "agent_example": "mammoth billing stripe resume --yes",
      "command_id": "billing.stripe.resume",
      "contract_level": "typed",
      "description": "Cancel a scheduled downgrade and keep the paid plan. '--yes --confirm WS' required.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth billing stripe resume --help",
      "notes": [],
      "positionals": [],
      "request_model": "BillingStripeResumeRequest",
      "result_model": "BillingStripeResumeResult",
      "runnable_example": "mammoth billing stripe resume --yes"
    },
    "billing stripe retry-payment": {
      "accepted_fields": [],
      "agent_example": "mammoth billing stripe retry-payment --yes",
      "command_id": "billing.stripe.retry-payment",
      "contract_level": "typed",
      "description": "Retry the workspace's failed Stripe payment. '--yes --confirm WS' required.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth billing stripe retry-payment --help",
      "notes": [],
      "positionals": [],
      "request_model": "BillingStripeRetryPaymentRequest",
      "result_model": "BillingStripeRetryPaymentResult",
      "runnable_example": "mammoth billing stripe retry-payment --yes"
    },
    "billing stripe status": {
      "accepted_fields": [],
      "agent_example": "mammoth billing stripe status",
      "command_id": "billing.stripe.status",
      "contract_level": "typed",
      "description": "Get the workspace's Stripe subscription status.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth billing stripe status --help",
      "notes": [],
      "positionals": [],
      "request_model": "BillingStripeStatusRequest",
      "result_model": "BillingStripeStatusResult",
      "runnable_example": "mammoth billing stripe status"
    },
    "billing stripe storage set": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "storage_gb",
          "required": true,
          "type": "int"
        }
      ],
      "agent_example": "mammoth billing stripe storage set --input '{\"storage_gb\": 1}' --yes",
      "command_id": "billing.stripe.storage.set",
      "contract_level": "typed",
      "description": "Set the TOTAL purchased storage. 'storage_gb' from '--input'; '--yes --confirm WS'.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth billing stripe storage set --help",
      "notes": [],
      "positionals": [],
      "request_model": "BillingStripeStorageSetRequest",
      "result_model": "BillingStripeStorageSetResult",
      "runnable_example": "mammoth billing stripe storage set --input '{\"storage_gb\": 1}' --yes"
    },
    "billing stripe sync": {
      "accepted_fields": [],
      "agent_example": "mammoth billing stripe sync --yes",
      "command_id": "billing.stripe.sync",
      "contract_level": "typed",
      "description": "Sync the workspace's Stripe billing state. '--yes --confirm WS' required.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth billing stripe sync --help",
      "notes": [],
      "positionals": [],
      "request_model": "BillingStripeSyncRequest",
      "result_model": "BillingStripeSyncResult",
      "runnable_example": "mammoth billing stripe sync --yes"
    },
    "billing stripe upcoming-invoice": {
      "accepted_fields": [],
      "agent_example": "mammoth billing stripe upcoming-invoice",
      "command_id": "billing.stripe.upcoming-invoice",
      "contract_level": "typed",
      "description": "Get the workspace's upcoming Stripe invoice.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth billing stripe upcoming-invoice --help",
      "notes": [],
      "positionals": [],
      "request_model": "BillingStripeUpcomingInvoiceRequest",
      "result_model": "BillingStripeUpcomingInvoiceResult",
      "runnable_example": "mammoth billing stripe upcoming-invoice"
    },
    "billing stripe usage": {
      "accepted_fields": [],
      "agent_example": "mammoth billing stripe usage",
      "command_id": "billing.stripe.usage",
      "contract_level": "typed",
      "description": "Get the workspace's Stripe usage figures.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth billing stripe usage --help",
      "notes": [],
      "positionals": [],
      "request_model": "BillingStripeUsageRequest",
      "result_model": "BillingStripeUsageResult",
      "runnable_example": "mammoth billing stripe usage"
    },
    "billing subscription get": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "fields",
          "required": false,
          "type": "str"
        }
      ],
      "agent_example": "mammoth billing subscription get",
      "command_id": "billing.subscription.get",
      "contract_level": "typed",
      "description": "Get the workspace's subscription details.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth billing subscription get --help",
      "notes": [],
      "positionals": [],
      "request_model": "BillingSubscriptionGetRequest",
      "result_model": "BillingSubscriptionGetResult",
      "runnable_example": "mammoth billing subscription get"
    },
    "billing subscription update": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "patch",
          "required": true,
          "type": "list[dict[str, any]]"
        }
      ],
      "agent_example": "mammoth billing subscription update --input '{\"patch\": [{\"name\": \"Status\"}]}' --yes",
      "command_id": "billing.subscription.update",
      "contract_level": "typed",
      "description": "Apply a patch to the workspace's subscription. 'patch' comes from '--input'.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth billing subscription update --help",
      "notes": [],
      "positionals": [],
      "request_model": "BillingSubscriptionUpdateRequest",
      "result_model": "BillingSubscriptionUpdateResult",
      "runnable_example": "mammoth billing subscription update --input '{\"patch\": [{\"name\": \"Status\"}]}' --yes"
    },
    "browse ancestors": {
      "accepted_fields": [],
      "agent_example": "mammoth browse ancestors 123",
      "command_id": "browse.ancestors",
      "contract_level": "typed",
      "description": "Get the folder path (root first) down to a folder of the active project.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth browse ancestors RESOURCE_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "The folder's id, as folder list and browse return it.",
          "metavar": "RESOURCE_ID",
          "name": "resource_id",
          "required": true,
          "type": "int"
        }
      ],
      "request_model": "BrowseAncestorsRequest",
      "result_model": "BrowseAncestorsResult",
      "runnable_example": "mammoth browse ancestors 123"
    },
    "browse folder": {
      "accepted_fields": [
        {
          "default": 2,
          "enum": null,
          "name": "level",
          "required": false,
          "type": "int"
        },
        {
          "default": "__min",
          "enum": null,
          "name": "fields",
          "required": false,
          "type": "str"
        }
      ],
      "agent_example": "mammoth browse folder 123",
      "command_id": "browse.folder",
      "contract_level": "typed",
      "description": "Browse resources inside one folder of the active project.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth browse folder FOLDER_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the folder.",
          "metavar": "FOLDER_ID",
          "name": "folder_id",
          "required": true,
          "type": "int"
        }
      ],
      "request_model": "BrowseFolderRequest",
      "result_model": "BrowseFolderResult",
      "runnable_example": "mammoth browse folder 123"
    },
    "browse project": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "fields",
          "required": false,
          "type": "str"
        },
        {
          "default": null,
          "enum": null,
          "name": "name",
          "required": false,
          "type": "str"
        },
        {
          "default": null,
          "enum": null,
          "name": "browse_type",
          "required": false,
          "type": "str"
        },
        {
          "default": null,
          "enum": null,
          "name": "sort",
          "required": false,
          "type": "str"
        },
        {
          "default": null,
          "enum": null,
          "name": "offset",
          "required": false,
          "type": "int"
        },
        {
          "default": null,
          "enum": null,
          "name": "limit",
          "required": false,
          "type": "int"
        }
      ],
      "agent_example": "mammoth browse project",
      "command_id": "browse.project",
      "contract_level": "typed",
      "description": "Browse the contents of the active project (datasets, folders).",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth browse project --help",
      "notes": [],
      "positionals": [],
      "request_model": "BrowseProjectRequest",
      "result_model": "BrowseProjectResult",
      "runnable_example": "mammoth browse project"
    },
    "browse resource": {
      "accepted_fields": [],
      "agent_example": "mammoth browse resource dataset 123",
      "command_id": "browse.resource",
      "contract_level": "typed",
      "description": "Get one resource of the active project: type, then id, as positionals.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth browse resource RESOURCE_TYPE OBJECT_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "Resource type, for example dataset or dataview.",
          "metavar": "RESOURCE_TYPE",
          "name": "resource_type",
          "required": true,
          "type": "str"
        },
        {
          "falls_back_to_field": null,
          "help": "ID of the resource within its type.",
          "metavar": "OBJECT_ID",
          "name": "object_id",
          "required": true,
          "type": "int"
        }
      ],
      "request_model": "BrowseResourceRequest",
      "result_model": "BrowseResourceResult",
      "runnable_example": "mammoth browse resource dataset 123"
    },
    "browse resources": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "parent_type",
          "required": false,
          "type": "str"
        },
        {
          "default": null,
          "enum": null,
          "name": "parent_id",
          "required": false,
          "type": "int"
        },
        {
          "default": null,
          "enum": null,
          "name": "resource_type",
          "required": false,
          "type": "str"
        },
        {
          "default": null,
          "enum": null,
          "name": "search",
          "required": false,
          "type": "str"
        },
        {
          "default": null,
          "enum": null,
          "name": "cursor",
          "required": false,
          "type": "str"
        },
        {
          "default": null,
          "enum": null,
          "name": "limit",
          "required": false,
          "type": "int"
        },
        {
          "default": null,
          "enum": null,
          "name": "sort",
          "required": false,
          "type": "str"
        },
        {
          "default": null,
          "enum": null,
          "name": "fields",
          "required": false,
          "type": "str"
        }
      ],
      "agent_example": "mammoth browse resources",
      "command_id": "browse.resources",
      "contract_level": "typed",
      "description": "Browse workspace resources in bulk.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth browse resources --help",
      "notes": [],
      "positionals": [],
      "request_model": "BrowseResourcesRequest",
      "result_model": "BrowseResourcesResult",
      "runnable_example": "mammoth browse resources"
    },
    "browse resources bulk": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "items",
          "required": true,
          "type": "list[tuple[str, int]]"
        }
      ],
      "agent_example": "mammoth browse resources bulk --input '{\"items\": [[\"dataview\", 42]]}'",
      "command_id": "browse.resources.bulk",
      "contract_level": "typed",
      "description": "Get many resources of the active project by type and id in one go (resources v2).",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth browse resources bulk --help",
      "notes": [],
      "positionals": [],
      "request_model": "BrowseResourcesBulkRequest",
      "result_model": "BrowseResourcesBulkResult",
      "runnable_example": "mammoth browse resources bulk --input '{\"items\": [[\"dataview\", 42]]}'"
    },
    "browse root": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "fields",
          "required": false,
          "type": "str"
        },
        {
          "default": null,
          "enum": null,
          "name": "name",
          "required": false,
          "type": "str"
        },
        {
          "default": null,
          "enum": null,
          "name": "browse_type",
          "required": false,
          "type": "str"
        },
        {
          "default": null,
          "enum": null,
          "name": "created_at",
          "required": false,
          "type": "str"
        },
        {
          "default": null,
          "enum": null,
          "name": "updated_at",
          "required": false,
          "type": "str"
        },
        {
          "default": null,
          "enum": null,
          "name": "sort",
          "required": false,
          "type": "str"
        },
        {
          "default": null,
          "enum": null,
          "name": "offset",
          "required": false,
          "type": "int"
        },
        {
          "default": null,
          "enum": null,
          "name": "limit",
          "required": false,
          "type": "int"
        },
        {
          "default": null,
          "enum": null,
          "name": "ids",
          "required": false,
          "type": "str"
        },
        {
          "default": null,
          "enum": null,
          "name": "include_hidden",
          "required": false,
          "type": "bool"
        },
        {
          "default": null,
          "enum": null,
          "name": "level",
          "required": false,
          "type": "int"
        },
        {
          "default": null,
          "enum": null,
          "name": "permissions",
          "required": false,
          "type": "str"
        }
      ],
      "agent_example": "mammoth browse root",
      "command_id": "browse.root",
      "contract_level": "typed",
      "description": "Browse resources across all workspaces the caller has access to.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth browse root --help",
      "notes": [],
      "positionals": [],
      "request_model": "BrowseRootRequest",
      "result_model": "BrowseRootResult",
      "runnable_example": "mammoth browse root"
    },
    "browse search": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "search",
          "required": false,
          "type": "str"
        },
        {
          "default": null,
          "enum": null,
          "name": "resource_type",
          "required": false,
          "type": "str"
        },
        {
          "default": null,
          "enum": null,
          "name": "cursor",
          "required": false,
          "type": "str"
        },
        {
          "default": null,
          "enum": null,
          "name": "limit",
          "required": false,
          "type": "int"
        },
        {
          "default": null,
          "enum": null,
          "name": "sort",
          "required": false,
          "type": "str"
        },
        {
          "default": null,
          "enum": null,
          "name": "fields",
          "required": false,
          "type": "str"
        }
      ],
      "agent_example": "mammoth browse search",
      "command_id": "browse.search",
      "contract_level": "typed",
      "description": "Search resources across every project of the workspace (resources v2).",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth browse search --help",
      "notes": [],
      "positionals": [],
      "request_model": "BrowseSearchRequest",
      "result_model": "BrowseSearchResult",
      "runnable_example": "mammoth browse search"
    },
    "browse workspace": {
      "accepted_fields": [
        {
          "default": 2,
          "enum": null,
          "name": "level",
          "required": false,
          "type": "int"
        },
        {
          "default": "__min",
          "enum": null,
          "name": "fields",
          "required": false,
          "type": "str"
        },
        {
          "default": 100,
          "enum": null,
          "name": "limit",
          "required": false,
          "type": "int"
        }
      ],
      "agent_example": "mammoth browse workspace",
      "command_id": "browse.workspace",
      "contract_level": "typed",
      "description": "Browse all resources in the active workspace (projects, datasets, folders).",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth browse workspace --help",
      "notes": [],
      "positionals": [],
      "request_model": "BrowseWorkspaceRequest",
      "result_model": "BrowseWorkspaceResult",
      "runnable_example": "mammoth browse workspace"
    },
    "calc": {
      "accepted_fields": [],
      "agent_example": "mammoth calc '2063664 - 1917815'",
      "command_id": "calc",
      "contract_level": "typed",
      "description": "Evaluate one arithmetic expression exactly.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth calc EXPRESSION --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "Arithmetic expression: + - * / and parentheses, unary +/-, a trailing %% (divides by 100), and round(x[, ndigits]).",
          "metavar": "EXPRESSION",
          "name": "expression",
          "required": true,
          "type": "str"
        }
      ],
      "request_model": "CalcRequest",
      "result_model": "CalcResult",
      "runnable_example": "mammoth calc '2063664 - 1917815'"
    },
    "capabilities": {
      "accepted_fields": [],
      "agent_example": "mammoth capabilities",
      "command_id": "capabilities",
      "contract_level": "typed",
      "description": "List what the CLI cannot do yet, and what to do instead.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth capabilities --help",
      "notes": [],
      "positionals": [],
      "request_model": "CapabilitiesRequest",
      "result_model": "CapabilitiesResult",
      "runnable_example": "mammoth capabilities"
    },
    "capability find": {
      "accepted_fields": [],
      "agent_example": "mammoth capability find 'show projects'",
      "command_id": "capability.find",
      "contract_level": "typed",
      "description": null,
      "flags": [],
      "hidden": false,
      "human_example": "mammoth capability find QUERY --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "Match operation names, commands, examples, or purpose.",
          "metavar": "QUERY",
          "name": "query",
          "required": true,
          "type": "str"
        }
      ],
      "request_model": "CapabilityFindRequest",
      "result_model": "CapabilityFindResult",
      "runnable_example": "mammoth capability find 'show projects'"
    },
    "capability get": {
      "accepted_fields": [],
      "agent_example": "mammoth capability get AddTask",
      "command_id": "capability.get",
      "contract_level": "typed",
      "description": null,
      "flags": [],
      "hidden": false,
      "human_example": "mammoth capability get OPERATION_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "Operation id to fetch the capability record for (e.g. AddTask).",
          "metavar": "OPERATION_ID",
          "name": "operation_id",
          "required": true,
          "type": "str"
        }
      ],
      "request_model": "CapabilityGetRequest",
      "result_model": "CapabilityGetResult",
      "runnable_example": "mammoth capability get AddTask"
    },
    "capability list": {
      "accepted_fields": [],
      "agent_example": "mammoth capability list",
      "command_id": "capability.list",
      "contract_level": "typed",
      "description": null,
      "flags": [],
      "hidden": false,
      "human_example": "mammoth capability list --help",
      "notes": [],
      "positionals": [],
      "request_model": "CapabilityListRequest",
      "result_model": "CapabilityListResult",
      "runnable_example": "mammoth capability list"
    },
    "client-app create": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "app_name",
          "required": false,
          "type": "str"
        },
        {
          "default": null,
          "enum": null,
          "name": "description",
          "required": false,
          "type": "str"
        }
      ],
      "agent_example": "mammoth client-app create 'Revenue report' --yes --confirm 'Revenue report'",
      "command_id": "client-app.create",
      "contract_level": "typed",
      "description": "Create a client app. Name comes from a positional or the 'app_name' field.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth client-app create --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": "app_name",
          "help": "Name of the new client app; or pass it via the 'app_name' input field.",
          "metavar": "APP_NAME",
          "name": "app_name",
          "required": false,
          "type": "str"
        }
      ],
      "request_model": "ClientAppCreateRequest",
      "result_model": "ClientAppCreateResult",
      "runnable_example": "mammoth client-app create 'Revenue report' --yes --confirm 'Revenue report'"
    },
    "client-app delete": {
      "accepted_fields": [],
      "agent_example": "mammoth client-app delete web-client --yes",
      "command_id": "client-app.delete",
      "contract_level": "typed",
      "description": "Permanently delete one client app by its client key. Prompt or '--yes' required.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth client-app delete CLIENT_KEY --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "Key identifying the client.",
          "metavar": "CLIENT_KEY",
          "name": "client_key",
          "required": true,
          "type": "str"
        }
      ],
      "request_model": "ClientAppDeleteRequest",
      "result_model": "ClientAppDeleteResult",
      "runnable_example": "mammoth client-app delete web-client --yes"
    },
    "client-app get": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "fields",
          "required": false,
          "type": "str"
        }
      ],
      "agent_example": "mammoth client-app get web-client",
      "command_id": "client-app.get",
      "contract_level": "typed",
      "description": "Get one API key (client app) by its client key.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth client-app get CLIENT_KEY --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "Key identifying the client.",
          "metavar": "CLIENT_KEY",
          "name": "client_key",
          "required": true,
          "type": "str"
        }
      ],
      "request_model": "ClientAppGetRequest",
      "result_model": "ClientAppGetResult",
      "runnable_example": "mammoth client-app get web-client"
    },
    "client-app list": {
      "accepted_fields": [
        {
          "default": 10,
          "enum": null,
          "name": "limit",
          "required": false,
          "type": "int"
        },
        {
          "default": 0,
          "enum": null,
          "name": "offset",
          "required": false,
          "type": "int"
        },
        {
          "default": null,
          "enum": null,
          "name": "fields",
          "required": false,
          "type": "str"
        },
        {
          "default": null,
          "enum": null,
          "name": "sort",
          "required": false,
          "type": "str"
        }
      ],
      "agent_example": "mammoth client-app list",
      "command_id": "client-app.list",
      "contract_level": "typed",
      "description": "List the workspace's API keys (client apps). Requires an admin role.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth client-app list --help",
      "notes": [],
      "positionals": [],
      "request_model": "ClientAppListRequest",
      "result_model": "ClientAppListResult",
      "runnable_example": "mammoth client-app list"
    },
    "client-app update": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "patch_request",
          "required": true,
          "type": "PatchRequest"
        }
      ],
      "agent_example": "mammoth client-app update web-client --input '{\"patch_request\": {\"patch\": [{\"op\": \"replace\", \"path\": \"role\"}]}}' --yes --confirm web-client",
      "command_id": "client-app.update",
      "contract_level": "typed",
      "description": "Apply a patch request to one client app. Client key is positional.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth client-app update CLIENT_KEY --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "Key identifying the client.",
          "metavar": "CLIENT_KEY",
          "name": "client_key",
          "required": true,
          "type": "str"
        }
      ],
      "request_model": "ClientAppUpdateRequest",
      "result_model": "ClientAppUpdateResult",
      "runnable_example": "mammoth client-app update web-client --input '{\"patch_request\": {\"patch\": [{\"op\": \"replace\", \"path\": \"role\"}]}}' --yes --confirm web-client"
    },
    "collection active-job": {
      "accepted_fields": [],
      "agent_example": "mammoth collection active-job 123",
      "command_id": "collection.active-job",
      "contract_level": "typed",
      "description": "Show the collection's upload job still in flight. Collection id is positional.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth collection active-job COLLECTION_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the collection.",
          "metavar": "COLLECTION_ID",
          "name": "collection_id",
          "required": true,
          "type": "int"
        }
      ],
      "request_model": "CollectionActiveJobRequest",
      "result_model": "CollectionActiveJobResult",
      "runnable_example": "mammoth collection active-job 123"
    },
    "collection activity": {
      "accepted_fields": [],
      "agent_example": "mammoth collection activity 123",
      "command_id": "collection.activity",
      "contract_level": "typed",
      "description": "Show who opened a collection and which of its dashboards get opened.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth collection activity COLLECTION_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the collection.",
          "metavar": "COLLECTION_ID",
          "name": "collection_id",
          "required": true,
          "type": "int"
        }
      ],
      "request_model": "CollectionActivityRequest",
      "result_model": "CollectionActivityResult",
      "runnable_example": "mammoth collection activity 123"
    },
    "collection create": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "name",
          "required": true,
          "type": "str"
        },
        {
          "default": null,
          "enum": null,
          "name": "description",
          "required": false,
          "type": "str"
        },
        {
          "default": null,
          "enum": null,
          "name": "dashboard_ids",
          "required": false,
          "type": "list[int]"
        }
      ],
      "agent_example": "mammoth collection create --input '{\"name\": \"Revenue report\"}'",
      "command_id": "collection.create",
      "contract_level": "typed",
      "description": "Create a collection in the active project. Name comes from '--input'.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth collection create --help",
      "notes": [],
      "positionals": [],
      "request_model": "CollectionCreateRequest",
      "result_model": "CollectionCreateResult",
      "runnable_example": "mammoth collection create --input '{\"name\": \"Revenue report\"}'"
    },
    "collection dashboards add": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "dashboard_ids",
          "required": true,
          "type": "list[int]"
        },
        {
          "default": false,
          "enum": null,
          "name": "notify",
          "required": false,
          "type": "bool"
        }
      ],
      "agent_example": "mammoth collection dashboards add 123 --input '{\"dashboard_ids\": [1]}' --yes",
      "command_id": "collection.dashboards.add",
      "contract_level": "typed",
      "description": "Add dashboards to a collection, which gives its members access to them.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth collection dashboards add COLLECTION_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the collection.",
          "metavar": "COLLECTION_ID",
          "name": "collection_id",
          "required": true,
          "type": "int"
        }
      ],
      "request_model": "CollectionDashboardsAddRequest",
      "result_model": "CollectionDashboardsAddResult",
      "runnable_example": "mammoth collection dashboards add 123 --input '{\"dashboard_ids\": [1]}' --yes"
    },
    "collection dashboards remove": {
      "accepted_fields": [],
      "agent_example": "mammoth collection dashboards remove 123 456 --yes",
      "command_id": "collection.dashboards.remove",
      "contract_level": "typed",
      "description": "Take one dashboard out of a collection; the dashboard is kept.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth collection dashboards remove COLLECTION_ID DASHBOARD_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the collection.",
          "metavar": "COLLECTION_ID",
          "name": "collection_id",
          "required": true,
          "type": "int"
        },
        {
          "falls_back_to_field": null,
          "help": "ID of the dashboard.",
          "metavar": "DASHBOARD_ID",
          "name": "dashboard_id",
          "required": true,
          "type": "int"
        }
      ],
      "request_model": "CollectionDashboardsRemoveRequest",
      "result_model": "CollectionDashboardsRemoveResult",
      "runnable_example": "mammoth collection dashboards remove 123 456 --yes"
    },
    "collection delete": {
      "accepted_fields": [],
      "agent_example": "mammoth collection delete 123 --yes",
      "command_id": "collection.delete",
      "contract_level": "typed",
      "description": "Delete a collection and end its members' access through it.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth collection delete COLLECTION_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the collection.",
          "metavar": "COLLECTION_ID",
          "name": "collection_id",
          "required": true,
          "type": "int"
        }
      ],
      "request_model": "CollectionDeleteRequest",
      "result_model": "CollectionDeleteResult",
      "runnable_example": "mammoth collection delete 123 --yes"
    },
    "collection email-updates get": {
      "accepted_fields": [],
      "agent_example": "mammoth collection email-updates get 123",
      "command_id": "collection.email-updates.get",
      "contract_level": "typed",
      "description": "Get a collection's email updates: schedule, people, unsubscribed and a preview.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth collection email-updates get COLLECTION_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the collection.",
          "metavar": "COLLECTION_ID",
          "name": "collection_id",
          "required": true,
          "type": "int"
        }
      ],
      "request_model": "CollectionEmailUpdatesGetRequest",
      "result_model": "CollectionEmailUpdatesGetResult",
      "runnable_example": "mammoth collection email-updates get 123"
    },
    "collection email-updates me get": {
      "accepted_fields": [],
      "agent_example": "mammoth collection email-updates me get 123",
      "command_id": "collection.email-updates.me.get",
      "contract_level": "typed",
      "description": "Get whether the caller receives a collection's email updates.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth collection email-updates me get COLLECTION_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the collection.",
          "metavar": "COLLECTION_ID",
          "name": "collection_id",
          "required": true,
          "type": "int"
        }
      ],
      "request_model": "CollectionEmailUpdatesMeGetRequest",
      "result_model": "CollectionEmailUpdatesMeGetResult",
      "runnable_example": "mammoth collection email-updates me get 123"
    },
    "collection email-updates me set": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "subscribed",
          "required": true,
          "type": "bool"
        }
      ],
      "agent_example": "mammoth collection email-updates me set 123 --input '{\"subscribed\": true}'",
      "command_id": "collection.email-updates.me.set",
      "contract_level": "typed",
      "description": "Turn the caller's own email updates for a collection on, or off.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth collection email-updates me set COLLECTION_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the collection.",
          "metavar": "COLLECTION_ID",
          "name": "collection_id",
          "required": true,
          "type": "int"
        }
      ],
      "request_model": "CollectionEmailUpdatesMeSetRequest",
      "result_model": "CollectionEmailUpdatesMeSetResult",
      "runnable_example": "mammoth collection email-updates me set 123 --input '{\"subscribed\": true}'"
    },
    "collection email-updates set": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "enabled",
          "required": true,
          "type": "bool"
        },
        {
          "default": null,
          "enum": null,
          "name": "timezone",
          "required": true,
          "type": "str"
        },
        {
          "default": null,
          "enum": null,
          "name": "trigger",
          "required": false,
          "type": "str"
        },
        {
          "default": null,
          "enum": null,
          "name": "frequency",
          "required": false,
          "type": "str"
        },
        {
          "default": null,
          "enum": null,
          "name": "weekday",
          "required": false,
          "type": "int"
        },
        {
          "default": null,
          "enum": null,
          "name": "monthday",
          "required": false,
          "type": "int"
        },
        {
          "default": null,
          "enum": null,
          "name": "time_of_day",
          "required": false,
          "type": "str"
        },
        {
          "default": null,
          "enum": null,
          "name": "numbers",
          "required": false,
          "type": "dict[str, list[str]]"
        }
      ],
      "agent_example": "mammoth collection email-updates set 123 --input '{\"enabled\": true, \"timezone\": \"UTC\"}' --yes",
      "command_id": "collection.email-updates.set",
      "contract_level": "typed",
      "description": "Turn a collection's email updates on or off, or change them. Managers only.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth collection email-updates set COLLECTION_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the collection.",
          "metavar": "COLLECTION_ID",
          "name": "collection_id",
          "required": true,
          "type": "int"
        }
      ],
      "request_model": "CollectionEmailUpdatesSetRequest",
      "result_model": "CollectionEmailUpdatesSetResult",
      "runnable_example": "mammoth collection email-updates set 123 --input '{\"enabled\": true, \"timezone\": \"UTC\"}' --yes"
    },
    "collection email-updates test": {
      "accepted_fields": [],
      "agent_example": "mammoth collection email-updates test 123 --yes",
      "command_id": "collection.email-updates.test",
      "contract_level": "typed",
      "description": "Send one test email update to the caller, with the numbers an editor sees.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth collection email-updates test COLLECTION_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the collection.",
          "metavar": "COLLECTION_ID",
          "name": "collection_id",
          "required": true,
          "type": "int"
        }
      ],
      "request_model": "CollectionEmailUpdatesTestRequest",
      "result_model": "CollectionEmailUpdatesTestResult",
      "runnable_example": "mammoth collection email-updates test 123 --yes"
    },
    "collection files upload": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "files",
          "required": true,
          "type": "list[str]"
        },
        {
          "default": null,
          "enum": null,
          "name": "append_to_ds_id",
          "required": false,
          "type": "int"
        }
      ],
      "agent_example": "mammoth collection files upload 123 --input '{\"files\": [\"./sales.csv\"]}'",
      "command_id": "collection.files.upload",
      "contract_level": "typed",
      "description": "Upload local files to refresh a collection's data. Paths come from '--input'.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth collection files upload COLLECTION_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the collection.",
          "metavar": "COLLECTION_ID",
          "name": "collection_id",
          "required": true,
          "type": "int"
        }
      ],
      "request_model": "CollectionFilesUploadRequest",
      "result_model": "CollectionFilesUploadResult",
      "runnable_example": "mammoth collection files upload 123 --input '{\"files\": [\"./sales.csv\"]}'"
    },
    "collection for-dashboard": {
      "accepted_fields": [],
      "agent_example": "mammoth collection for-dashboard 123",
      "command_id": "collection.for-dashboard",
      "contract_level": "typed",
      "description": "List the collections that hold a dashboard. Dashboard id is positional.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth collection for-dashboard DASHBOARD_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the dashboard.",
          "metavar": "DASHBOARD_ID",
          "name": "dashboard_id",
          "required": true,
          "type": "int"
        }
      ],
      "request_model": "CollectionForDashboardRequest",
      "result_model": "CollectionForDashboardResult",
      "runnable_example": "mammoth collection for-dashboard 123"
    },
    "collection get": {
      "accepted_fields": [],
      "agent_example": "mammoth collection get 123",
      "command_id": "collection.get",
      "contract_level": "typed",
      "description": "Get one collection with its dashboards, members and refresh setup.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth collection get COLLECTION_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the collection.",
          "metavar": "COLLECTION_ID",
          "name": "collection_id",
          "required": true,
          "type": "int"
        }
      ],
      "request_model": "CollectionGetRequest",
      "result_model": "CollectionGetResult",
      "runnable_example": "mammoth collection get 123"
    },
    "collection get-by-url": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "t",
          "required": false,
          "type": "str"
        },
        {
          "default": null,
          "enum": null,
          "name": "email",
          "required": false,
          "type": "str"
        }
      ],
      "agent_example": "mammoth collection get-by-url https://example.com/data.csv",
      "command_id": "collection.get-by-url",
      "contract_level": "typed",
      "description": "Open a collection by its share url token, as a viewer does.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth collection get-by-url URL --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "URL slug identifying the resource.",
          "metavar": "URL",
          "name": "url",
          "required": true,
          "type": "str"
        }
      ],
      "request_model": "CollectionGetByUrlRequest",
      "result_model": "CollectionGetByUrlResult",
      "runnable_example": "mammoth collection get-by-url https://example.com/data.csv"
    },
    "collection job": {
      "accepted_fields": [],
      "agent_example": "mammoth collection job 123 456",
      "command_id": "collection.job",
      "contract_level": "typed",
      "description": "Poll one collection upload job. Collection id and job id are positional.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth collection job COLLECTION_ID JOB_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the collection.",
          "metavar": "COLLECTION_ID",
          "name": "collection_id",
          "required": true,
          "type": "int"
        },
        {
          "falls_back_to_field": null,
          "help": "ID of the job.",
          "metavar": "JOB_ID",
          "name": "job_id",
          "required": true,
          "type": "int"
        }
      ],
      "request_model": "CollectionJobRequest",
      "result_model": "CollectionJobResult",
      "runnable_example": "mammoth collection job 123 456"
    },
    "collection list": {
      "accepted_fields": [],
      "agent_example": "mammoth collection list",
      "command_id": "collection.list",
      "contract_level": "typed",
      "description": "List the collections you manage or were shared.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth collection list --help",
      "notes": [],
      "positionals": [],
      "request_model": "CollectionListRequest",
      "result_model": "CollectionListResult",
      "runnable_example": "mammoth collection list"
    },
    "collection members remove": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "email",
          "required": true,
          "type": "str"
        }
      ],
      "agent_example": "mammoth collection members remove 123 --input '{\"email\": \"analyst@example.com\"}' --yes",
      "command_id": "collection.members.remove",
      "contract_level": "typed",
      "description": "Take one person off a collection by email.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth collection members remove COLLECTION_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the collection.",
          "metavar": "COLLECTION_ID",
          "name": "collection_id",
          "required": true,
          "type": "int"
        }
      ],
      "request_model": "CollectionMembersRemoveRequest",
      "result_model": "CollectionMembersRemoveResult",
      "runnable_example": "mammoth collection members remove 123 --input '{\"email\": \"analyst@example.com\"}' --yes"
    },
    "collection pipeline-changes": {
      "accepted_fields": [],
      "agent_example": "mammoth collection pipeline-changes 123",
      "command_id": "collection.pipeline-changes",
      "contract_level": "typed",
      "description": "Show the progress of a collection's data refresh.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth collection pipeline-changes COLLECTION_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the collection.",
          "metavar": "COLLECTION_ID",
          "name": "collection_id",
          "required": true,
          "type": "int"
        }
      ],
      "request_model": "CollectionPipelineChangesRequest",
      "result_model": "CollectionPipelineChangesResult",
      "runnable_example": "mammoth collection pipeline-changes 123"
    },
    "collection share": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "emails",
          "required": true,
          "type": "list[str]"
        }
      ],
      "agent_example": "mammoth collection share 123 --input '{\"emails\": [\"analyst@example.com\"]}' --yes",
      "command_id": "collection.share",
      "contract_level": "typed",
      "description": "Give people access to a collection by email and send them the invite.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth collection share COLLECTION_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the collection.",
          "metavar": "COLLECTION_ID",
          "name": "collection_id",
          "required": true,
          "type": "int"
        }
      ],
      "request_model": "CollectionShareRequest",
      "result_model": "CollectionShareResult",
      "runnable_example": "mammoth collection share 123 --input '{\"emails\": [\"analyst@example.com\"]}' --yes"
    },
    "collection update": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "name",
          "required": false,
          "type": "str"
        },
        {
          "default": null,
          "enum": null,
          "name": "description",
          "required": false,
          "type": "str"
        },
        {
          "default": null,
          "enum": null,
          "name": "order",
          "required": false,
          "type": "list[int]"
        },
        {
          "default": null,
          "enum": null,
          "name": "tab_labels",
          "required": false,
          "type": "dict[str, str | None]"
        },
        {
          "default": null,
          "enum": null,
          "name": "automation_id",
          "required": false,
          "type": "int"
        },
        {
          "default": false,
          "enum": null,
          "name": "unlink_automation",
          "required": false,
          "type": "bool"
        }
      ],
      "agent_example": "mammoth collection update 123 --input '{\"name\": \"Q3 pack\"}'",
      "command_id": "collection.update",
      "contract_level": "typed",
      "description": "Change a collection's name, description, dashboard order or tab labels.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth collection update COLLECTION_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the collection.",
          "metavar": "COLLECTION_ID",
          "name": "collection_id",
          "required": true,
          "type": "int"
        }
      ],
      "request_model": "CollectionUpdateRequest",
      "result_model": "CollectionUpdateResult",
      "runnable_example": "mammoth collection update 123 --input '{\"name\": \"Q3 pack\"}'"
    },
    "completion install": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "shell",
          "required": false,
          "type": "str"
        }
      ],
      "agent_example": "mammoth completion install bash",
      "command_id": "completion.install",
      "contract_level": "typed",
      "description": "Append the completion snippet to the shell startup file, idempotently.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth completion install --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": "shell",
          "help": "Shell to target (bash/zsh/fish); or pass it via the 'shell' input field.",
          "metavar": "SHELL",
          "name": "shell",
          "required": false,
          "type": "str"
        }
      ],
      "request_model": "CompletionInstallRequest",
      "result_model": "CompletionInstallResult",
      "runnable_example": "mammoth completion install bash"
    },
    "completion show": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "shell",
          "required": false,
          "type": "str"
        }
      ],
      "agent_example": "mammoth completion show bash",
      "command_id": "completion.show",
      "contract_level": "typed",
      "description": "Print the completion activation snippet for a shell.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth completion show --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": "shell",
          "help": "Shell to target (bash/zsh/fish); or pass it via the 'shell' input field.",
          "metavar": "SHELL",
          "name": "shell",
          "required": false,
          "type": "str"
        }
      ],
      "request_model": "CompletionShowRequest",
      "result_model": "CompletionShowResult",
      "runnable_example": "mammoth completion show bash"
    },
    "config get": {
      "accepted_fields": [],
      "agent_example": "mammoth config get output",
      "command_id": "config.get",
      "contract_level": "typed",
      "description": "Get one profile-scoped configuration value.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth config get KEY --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "Configuration key to read (e.g. output, timeout).",
          "metavar": "KEY",
          "name": "key",
          "required": true,
          "type": "str"
        }
      ],
      "request_model": "ConfigGetRequest",
      "result_model": "ConfigGetResult",
      "runnable_example": "mammoth config get output"
    },
    "config list": {
      "accepted_fields": [],
      "agent_example": "mammoth config list",
      "command_id": "config.list",
      "contract_level": "typed",
      "description": "List every profile-scoped configuration value.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth config list --help",
      "notes": [],
      "positionals": [],
      "request_model": "ConfigListRequest",
      "result_model": "ConfigListResult",
      "runnable_example": "mammoth config list"
    },
    "config path": {
      "accepted_fields": [],
      "agent_example": "mammoth config path",
      "command_id": "config.path",
      "contract_level": "typed",
      "description": "Print the path to the non-secret profiles file.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth config path --help",
      "notes": [],
      "positionals": [],
      "request_model": "ConfigPathRequest",
      "result_model": "ConfigPathResult",
      "runnable_example": "mammoth config path"
    },
    "config set": {
      "accepted_fields": [],
      "agent_example": "mammoth config set output text",
      "command_id": "config.set",
      "contract_level": "typed",
      "description": "Set one profile-scoped configuration value.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth config set KEY VALUE --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "Configuration key to set (e.g. output, timeout).",
          "metavar": "KEY",
          "name": "key",
          "required": true,
          "type": "str"
        },
        {
          "falls_back_to_field": null,
          "help": "New value for the configuration key.",
          "metavar": "VALUE",
          "name": "value",
          "required": true,
          "type": "str"
        }
      ],
      "request_model": "ConfigSetRequest",
      "result_model": "ConfigSetResult",
      "runnable_example": "mammoth config set output text"
    },
    "connector active": {
      "accepted_fields": [],
      "agent_example": "mammoth connector active",
      "command_id": "connector.active",
      "contract_level": "typed",
      "description": "List active connectors with established connections (workspace-scoped).",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth connector active --help",
      "notes": [],
      "positionals": [],
      "request_model": "ConnectorActiveRequest",
      "result_model": "ConnectorActiveResult",
      "runnable_example": "mammoth connector active"
    },
    "connector ai chat": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "body",
          "required": true,
          "type": "dict[str, any]"
        }
      ],
      "agent_example": "mammoth connector ai chat --input '{\"body\": {\"messages\": [{\"content\": \"Quarterly revenue summary\", \"role\": \"user\"}]}}'",
      "command_id": "connector.ai.chat",
      "contract_level": "partially_typed",
      "description": "Send a message to the older connector chat, not the AI connector builder.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth connector ai chat --help",
      "notes": [],
      "positionals": [],
      "request_model": "ConnectorAiChatRequest",
      "result_model": "ConnectorAiChatResult",
      "runnable_example": "mammoth connector ai chat --input '{\"body\": {\"messages\": [{\"content\": \"Quarterly revenue summary\", \"role\": \"user\"}]}}'"
    },
    "connector ai history": {
      "accepted_fields": [],
      "agent_example": "mammoth connector ai history prod-warehouse",
      "command_id": "connector.ai.history",
      "contract_level": "typed",
      "description": "Get chat history for a connection. The connection key is positional.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth connector ai history CONNECTION_KEY --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "Key identifying the connection.",
          "metavar": "CONNECTION_KEY",
          "name": "connection_key",
          "required": true,
          "type": "str"
        }
      ],
      "request_model": "ConnectorAiHistoryRequest",
      "result_model": "ConnectorAiHistoryResult",
      "runnable_example": "mammoth connector ai history prod-warehouse"
    },
    "connector ai session list": {
      "accepted_fields": [],
      "agent_example": "mammoth connector ai session list",
      "command_id": "connector.ai.session.list",
      "contract_level": "typed",
      "description": "List connector chat sessions in the active project.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth connector ai session list --help",
      "notes": [],
      "positionals": [],
      "request_model": "ConnectorAiSessionListRequest",
      "result_model": "ConnectorAiSessionListResult",
      "runnable_example": "mammoth connector ai session list"
    },
    "connector ai session messages": {
      "accepted_fields": [],
      "agent_example": "mammoth connector ai session messages 123",
      "command_id": "connector.ai.session.messages",
      "contract_level": "typed",
      "description": "Get messages for a connector chat session. The session id is positional.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth connector ai session messages SESSION_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the session.",
          "metavar": "SESSION_ID",
          "name": "session_id",
          "required": true,
          "type": "int"
        }
      ],
      "request_model": "ConnectorAiSessionMessagesRequest",
      "result_model": "ConnectorAiSessionMessagesResult",
      "runnable_example": "mammoth connector ai session messages 123"
    },
    "connector ai submit-column-selection": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "body",
          "required": true,
          "type": "dict[str, any]"
        }
      ],
      "agent_example": "mammoth connector ai submit-column-selection --input '{\"body\": {\"selected_columns\": [\"Status\"], \"session_id\": \"resource-123\"}}'",
      "command_id": "connector.ai.submit-column-selection",
      "contract_level": "partially_typed",
      "description": "Submit a column selection to the connector chat flow. 'body' is required input.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth connector ai submit-column-selection --help",
      "notes": [],
      "positionals": [],
      "request_model": "ConnectorAiSubmitColumnSelectionRequest",
      "result_model": "ConnectorAiSubmitColumnSelectionResult",
      "runnable_example": "mammoth connector ai submit-column-selection --input '{\"body\": {\"selected_columns\": [\"Status\"], \"session_id\": \"resource-123\"}}'"
    },
    "connector ai submit-credentials": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "body",
          "required": true,
          "type": "dict[str, any]"
        }
      ],
      "agent_example": "mammoth connector ai submit-credentials --input '{\"body\": {\"credentials\": {}, \"session_id\": \"resource-123\"}}'",
      "command_id": "connector.ai.submit-credentials",
      "contract_level": "partially_typed",
      "description": "Submit connector credentials to the connector chat flow.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth connector ai submit-credentials --help",
      "notes": [],
      "positionals": [],
      "request_model": "ConnectorAiSubmitCredentialsRequest",
      "result_model": "ConnectorAiSubmitCredentialsResult",
      "runnable_example": "mammoth connector ai submit-credentials --input '{\"body\": {\"credentials\": {}, \"session_id\": \"resource-123\"}}'"
    },
    "connector connection create": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "config",
          "required": true,
          "type": "dict[str, any]"
        }
      ],
      "agent_example": "mammoth connector connection create postgres --input /private/path/request.json --yes",
      "command_id": "connector.connection.create",
      "contract_level": "typed",
      "description": "Create a connection for a connector. '--yes' is always required.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth connector connection create CONNECTOR_KEY --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "Key identifying the connector.",
          "metavar": "CONNECTOR_KEY",
          "name": "connector_key",
          "required": true,
          "type": "str"
        }
      ],
      "request_model": "ConnectorConnectionCreateRequest",
      "result_model": "ConnectorConnectionCreateResult",
      "runnable_example": "mammoth connector connection create postgres --input /private/path/request.json --yes"
    },
    "connector connection delete": {
      "accepted_fields": [],
      "agent_example": "mammoth connector connection delete postgres prod-warehouse --yes",
      "command_id": "connector.connection.delete",
      "contract_level": "typed",
      "description": "Delete a connection. Prompt or '--yes' required.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth connector connection delete CONNECTOR_KEY CONNECTION_KEY --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "Key identifying the connector.",
          "metavar": "CONNECTOR_KEY",
          "name": "connector_key",
          "required": true,
          "type": "str"
        },
        {
          "falls_back_to_field": null,
          "help": "Key identifying the connection.",
          "metavar": "CONNECTION_KEY",
          "name": "connection_key",
          "required": true,
          "type": "str"
        }
      ],
      "request_model": "ConnectorConnectionDeleteRequest",
      "result_model": "ConnectorConnectionDeleteResult",
      "runnable_example": "mammoth connector connection delete postgres prod-warehouse --yes"
    },
    "connector connection get": {
      "accepted_fields": [],
      "agent_example": "mammoth connector connection get postgres prod-warehouse",
      "command_id": "connector.connection.get",
      "contract_level": "typed",
      "description": "Get one connection's details. Connector and connection keys are positional.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth connector connection get CONNECTOR_KEY CONNECTION_KEY --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "Key identifying the connector.",
          "metavar": "CONNECTOR_KEY",
          "name": "connector_key",
          "required": true,
          "type": "str"
        },
        {
          "falls_back_to_field": null,
          "help": "Key identifying the connection.",
          "metavar": "CONNECTION_KEY",
          "name": "connection_key",
          "required": true,
          "type": "str"
        }
      ],
      "request_model": "ConnectorConnectionGetRequest",
      "result_model": "ConnectorConnectionGetResult",
      "runnable_example": "mammoth connector connection get postgres prod-warehouse"
    },
    "connector connection list": {
      "accepted_fields": [],
      "agent_example": "mammoth connector connection list postgres",
      "command_id": "connector.connection.list",
      "contract_level": "typed",
      "description": "List connections for one connector type, or for every connector with a saved one.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth connector connection list --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "Key identifying the connector. Leave it out to list the connections of every connector that has one.",
          "metavar": "CONNECTOR_KEY",
          "name": "connector_key",
          "required": false,
          "type": "str"
        }
      ],
      "request_model": "ConnectorConnectionListRequest",
      "result_model": "ConnectorConnectionListResult",
      "runnable_example": "mammoth connector connection list postgres"
    },
    "connector connection list-all": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "limit",
          "required": false,
          "type": "int"
        },
        {
          "default": null,
          "enum": null,
          "name": "offset",
          "required": false,
          "type": "int"
        }
      ],
      "agent_example": "mammoth connector connection list-all",
      "command_id": "connector.connection.list-all",
      "contract_level": "typed",
      "description": "List every connection in a project, across all connector types, in one call.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth connector connection list-all --help",
      "notes": [],
      "positionals": [],
      "request_model": "ConnectorConnectionListAllRequest",
      "result_model": "ConnectorConnectionListAllResult",
      "runnable_example": "mammoth connector connection list-all"
    },
    "connector connection query": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "query",
          "required": true,
          "type": "str"
        },
        {
          "default": null,
          "enum": null,
          "name": "table",
          "required": false,
          "type": "str"
        },
        {
          "default": null,
          "enum": null,
          "name": "profile",
          "required": false,
          "type": "str"
        },
        {
          "default": 60.0,
          "enum": null,
          "name": "timeout",
          "required": false,
          "type": "float"
        }
      ],
      "agent_example": "mammoth connector connection query postgres prod-warehouse --input '{\"query\": \"SELECT region, SUM(revenue) FROM data GROUP BY region\"}'",
      "command_id": "connector.connection.query",
      "contract_level": "typed",
      "description": "Run one SELECT on a connection and return sample rows; saves nothing, no '--yes'.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth connector connection query CONNECTOR_KEY CONNECTION_KEY --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "Key identifying the connector.",
          "metavar": "CONNECTOR_KEY",
          "name": "connector_key",
          "required": true,
          "type": "str"
        },
        {
          "falls_back_to_field": null,
          "help": "Key identifying the connection.",
          "metavar": "CONNECTION_KEY",
          "name": "connection_key",
          "required": true,
          "type": "str"
        }
      ],
      "request_model": "ConnectorConnectionQueryRequest",
      "result_model": "ConnectorConnectionQueryResult",
      "runnable_example": "mammoth connector connection query postgres prod-warehouse --input '{\"query\": \"SELECT region, SUM(revenue) FROM data GROUP BY region\"}'"
    },
    "connector connection test": {
      "accepted_fields": [],
      "agent_example": "mammoth connector connection test prod-warehouse",
      "command_id": "connector.connection.test",
      "contract_level": "typed",
      "description": "Run a health check on one connection now, and keep the result.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth connector connection test CONNECTION_KEY --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "Key identifying the connection.",
          "metavar": "CONNECTION_KEY",
          "name": "connection_key",
          "required": true,
          "type": "str"
        }
      ],
      "request_model": "ConnectorConnectionTestRequest",
      "result_model": "ConnectorConnectionTestResult",
      "runnable_example": "mammoth connector connection test prod-warehouse"
    },
    "connector connection update": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "credentials",
          "required": true,
          "type": "dict[str, any]"
        }
      ],
      "agent_example": "mammoth connector connection update postgres prod-warehouse --input /private/path/request.json --yes",
      "command_id": "connector.connection.update",
      "contract_level": "typed",
      "description": "Update a connection's credentials. '--yes' is always required.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth connector connection update CONNECTOR_KEY CONNECTION_KEY --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "Key identifying the connector.",
          "metavar": "CONNECTOR_KEY",
          "name": "connector_key",
          "required": true,
          "type": "str"
        },
        {
          "falls_back_to_field": null,
          "help": "Key identifying the connection.",
          "metavar": "CONNECTION_KEY",
          "name": "connection_key",
          "required": true,
          "type": "str"
        }
      ],
      "request_model": "ConnectorConnectionUpdateRequest",
      "result_model": "ConnectorConnectionUpdateResult",
      "runnable_example": "mammoth connector connection update postgres prod-warehouse --input /private/path/request.json --yes"
    },
    "connector draft browse": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "folder",
          "required": false,
          "type": "str"
        }
      ],
      "agent_example": "mammoth connector draft browse 123",
      "command_id": "connector.draft.browse",
      "contract_level": "typed",
      "description": "List a folder of a files-shaped source (the top when 'folder' is omitted).",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth connector draft browse DRAFT_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the draft.",
          "metavar": "DRAFT_ID",
          "name": "draft_id",
          "required": true,
          "type": "int"
        }
      ],
      "request_model": "ConnectorDraftBrowseRequest",
      "result_model": "ConnectorDraftBrowseResult",
      "runnable_example": "mammoth connector draft browse 123"
    },
    "connector draft create": {
      "accepted_fields": [
        {
          "default": "connections",
          "enum": null,
          "name": "origin",
          "required": false,
          "type": "str"
        },
        {
          "default": null,
          "enum": null,
          "name": "connector_key",
          "required": false,
          "type": "str"
        },
        {
          "default": null,
          "enum": null,
          "name": "connection_key",
          "required": false,
          "type": "str"
        },
        {
          "default": null,
          "enum": null,
          "name": "kind",
          "required": false,
          "type": "str"
        },
        {
          "default": null,
          "enum": null,
          "name": "url",
          "required": false,
          "type": "str"
        },
        {
          "default": null,
          "enum": null,
          "name": "request_text",
          "required": false,
          "type": "str"
        },
        {
          "default": null,
          "enum": null,
          "name": "title",
          "required": false,
          "type": "str"
        },
        {
          "default": null,
          "enum": null,
          "name": "session_id",
          "required": false,
          "type": "str"
        },
        {
          "default": true,
          "enum": null,
          "name": "start",
          "required": false,
          "type": "bool"
        }
      ],
      "agent_example": "mammoth connector draft create --input '{\"origin\": \"connections\", \"connector_key\": \"hubspot\"}'",
      "command_id": "connector.draft.create",
      "contract_level": "typed",
      "description": "Start an AI connector draft and send its request as the builder's first turn.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth connector draft create --help",
      "notes": [],
      "positionals": [],
      "request_model": "ConnectorDraftCreateRequest",
      "result_model": "ConnectorDraftCreateResult",
      "runnable_example": "mammoth connector draft create --input '{\"origin\": \"connections\", \"connector_key\": \"hubspot\"}'"
    },
    "connector draft discard": {
      "accepted_fields": [],
      "agent_example": "mammoth connector draft discard 123 --yes",
      "command_id": "connector.draft.discard",
      "contract_level": "typed",
      "description": "Hide a draft from every list; its chat thread stays.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth connector draft discard DRAFT_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the draft.",
          "metavar": "DRAFT_ID",
          "name": "draft_id",
          "required": true,
          "type": "int"
        }
      ],
      "request_model": "ConnectorDraftDiscardRequest",
      "result_model": "ConnectorDraftDiscardResult",
      "runnable_example": "mammoth connector draft discard 123 --yes"
    },
    "connector draft fill": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "column",
          "required": true,
          "type": "str"
        },
        {
          "default": null,
          "enum": null,
          "name": "file_object_id",
          "required": false,
          "type": "int"
        },
        {
          "default": null,
          "enum": null,
          "name": "dataset_id",
          "required": false,
          "type": "int"
        },
        {
          "default": null,
          "enum": null,
          "name": "key_columns",
          "required": false,
          "type": "list[str]"
        }
      ],
      "agent_example": "mammoth connector draft fill 123 --input '{\"column\": \"region\", \"file_object_id\": 77}'",
      "command_id": "connector.draft.fill",
      "contract_level": "typed",
      "description": "Fill one target column by joining an uploaded file or a dataset onto the main source.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth connector draft fill DRAFT_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the draft.",
          "metavar": "DRAFT_ID",
          "name": "draft_id",
          "required": true,
          "type": "int"
        }
      ],
      "request_model": "ConnectorDraftFillRequest",
      "result_model": "ConnectorDraftFillResult",
      "runnable_example": "mammoth connector draft fill 123 --input '{\"column\": \"region\", \"file_object_id\": 77}'"
    },
    "connector draft get": {
      "accepted_fields": [],
      "agent_example": "mammoth connector draft get 123",
      "command_id": "connector.draft.get",
      "contract_level": "typed",
      "description": "Get one draft, with its target columns, sources and thread.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth connector draft get DRAFT_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the draft.",
          "metavar": "DRAFT_ID",
          "name": "draft_id",
          "required": true,
          "type": "int"
        }
      ],
      "request_model": "ConnectorDraftGetRequest",
      "result_model": "ConnectorDraftGetResult",
      "runnable_example": "mammoth connector draft get 123"
    },
    "connector draft known-sources": {
      "accepted_fields": [],
      "agent_example": "mammoth connector draft known-sources",
      "command_id": "connector.draft.known-sources",
      "contract_level": "typed",
      "description": "List the sources with no built-in connector that a draft can still start on.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth connector draft known-sources --help",
      "notes": [],
      "positionals": [],
      "request_model": "ConnectorDraftKnownSourcesRequest",
      "result_model": "ConnectorDraftKnownSourcesResult",
      "runnable_example": "mammoth connector draft known-sources"
    },
    "connector draft list": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "status",
          "required": false,
          "type": "str"
        }
      ],
      "agent_example": "mammoth connector draft list --input '{\"status\": \"all\"}'",
      "command_id": "connector.draft.list",
      "contract_level": "typed",
      "description": "List the project's connector drafts, newest first.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth connector draft list --help",
      "notes": [],
      "positionals": [],
      "request_model": "ConnectorDraftListRequest",
      "result_model": "ConnectorDraftListResult",
      "runnable_example": "mammoth connector draft list --input '{\"status\": \"all\"}'"
    },
    "connector draft open": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "ref",
          "required": true,
          "type": "str"
        },
        {
          "default": null,
          "enum": null,
          "name": "name",
          "required": true,
          "type": "str"
        }
      ],
      "agent_example": "mammoth connector draft open 123 --input '{\"ref\": \"sheet-ref\", \"name\": \"Sales 2026\"}'",
      "command_id": "connector.draft.open",
      "contract_level": "typed",
      "description": "Open a workbook into the draft: each tab becomes a table of the draft.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth connector draft open DRAFT_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the draft.",
          "metavar": "DRAFT_ID",
          "name": "draft_id",
          "required": true,
          "type": "int"
        }
      ],
      "request_model": "ConnectorDraftOpenRequest",
      "result_model": "ConnectorDraftOpenResult",
      "runnable_example": "mammoth connector draft open 123 --input '{\"ref\": \"sheet-ref\", \"name\": \"Sales 2026\"}'"
    },
    "connector draft read-tables": {
      "accepted_fields": [],
      "agent_example": "mammoth connector draft read-tables 123",
      "command_id": "connector.draft.read-tables",
      "contract_level": "typed",
      "description": "Queue reading again every table not read yet, and every one a try failed on.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth connector draft read-tables DRAFT_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the draft.",
          "metavar": "DRAFT_ID",
          "name": "draft_id",
          "required": true,
          "type": "int"
        }
      ],
      "request_model": "ConnectorDraftReadTablesRequest",
      "result_model": "ConnectorDraftReadTablesResult",
      "runnable_example": "mammoth connector draft read-tables 123"
    },
    "connector draft sample": {
      "accepted_fields": [],
      "agent_example": "mammoth connector draft sample 123 deals_2026-10.csv",
      "command_id": "connector.draft.sample",
      "contract_level": "typed",
      "description": "Shape the draft's table from a sample CSV, TSV or Excel file.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth connector draft sample DRAFT_ID PATH --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the connector draft.",
          "metavar": "DRAFT_ID",
          "name": "draft_id",
          "required": true,
          "type": "int"
        },
        {
          "falls_back_to_field": null,
          "help": "Path to a local CSV, TSV or Excel file shaped like the table wanted.",
          "kind": "local_path",
          "metavar": "PATH",
          "name": "path",
          "required": true,
          "type": "str"
        }
      ],
      "request_model": "ConnectorDraftSampleRequest",
      "result_model": "ConnectorDraftSampleResult",
      "runnable_example": "mammoth connector draft sample 123 deals_2026-10.csv"
    },
    "connector draft save": {
      "accepted_fields": [
        {
          "default": "manual",
          "enum": null,
          "name": "refresh",
          "required": false,
          "type": "str"
        },
        {
          "default": null,
          "enum": null,
          "name": "dataset_name",
          "required": false,
          "type": "str"
        },
        {
          "default": null,
          "enum": null,
          "name": "folder_resource_id",
          "required": false,
          "type": "int"
        }
      ],
      "agent_example": "mammoth connector draft save 123 --input '{\"refresh\": \"daily\", \"dataset_name\": \"HubSpot deals\"}'",
      "command_id": "connector.draft.save",
      "contract_level": "typed",
      "description": "Start the job that saves a draft.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth connector draft save DRAFT_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the draft.",
          "metavar": "DRAFT_ID",
          "name": "draft_id",
          "required": true,
          "type": "int"
        }
      ],
      "request_model": "ConnectorDraftSaveRequest",
      "result_model": "ConnectorDraftSaveResult",
      "runnable_example": "mammoth connector draft save 123 --input '{\"refresh\": \"daily\", \"dataset_name\": \"HubSpot deals\"}'"
    },
    "connector draft source join-candidates": {
      "accepted_fields": [],
      "agent_example": "mammoth connector draft source join-candidates 123 resource-123",
      "command_id": "connector.draft.source.join-candidates",
      "contract_level": "typed",
      "description": "List the column pairs that could join a source onto the main one.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth connector draft source join-candidates DRAFT_ID SOURCE_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the draft.",
          "metavar": "DRAFT_ID",
          "name": "draft_id",
          "required": true,
          "type": "int"
        },
        {
          "falls_back_to_field": null,
          "help": "ID of the source.",
          "metavar": "SOURCE_ID",
          "name": "source_id",
          "required": true,
          "type": "str"
        }
      ],
      "request_model": "ConnectorDraftSourceJoinCandidatesRequest",
      "result_model": "ConnectorDraftSourceJoinCandidatesResult",
      "runnable_example": "mammoth connector draft source join-candidates 123 resource-123"
    },
    "connector draft source list": {
      "accepted_fields": [],
      "agent_example": "mammoth connector draft source list 123",
      "command_id": "connector.draft.source.list",
      "contract_level": "typed",
      "description": "List a draft's sources.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth connector draft source list DRAFT_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the draft.",
          "metavar": "DRAFT_ID",
          "name": "draft_id",
          "required": true,
          "type": "int"
        }
      ],
      "request_model": "ConnectorDraftSourceListRequest",
      "result_model": "ConnectorDraftSourceListResult",
      "runnable_example": "mammoth connector draft source list 123"
    },
    "connector draft source preview": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "limit",
          "required": false,
          "type": "int"
        }
      ],
      "agent_example": "mammoth connector draft source preview 123 resource-123 --input '{\"limit\": 20}'",
      "command_id": "connector.draft.source.preview",
      "contract_level": "typed",
      "description": "Read up to 'limit' rows of one source through its connection.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth connector draft source preview DRAFT_ID SOURCE_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the draft.",
          "metavar": "DRAFT_ID",
          "name": "draft_id",
          "required": true,
          "type": "int"
        },
        {
          "falls_back_to_field": null,
          "help": "ID of the source.",
          "metavar": "SOURCE_ID",
          "name": "source_id",
          "required": true,
          "type": "str"
        }
      ],
      "request_model": "ConnectorDraftSourcePreviewRequest",
      "result_model": "ConnectorDraftSourcePreviewResult",
      "runnable_example": "mammoth connector draft source preview 123 resource-123 --input '{\"limit\": 20}'"
    },
    "connector draft spec get": {
      "accepted_fields": [],
      "agent_example": "mammoth connector draft spec get 123",
      "command_id": "connector.draft.spec.get",
      "contract_level": "typed",
      "description": "Read the spec an AI-built connector's draft is building, with secrets left out.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth connector draft spec get DRAFT_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the draft.",
          "metavar": "DRAFT_ID",
          "name": "draft_id",
          "required": true,
          "type": "int"
        }
      ],
      "request_model": "ConnectorDraftSpecGetRequest",
      "result_model": "ConnectorDraftSpecGetResult",
      "runnable_example": "mammoth connector draft spec get 123"
    },
    "connector draft update": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "title",
          "required": false,
          "type": "str"
        },
        {
          "default": null,
          "enum": null,
          "name": "target_columns",
          "required": false,
          "type": "list[dict[str, any]]"
        },
        {
          "default": null,
          "enum": null,
          "name": "sources",
          "required": false,
          "type": "list[dict[str, any]]"
        },
        {
          "default": null,
          "enum": null,
          "name": "primary_source_id",
          "required": false,
          "type": "str"
        },
        {
          "default": null,
          "enum": null,
          "name": "joins",
          "required": false,
          "type": "list[dict[str, any]]"
        },
        {
          "default": null,
          "enum": null,
          "name": "echo",
          "required": false,
          "type": "str"
        }
      ],
      "agent_example": "mammoth connector draft update 123 --input '{\"title\": \"HubSpot deals\"}'",
      "command_id": "connector.draft.update",
      "contract_level": "typed",
      "description": "Change a draft.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth connector draft update DRAFT_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the draft.",
          "metavar": "DRAFT_ID",
          "name": "draft_id",
          "required": true,
          "type": "int"
        }
      ],
      "request_model": "ConnectorDraftUpdateRequest",
      "result_model": "ConnectorDraftUpdateResult",
      "runnable_example": "mammoth connector draft update 123 --input '{\"title\": \"HubSpot deals\"}'"
    },
    "connector ds-config create": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "query",
          "required": false,
          "type": "str"
        },
        {
          "default": null,
          "enum": null,
          "name": "file_source",
          "required": false,
          "type": "str"
        },
        {
          "default": null,
          "enum": null,
          "name": "table",
          "required": false,
          "type": "str"
        },
        {
          "default": null,
          "enum": null,
          "name": "profile",
          "required": false,
          "type": "str"
        },
        {
          "default": true,
          "enum": null,
          "name": "validate",
          "required": false,
          "type": "bool"
        },
        {
          "default": false,
          "enum": null,
          "name": "data_sample",
          "required": false,
          "type": "bool"
        }
      ],
      "agent_example": "mammoth connector ds-config create postgres prod-warehouse --yes",
      "command_id": "connector.ds-config.create",
      "contract_level": "typed",
      "description": "Sample a data source config; REST 'query' is a JSON string. '--yes' always needed.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth connector ds-config create CONNECTOR_KEY CONNECTION_KEY --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "Key identifying the connector.",
          "metavar": "CONNECTOR_KEY",
          "name": "connector_key",
          "required": true,
          "type": "str"
        },
        {
          "falls_back_to_field": null,
          "help": "Key identifying the connection.",
          "metavar": "CONNECTION_KEY",
          "name": "connection_key",
          "required": true,
          "type": "str"
        }
      ],
      "request_model": "ConnectorDsConfigCreateRequest",
      "result_model": "ConnectorDsConfigCreateResult",
      "runnable_example": "mammoth connector ds-config create postgres prod-warehouse --yes"
    },
    "connector ds-config delete": {
      "accepted_fields": [],
      "agent_example": "mammoth connector ds-config delete postgres prod-warehouse orders-config --yes",
      "command_id": "connector.ds-config.delete",
      "contract_level": "typed",
      "description": "Delete a data source configuration. Prompt or '--yes' required.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth connector ds-config delete CONNECTOR_KEY CONNECTION_KEY DS_CONFIG_KEY --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "Key identifying the connector.",
          "metavar": "CONNECTOR_KEY",
          "name": "connector_key",
          "required": true,
          "type": "str"
        },
        {
          "falls_back_to_field": null,
          "help": "Key identifying the connection.",
          "metavar": "CONNECTION_KEY",
          "name": "connection_key",
          "required": true,
          "type": "str"
        },
        {
          "falls_back_to_field": null,
          "help": "Key identifying the ds config.",
          "metavar": "DS_CONFIG_KEY",
          "name": "ds_config_key",
          "required": true,
          "type": "str"
        }
      ],
      "request_model": "ConnectorDsConfigDeleteRequest",
      "result_model": "ConnectorDsConfigDeleteResult",
      "runnable_example": "mammoth connector ds-config delete postgres prod-warehouse orders-config --yes"
    },
    "connector ds-config delete-all": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "config_ids",
          "required": true,
          "type": "list[str] | str"
        }
      ],
      "agent_example": "mammoth connector ds-config delete-all postgres prod-warehouse --input '{\"config_ids\": [\"resource-123\"]}' --yes",
      "command_id": "connector.ds-config.delete-all",
      "contract_level": "typed",
      "description": "Bulk-delete data source configurations for a connection. Prompt or '--yes' required.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth connector ds-config delete-all CONNECTOR_KEY CONNECTION_KEY --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "Key identifying the connector.",
          "metavar": "CONNECTOR_KEY",
          "name": "connector_key",
          "required": true,
          "type": "str"
        },
        {
          "falls_back_to_field": null,
          "help": "Key identifying the connection.",
          "metavar": "CONNECTION_KEY",
          "name": "connection_key",
          "required": true,
          "type": "str"
        }
      ],
      "request_model": "ConnectorDsConfigDeleteAllRequest",
      "result_model": "ConnectorDsConfigDeleteAllResult",
      "runnable_example": "mammoth connector ds-config delete-all postgres prod-warehouse --input '{\"config_ids\": [\"resource-123\"]}' --yes"
    },
    "connector ds-config get": {
      "accepted_fields": [],
      "agent_example": "mammoth connector ds-config get postgres prod-warehouse orders-config",
      "command_id": "connector.ds-config.get",
      "contract_level": "typed",
      "description": "Get one data source configuration by key.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth connector ds-config get CONNECTOR_KEY CONNECTION_KEY DS_CONFIG_KEY --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "Key identifying the connector.",
          "metavar": "CONNECTOR_KEY",
          "name": "connector_key",
          "required": true,
          "type": "str"
        },
        {
          "falls_back_to_field": null,
          "help": "Key identifying the connection.",
          "metavar": "CONNECTION_KEY",
          "name": "connection_key",
          "required": true,
          "type": "str"
        },
        {
          "falls_back_to_field": null,
          "help": "Key identifying the ds config.",
          "metavar": "DS_CONFIG_KEY",
          "name": "ds_config_key",
          "required": true,
          "type": "str"
        }
      ],
      "request_model": "ConnectorDsConfigGetRequest",
      "result_model": "ConnectorDsConfigGetResult",
      "runnable_example": "mammoth connector ds-config get postgres prod-warehouse orders-config"
    },
    "connector ds-config list": {
      "accepted_fields": [],
      "agent_example": "mammoth connector ds-config list postgres prod-warehouse",
      "command_id": "connector.ds-config.list",
      "contract_level": "typed",
      "description": "List data source configurations for a connection.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth connector ds-config list CONNECTOR_KEY CONNECTION_KEY --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "Key identifying the connector.",
          "metavar": "CONNECTOR_KEY",
          "name": "connector_key",
          "required": true,
          "type": "str"
        },
        {
          "falls_back_to_field": null,
          "help": "Key identifying the connection.",
          "metavar": "CONNECTION_KEY",
          "name": "connection_key",
          "required": true,
          "type": "str"
        }
      ],
      "request_model": "ConnectorDsConfigListRequest",
      "result_model": "ConnectorDsConfigListResult",
      "runnable_example": "mammoth connector ds-config list postgres prod-warehouse"
    },
    "connector ds-config update": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "patch",
          "required": true,
          "type": "list[DsConfigPatchOp]"
        }
      ],
      "agent_example": "mammoth connector ds-config update postgres prod-warehouse orders-config --input '{\"patch\": [{\"op\": \"replace\", \"path\": \"query\", \"value\": \"SELECT * FROM orders\"}]}' --yes",
      "command_id": "connector.ds-config.update",
      "contract_level": "typed",
      "description": "Update a data source configuration via JSON-patch ops. '--yes' is always required.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth connector ds-config update CONNECTOR_KEY CONNECTION_KEY DS_CONFIG_KEY --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "Key identifying the connector.",
          "metavar": "CONNECTOR_KEY",
          "name": "connector_key",
          "required": true,
          "type": "str"
        },
        {
          "falls_back_to_field": null,
          "help": "Key identifying the connection.",
          "metavar": "CONNECTION_KEY",
          "name": "connection_key",
          "required": true,
          "type": "str"
        },
        {
          "falls_back_to_field": null,
          "help": "Key identifying the ds config.",
          "metavar": "DS_CONFIG_KEY",
          "name": "ds_config_key",
          "required": true,
          "type": "str"
        }
      ],
      "request_model": "ConnectorDsConfigUpdateRequest",
      "result_model": "ConnectorDsConfigUpdateResult",
      "runnable_example": "mammoth connector ds-config update postgres prod-warehouse orders-config --input '{\"patch\": [{\"op\": \"replace\", \"path\": \"query\", \"value\": \"SELECT * FROM orders\"}]}' --yes"
    },
    "connector get": {
      "accepted_fields": [],
      "agent_example": "mammoth connector get postgres",
      "command_id": "connector.get",
      "contract_level": "typed",
      "description": "Get one connector's details by key (workspace-scoped, no project).",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth connector get CONNECTOR_KEY --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "Key identifying the connector.",
          "metavar": "CONNECTOR_KEY",
          "name": "connector_key",
          "required": true,
          "type": "str"
        }
      ],
      "request_model": "ConnectorGetRequest",
      "result_model": "ConnectorGetResult",
      "runnable_example": "mammoth connector get postgres"
    },
    "connector list": {
      "accepted_fields": [],
      "agent_example": "mammoth connector list",
      "command_id": "connector.list",
      "contract_level": "typed",
      "description": "List all available connectors (workspace-scoped, no project).",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth connector list --help",
      "notes": [],
      "positionals": [],
      "request_model": "ConnectorListRequest",
      "result_model": "ConnectorListResult",
      "runnable_example": "mammoth connector list"
    },
    "connector query generate": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "query",
          "required": true,
          "type": "str"
        },
        {
          "default": null,
          "enum": null,
          "name": "profile",
          "required": false,
          "type": "str"
        }
      ],
      "agent_example": "mammoth connector query generate postgres prod-warehouse --input '{\"query\": \"Total sales for January\"}'",
      "command_id": "connector.query.generate",
      "contract_level": "typed",
      "description": "Generate a query for a connector using AI. 'query' (the intent) is required input.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth connector query generate CONNECTOR_KEY CONNECTION_KEY --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "Key identifying the connector.",
          "metavar": "CONNECTOR_KEY",
          "name": "connector_key",
          "required": true,
          "type": "str"
        },
        {
          "falls_back_to_field": null,
          "help": "Key identifying the connection.",
          "metavar": "CONNECTION_KEY",
          "name": "connection_key",
          "required": true,
          "type": "str"
        }
      ],
      "request_model": "ConnectorQueryGenerateRequest",
      "result_model": "ConnectorQueryGenerateResult",
      "runnable_example": "mammoth connector query generate postgres prod-warehouse --input '{\"query\": \"Total sales for January\"}'"
    },
    "connector query status": {
      "accepted_fields": [],
      "agent_example": "mammoth connector query status postgres prod-warehouse",
      "command_id": "connector.query.status",
      "contract_level": "typed",
      "description": "Get the status of an AI chat session for a connector connection.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth connector query status CONNECTOR_KEY CONNECTION_KEY --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "Key identifying the connector.",
          "metavar": "CONNECTOR_KEY",
          "name": "connector_key",
          "required": true,
          "type": "str"
        },
        {
          "falls_back_to_field": null,
          "help": "Key identifying the connection.",
          "metavar": "CONNECTION_KEY",
          "name": "connection_key",
          "required": true,
          "type": "str"
        }
      ],
      "request_model": "ConnectorQueryStatusRequest",
      "result_model": "ConnectorQueryStatusResult",
      "runnable_example": "mammoth connector query status postgres prod-warehouse"
    },
    "connector version spec get": {
      "accepted_fields": [],
      "agent_example": "mammoth connector version spec get isams_ab12cd34 123",
      "command_id": "connector.version.spec.get",
      "contract_level": "typed",
      "description": "Read one stored version of the workspace's AI-built connector, secrets left out.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth connector version spec get CONNECTOR_SLUG VERSION --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "The connector's slug, as 'connector draft spec get' shows it.",
          "metavar": "CONNECTOR_SLUG",
          "name": "connector_slug",
          "required": true,
          "type": "str"
        },
        {
          "falls_back_to_field": null,
          "help": "The version number, from 1.",
          "metavar": "VERSION",
          "name": "version",
          "required": true,
          "type": "int"
        }
      ],
      "request_model": "ConnectorVersionSpecGetRequest",
      "result_model": "ConnectorVersionSpecGetResult",
      "runnable_example": "mammoth connector version spec get isams_ab12cd34 123"
    },
    "context project clear": {
      "accepted_fields": [],
      "agent_example": "mammoth context project clear",
      "command_id": "context.project.clear",
      "contract_level": "typed",
      "description": "Clear the active project id for one profile. Idempotent.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth context project clear --help",
      "notes": [],
      "positionals": [],
      "request_model": "ContextProjectClearRequest",
      "result_model": "ContextProjectClearResult",
      "runnable_example": "mammoth context project clear"
    },
    "context project status": {
      "accepted_fields": [],
      "agent_example": "mammoth context project status",
      "command_id": "context.project.status",
      "contract_level": "typed",
      "description": "Report the resolved active project id for one profile.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth context project status --help",
      "notes": [],
      "positionals": [],
      "request_model": "ContextProjectStatusRequest",
      "result_model": "ContextProjectStatusResult",
      "runnable_example": "mammoth context project status"
    },
    "context project use": {
      "accepted_fields": [],
      "agent_example": "mammoth context project use 123",
      "command_id": "context.project.use",
      "contract_level": "typed",
      "description": "Save a positive project id as the active project for one profile.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth context project use PROJECT_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "Positive project id to make active.",
          "metavar": "PROJECT_ID",
          "name": "project_id",
          "required": true,
          "type": "int"
        }
      ],
      "request_model": "ContextProjectUseRequest",
      "result_model": "ContextProjectUseResult",
      "runnable_example": "mammoth context project use 123"
    },
    "context show": {
      "accepted_fields": [],
      "agent_example": "mammoth context show",
      "command_id": "context.show",
      "contract_level": "typed",
      "description": "Show the profile, endpoint, workspace and project the next command would use.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth context show --help",
      "notes": [],
      "positionals": [],
      "request_model": "ContextShowRequest",
      "result_model": "ContextShowResult",
      "runnable_example": "mammoth context show"
    },
    "dashboard action": {
      "accepted_fields": [
        {
          "default": null,
          "enum": [
            "sync",
            "publish-data",
            "publish-presentation",
            "unpublish",
            "auto-sync",
            "auto-publish",
            "delete-source",
            "restore",
            "set-rls-config"
          ],
          "name": "action",
          "required": true,
          "type": "DashboardActionType"
        },
        {
          "default": null,
          "enum": null,
          "name": "params_enabled",
          "required": false,
          "type": "bool"
        },
        {
          "default": null,
          "enum": null,
          "name": "params_view_id",
          "required": false,
          "type": "int"
        },
        {
          "default": null,
          "enum": null,
          "name": "params_sequence",
          "required": false,
          "type": "int"
        },
        {
          "default": null,
          "enum": null,
          "name": "params_filter_column",
          "required": false,
          "type": "str"
        }
      ],
      "agent_example": "mammoth dashboard action 123 --input '{\"action\": \"sync\"}' --yes",
      "command_id": "dashboard.action",
      "contract_level": "typed",
      "description": "Apply a lifecycle action to a dashboard. Always requires '--yes'.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth dashboard action DASHBOARD_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the dashboard.",
          "metavar": "DASHBOARD_ID",
          "name": "dashboard_id",
          "required": true,
          "type": "int"
        }
      ],
      "request_model": "DashboardActionRequest",
      "result_model": "DashboardActionResult",
      "runnable_example": "mammoth dashboard action 123 --input '{\"action\": \"sync\"}' --yes"
    },
    "dashboard analytics": {
      "accepted_fields": [],
      "agent_example": "mammoth dashboard analytics 123",
      "command_id": "dashboard.analytics",
      "contract_level": "typed",
      "description": "Get analytics for one dashboard by id.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth dashboard analytics DASHBOARD_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the dashboard.",
          "metavar": "DASHBOARD_ID",
          "name": "dashboard_id",
          "required": true,
          "type": "int"
        }
      ],
      "request_model": "DashboardAnalyticsRequest",
      "result_model": "DashboardAnalyticsResult",
      "runnable_example": "mammoth dashboard analytics 123"
    },
    "dashboard archive": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "archived",
          "required": true,
          "type": "bool"
        }
      ],
      "agent_example": "mammoth dashboard archive 123 --input '{\"archived\": true}' --yes --confirm 123",
      "command_id": "dashboard.archive",
      "contract_level": "typed",
      "description": "Set the archived state of one dashboard with exact target confirmation.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth dashboard archive DASHBOARD_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the dashboard.",
          "metavar": "DASHBOARD_ID",
          "name": "dashboard_id",
          "required": true,
          "type": "int"
        }
      ],
      "request_model": "DashboardArchiveRequest",
      "result_model": "DashboardArchiveResult",
      "runnable_example": "mammoth dashboard archive 123 --input '{\"archived\": true}' --yes --confirm 123"
    },
    "dashboard assess-pbix": {
      "accepted_fields": [],
      "agent_example": "mammoth dashboard assess-pbix Sales.pbix",
      "command_id": "dashboard.assess-pbix",
      "contract_level": "typed",
      "description": "Assess a local Power BI workbook through the SDK multipart seam.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth dashboard assess-pbix FILE --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "Path to a local workbook.",
          "kind": "local_path",
          "metavar": "FILE",
          "name": "file",
          "required": true,
          "type": "str"
        }
      ],
      "request_model": "DashboardAssessPbixRequest",
      "result_model": "PbixAssessResponse",
      "runnable_example": "mammoth dashboard assess-pbix Sales.pbix"
    },
    "dashboard assess-twb": {
      "accepted_fields": [],
      "agent_example": "mammoth dashboard assess-twb Sales.twb",
      "command_id": "dashboard.assess-twb",
      "contract_level": "typed",
      "description": "Assess a local Tableau workbook through the SDK multipart seam.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth dashboard assess-twb FILE --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "Path to a local workbook.",
          "kind": "local_path",
          "metavar": "FILE",
          "name": "file",
          "required": true,
          "type": "str"
        }
      ],
      "request_model": "DashboardAssessTwbRequest",
      "result_model": "TwbAssessResponse",
      "runnable_example": "mammoth dashboard assess-twb Sales.twb"
    },
    "dashboard attachment-create": {
      "accepted_fields": [],
      "agent_example": "mammoth dashboard attachment-create Sales.pbix",
      "command_id": "dashboard.attachment-create",
      "contract_level": "typed",
      "description": "Upload a local workbook as a chat attachment. File path is positional.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth dashboard attachment-create FILE --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "Path to a local workbook.",
          "kind": "local_path",
          "metavar": "FILE",
          "name": "file",
          "required": true,
          "type": "str"
        }
      ],
      "request_model": "DashboardAttachmentCreateRequest",
      "result_model": "DashboardAttachmentCreateResult",
      "runnable_example": "mammoth dashboard attachment-create Sales.pbix"
    },
    "dashboard audience digest get": {
      "accepted_fields": [],
      "agent_example": "mammoth dashboard audience digest get 123",
      "command_id": "dashboard.audience.digest.get",
      "contract_level": "typed",
      "description": "Get the caller's weekly audience email setting for one board.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth dashboard audience digest get DASHBOARD_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the dashboard.",
          "metavar": "DASHBOARD_ID",
          "name": "dashboard_id",
          "required": true,
          "type": "int"
        }
      ],
      "request_model": "DashboardAudienceDigestGetRequest",
      "result_model": "DashboardAudienceDigestGetResult",
      "runnable_example": "mammoth dashboard audience digest get 123"
    },
    "dashboard audience digest set": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "enabled",
          "required": true,
          "type": "bool"
        }
      ],
      "agent_example": "mammoth dashboard audience digest set 123 --input '{\"enabled\": true}'",
      "command_id": "dashboard.audience.digest.set",
      "contract_level": "typed",
      "description": "Store the caller's choice for one board's weekly audience email.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth dashboard audience digest set DASHBOARD_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the dashboard.",
          "metavar": "DASHBOARD_ID",
          "name": "dashboard_id",
          "required": true,
          "type": "int"
        }
      ],
      "request_model": "DashboardAudienceDigestSetRequest",
      "result_model": "DashboardAudienceDigestSetResult",
      "runnable_example": "mammoth dashboard audience digest set 123 --input '{\"enabled\": true}'"
    },
    "dashboard audience get": {
      "accepted_fields": [
        {
          "default": 7,
          "enum": null,
          "name": "days",
          "required": false,
          "type": "int"
        }
      ],
      "agent_example": "mammoth dashboard audience get 123",
      "command_id": "dashboard.audience.get",
      "contract_level": "typed",
      "description": "Get who read a board: totals, daily series, viewers, reach and actions.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth dashboard audience get DASHBOARD_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the dashboard.",
          "metavar": "DASHBOARD_ID",
          "name": "dashboard_id",
          "required": true,
          "type": "int"
        }
      ],
      "request_model": "DashboardAudienceGetRequest",
      "result_model": "DashboardAudienceGetResult",
      "runnable_example": "mammoth dashboard audience get 123"
    },
    "dashboard audience summary": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "dashboard_ids",
          "required": true,
          "type": "list[int]"
        }
      ],
      "agent_example": "mammoth dashboard audience summary --input '{\"dashboard_ids\": [1]}'",
      "command_id": "dashboard.audience.summary",
      "contract_level": "typed",
      "description": "Get views per board for the dashboard library: several boards in one call.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth dashboard audience summary --help",
      "notes": [],
      "positionals": [],
      "request_model": "DashboardAudienceSummaryRequest",
      "result_model": "DashboardAudienceSummaryResult",
      "runnable_example": "mammoth dashboard audience summary --input '{\"dashboard_ids\": [1]}'"
    },
    "dashboard bi-export": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "output_path",
          "required": false,
          "type": "str | pathlib.Path | None"
        },
        {
          "default": null,
          "enum": [
            "powerbi",
            "tableau"
          ],
          "name": "target",
          "required": true,
          "type": "typing.Literal['powerbi', 'tableau']"
        }
      ],
      "agent_example": "mammoth dashboard bi-export 123 --input '{\"target\": \"powerbi\"}'",
      "command_id": "dashboard.bi-export",
      "contract_level": "typed",
      "description": "Download this dashboard as a Power BI project (.zip) or Tableau workbook (.twbx).",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth dashboard bi-export DASHBOARD_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the dashboard.",
          "metavar": "DASHBOARD_ID",
          "name": "dashboard_id",
          "required": true,
          "type": "int"
        }
      ],
      "request_model": "DashboardBiExportRequest",
      "result_model": "DashboardBiExportResult",
      "runnable_example": "mammoth dashboard bi-export 123 --input '{\"target\": \"powerbi\"}'"
    },
    "dashboard bi-preflight": {
      "accepted_fields": [
        {
          "default": null,
          "enum": [
            "powerbi",
            "tableau"
          ],
          "name": "target",
          "required": true,
          "type": "typing.Literal['powerbi', 'tableau']"
        }
      ],
      "agent_example": "mammoth dashboard bi-preflight 123 --input '{\"target\": \"powerbi\"}'",
      "command_id": "dashboard.bi-preflight",
      "contract_level": "typed",
      "description": "What a Power BI or Tableau export of this dashboard would carry.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth dashboard bi-preflight DASHBOARD_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the dashboard.",
          "metavar": "DASHBOARD_ID",
          "name": "dashboard_id",
          "required": true,
          "type": "int"
        }
      ],
      "request_model": "DashboardBiPreflightRequest",
      "result_model": "PowerBiPreflightResponse",
      "runnable_example": "mammoth dashboard bi-preflight 123 --input '{\"target\": \"powerbi\"}'"
    },
    "dashboard cancel-generation": {
      "accepted_fields": [],
      "agent_example": "mammoth dashboard cancel-generation 123",
      "command_id": "dashboard.cancel-generation",
      "contract_level": "typed",
      "description": "Cancel an in-progress dashboard generation.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth dashboard cancel-generation DASHBOARD_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the dashboard.",
          "metavar": "DASHBOARD_ID",
          "name": "dashboard_id",
          "required": true,
          "type": "int"
        }
      ],
      "request_model": "DashboardCancelGenerationRequest",
      "result_model": "DashboardCancelGenerationResult",
      "runnable_example": "mammoth dashboard cancel-generation 123"
    },
    "dashboard canvas get": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "sequence",
          "required": false,
          "type": "int"
        },
        {
          "default": null,
          "enum": null,
          "name": "rls_preview_value",
          "required": false,
          "type": "str"
        }
      ],
      "agent_example": "mammoth dashboard canvas get 123",
      "command_id": "dashboard.canvas.get",
      "contract_level": "typed",
      "description": "Get a dashboard's draft canvas, as the editor shows it.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth dashboard canvas get DASHBOARD_ID --help",
      "notes": [
        "The result leaves out detail you rarely need. Pass --full for all of it."
      ],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the dashboard.",
          "metavar": "DASHBOARD_ID",
          "name": "dashboard_id",
          "required": true,
          "type": "int"
        }
      ],
      "request_model": "DashboardCanvasGetRequest",
      "result_model": "DashboardCanvasGetResult",
      "runnable_example": "mammoth dashboard canvas get 123"
    },
    "dashboard canvas restore": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "body",
          "required": true,
          "type": "RestoreCanvasSpec"
        }
      ],
      "agent_example": "mammoth dashboard canvas restore 123 --input '{\"body\": {\"params\": {\"target_sequence\": 1}}}'",
      "command_id": "dashboard.canvas.restore",
      "contract_level": "partially_typed",
      "description": "Undo, redo or revert the draft canvas to a target version.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth dashboard canvas restore DASHBOARD_ID --help",
      "notes": [
        "The result is compact: ids, checks, verify and a canvas summary. Pass --full for the complete response."
      ],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the dashboard.",
          "metavar": "DASHBOARD_ID",
          "name": "dashboard_id",
          "required": true,
          "type": "int"
        }
      ],
      "request_model": "DashboardCanvasRestoreRequest",
      "result_model": "DashboardCanvasRestoreResult",
      "runnable_example": "mammoth dashboard canvas restore 123 --input '{\"body\": {\"params\": {\"target_sequence\": 1}}}'"
    },
    "dashboard canvas save": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "body",
          "required": true,
          "type": "SaveCanvasSpec"
        }
      ],
      "agent_example": "mammoth dashboard canvas save 123 --input '{\"body\": {\"params\": {\"canvas\": {}}}}'",
      "command_id": "dashboard.canvas.save",
      "contract_level": "partially_typed",
      "description": "Save the draft canvas as a new version.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth dashboard canvas save DASHBOARD_ID --help",
      "notes": [
        "The result is compact: ids, checks, verify and a canvas summary. Pass --full for the complete response."
      ],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the dashboard.",
          "metavar": "DASHBOARD_ID",
          "name": "dashboard_id",
          "required": true,
          "type": "int"
        }
      ],
      "request_model": "DashboardCanvasSaveRequest",
      "result_model": "DashboardCanvasSaveResult",
      "runnable_example": "mammoth dashboard canvas save 123 --input '{\"body\": {\"params\": {\"canvas\": {}}}}'"
    },
    "dashboard chart-type create": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "body",
          "required": true,
          "type": "dict[str, any]"
        }
      ],
      "agent_example": "mammoth dashboard chart-type create --input '{\"body\": {\"params\": {\"name\": \"Lollipop\", \"recipe\": {\"version\": 1, \"layout\": \"rows\", \"names\": {\"field\": \"region\", \"position\": \"before\"}, \"order\": {\"field\": \"sales\", \"dir\": \"desc\"}, \"marks\": [{\"mark\": \"segment\", \"colour\": \"muted\", \"size\": {\"field\": \"sales\"}}, {\"mark\": \"circle\", \"colour\": \"primary\", \"size\": {\"field\": \"sales\"}}]}, \"needs\": [{\"field\": \"region\", \"type\": \"text\", \"role\": \"dim\", \"label\": \"Category\"}, {\"field\": \"sales\", \"type\": \"number\", \"role\": \"measure\", \"label\": \"Value\"}], \"binding_template\": {\"agg\": \"sum\"}}}}'",
      "command_id": "dashboard.chart-type.create",
      "contract_level": "partially_typed",
      "description": "Save a custom chart as a workspace chart type (owners, admins and members).",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth dashboard chart-type create --help",
      "notes": [],
      "positionals": [],
      "request_model": "DashboardChartTypeCreateRequest",
      "result_model": "DashboardChartTypeCreateResult",
      "runnable_example": "mammoth dashboard chart-type create --input '{\"body\": {\"params\": {\"name\": \"Lollipop\", \"recipe\": {\"version\": 1, \"layout\": \"rows\", \"names\": {\"field\": \"region\", \"position\": \"before\"}, \"order\": {\"field\": \"sales\", \"dir\": \"desc\"}, \"marks\": [{\"mark\": \"segment\", \"colour\": \"muted\", \"size\": {\"field\": \"sales\"}}, {\"mark\": \"circle\", \"colour\": \"primary\", \"size\": {\"field\": \"sales\"}}]}, \"needs\": [{\"field\": \"region\", \"type\": \"text\", \"role\": \"dim\", \"label\": \"Category\"}, {\"field\": \"sales\", \"type\": \"number\", \"role\": \"measure\", \"label\": \"Value\"}], \"binding_template\": {\"agg\": \"sum\"}}}}'"
    },
    "dashboard chart-type delete": {
      "accepted_fields": [],
      "agent_example": "mammoth dashboard chart-type delete resource-123 --yes",
      "command_id": "dashboard.chart-type.delete",
      "contract_level": "typed",
      "description": "Delete a workspace chart type (workspace owners, admins and members).",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth dashboard chart-type delete CHART_TYPE_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the chart type.",
          "metavar": "CHART_TYPE_ID",
          "name": "chart_type_id",
          "required": true,
          "type": "str"
        }
      ],
      "request_model": "DashboardChartTypeDeleteRequest",
      "result_model": "DashboardChartTypeDeleteResult",
      "runnable_example": "mammoth dashboard chart-type delete resource-123 --yes"
    },
    "dashboard chart-type list": {
      "accepted_fields": [],
      "agent_example": "mammoth dashboard chart-type list",
      "command_id": "dashboard.chart-type.list",
      "contract_level": "typed",
      "description": "List the workspace's saved chart types, newest first.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth dashboard chart-type list --help",
      "notes": [],
      "positionals": [],
      "request_model": "DashboardChartTypeListRequest",
      "result_model": "DashboardChartTypeListResult",
      "runnable_example": "mammoth dashboard chart-type list"
    },
    "dashboard chat attachment upload": {
      "accepted_fields": [],
      "agent_example": "mammoth dashboard chat attachment upload 123 notes.pdf",
      "command_id": "dashboard.chat.attachment.upload",
      "contract_level": "typed",
      "description": "Attach a local file to a dashboard's editor chat; the result's 'ref' goes in a turn.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth dashboard chat attachment upload DASHBOARD_ID FILE --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the dashboard.",
          "metavar": "DASHBOARD_ID",
          "name": "dashboard_id",
          "required": true,
          "type": "int"
        },
        {
          "falls_back_to_field": null,
          "help": "Path to a local file to attach to the dashboard chat.",
          "kind": "local_path",
          "metavar": "FILE",
          "name": "file",
          "required": true,
          "type": "str"
        }
      ],
      "request_model": "DashboardChatAttachmentUploadRequest",
      "result_model": "DashboardChatAttachmentUploadResult",
      "runnable_example": "mammoth dashboard chat attachment upload 123 notes.pdf"
    },
    "dashboard chat edit": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "body",
          "required": true,
          "type": "ChatEditSpec"
        }
      ],
      "agent_example": "mammoth dashboard chat edit 123 --input '{\"body\": {\"params\": {\"prompt\": \"Summarize revenue by region\"}}}'",
      "command_id": "dashboard.chat.edit",
      "contract_level": "partially_typed",
      "description": "Send one chat message that edits the dashboard.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth dashboard chat edit DASHBOARD_ID --help",
      "notes": [
        "The result is compact: ids, checks, verify and a canvas summary. Pass --full for the complete response."
      ],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the dashboard.",
          "metavar": "DASHBOARD_ID",
          "name": "dashboard_id",
          "required": true,
          "type": "int"
        }
      ],
      "request_model": "DashboardChatEditRequest",
      "result_model": "DashboardChatEditResult",
      "runnable_example": "mammoth dashboard chat edit 123 --input '{\"body\": {\"params\": {\"prompt\": \"Summarize revenue by region\"}}}'"
    },
    "dashboard chat history": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "sequence",
          "required": false,
          "type": "int"
        }
      ],
      "agent_example": "mammoth dashboard chat history 123",
      "command_id": "dashboard.chat.history",
      "contract_level": "typed",
      "description": "Get a dashboard's editor chat transcript.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth dashboard chat history DASHBOARD_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the dashboard.",
          "metavar": "DASHBOARD_ID",
          "name": "dashboard_id",
          "required": true,
          "type": "int"
        }
      ],
      "request_model": "DashboardChatHistoryRequest",
      "result_model": "DashboardChatHistoryResult",
      "runnable_example": "mammoth dashboard chat history 123"
    },
    "dashboard columns": {
      "accepted_fields": [],
      "agent_example": "mammoth dashboard columns 123",
      "command_id": "dashboard.columns",
      "contract_level": "typed",
      "description": "Get every column of a board's source dataset with its profile.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth dashboard columns DASHBOARD_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the dashboard.",
          "metavar": "DASHBOARD_ID",
          "name": "dashboard_id",
          "required": true,
          "type": "int"
        }
      ],
      "request_model": "DashboardColumnsRequest",
      "result_model": "DashboardColumnsResult",
      "runnable_example": "mammoth dashboard columns 123"
    },
    "dashboard context apply": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "keep",
          "required": false,
          "type": "list[str]"
        },
        {
          "default": null,
          "enum": null,
          "name": "base_sequence",
          "required": false,
          "type": "int"
        }
      ],
      "agent_example": "mammoth dashboard context apply 123 resource-123 --yes --confirm 123",
      "command_id": "dashboard.context.apply",
      "contract_level": "typed",
      "description": "Write the candidate a context review proposed, as a new canvas version.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth dashboard context apply DASHBOARD_ID REVIEW_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the dashboard.",
          "metavar": "DASHBOARD_ID",
          "name": "dashboard_id",
          "required": true,
          "type": "int"
        },
        {
          "falls_back_to_field": null,
          "help": "ID of the review.",
          "metavar": "REVIEW_ID",
          "name": "review_id",
          "required": true,
          "type": "str"
        }
      ],
      "request_model": "DashboardContextApplyRequest",
      "result_model": "DashboardContextApplyResult",
      "runnable_example": "mammoth dashboard context apply 123 resource-123 --yes --confirm 123"
    },
    "dashboard context create": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "body",
          "required": true,
          "type": "ContextSpec"
        }
      ],
      "agent_example": "mammoth dashboard context create --input '{\"body\": {\"params\": {\"name\": \"Revenue report\"}}}'",
      "command_id": "dashboard.context.create",
      "contract_level": "partially_typed",
      "description": "Create a workspace context that dashboards can apply.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth dashboard context create --help",
      "notes": [],
      "positionals": [],
      "request_model": "DashboardContextCreateRequest",
      "result_model": "DashboardContextCreateResult",
      "runnable_example": "mammoth dashboard context create --input '{\"body\": {\"params\": {\"name\": \"Revenue report\"}}}'"
    },
    "dashboard context delete": {
      "accepted_fields": [],
      "agent_example": "mammoth dashboard context delete resource-123 --yes",
      "command_id": "dashboard.context.delete",
      "contract_level": "typed",
      "description": "Delete a workspace context.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth dashboard context delete CONTEXT_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the context.",
          "metavar": "CONTEXT_ID",
          "name": "context_id",
          "required": true,
          "type": "str"
        }
      ],
      "request_model": "DashboardContextDeleteRequest",
      "result_model": "DashboardContextDeleteResult",
      "runnable_example": "mammoth dashboard context delete resource-123 --yes"
    },
    "dashboard context extract": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "body",
          "required": true,
          "type": "ContextExtractSpec"
        }
      ],
      "agent_example": "mammoth dashboard context extract --input '{\"body\": {\"params\": {\"name\": \"Revenue report\"}}}'",
      "command_id": "dashboard.context.extract",
      "contract_level": "partially_typed",
      "description": "Extract a context file into slot suggestions (release route).",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth dashboard context extract --help",
      "notes": [],
      "positionals": [],
      "request_model": "ContextExtractSpec",
      "result_model": "ContextExtractResponse",
      "runnable_example": "mammoth dashboard context extract --input '{\"body\": {\"params\": {\"name\": \"Revenue report\"}}}'"
    },
    "dashboard context list": {
      "accepted_fields": [],
      "agent_example": "mammoth dashboard context list",
      "command_id": "dashboard.context.list",
      "contract_level": "typed",
      "description": "List the workspace's contexts.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth dashboard context list --help",
      "notes": [],
      "positionals": [],
      "request_model": "DashboardContextListRequest",
      "result_model": "DashboardContextListResult",
      "runnable_example": "mammoth dashboard context list"
    },
    "dashboard context review": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "scope",
          "required": false,
          "type": "str"
        },
        {
          "default": null,
          "enum": null,
          "name": "note",
          "required": false,
          "type": "str"
        },
        {
          "default": false,
          "enum": null,
          "name": "fresh",
          "required": false,
          "type": "bool"
        }
      ],
      "agent_example": "mammoth dashboard context review 123",
      "command_id": "dashboard.context.review",
      "contract_level": "typed",
      "description": "Dry-run what applying a board's current context would change.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth dashboard context review DASHBOARD_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the dashboard.",
          "metavar": "DASHBOARD_ID",
          "name": "dashboard_id",
          "required": true,
          "type": "int"
        }
      ],
      "request_model": "DashboardContextReviewRequest",
      "result_model": "DashboardContextReviewResult",
      "runnable_example": "mammoth dashboard context review 123"
    },
    "dashboard context update": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "body",
          "required": true,
          "type": "ContextSpec"
        }
      ],
      "agent_example": "mammoth dashboard context update resource-123 --input '{\"body\": {\"params\": {\"name\": \"Revenue report\"}}}'",
      "command_id": "dashboard.context.update",
      "contract_level": "partially_typed",
      "description": "Update a workspace context.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth dashboard context update CONTEXT_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the context.",
          "metavar": "CONTEXT_ID",
          "name": "context_id",
          "required": true,
          "type": "str"
        }
      ],
      "request_model": "DashboardContextUpdateRequest",
      "result_model": "DashboardContextUpdateResult",
      "runnable_example": "mammoth dashboard context update resource-123 --input '{\"body\": {\"params\": {\"name\": \"Revenue report\"}}}'"
    },
    "dashboard create-blank": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "params",
          "required": true,
          "type": "CreateBlankParams"
        }
      ],
      "agent_example": "mammoth dashboard create-blank --input '{\"params\": {\"dataview_id\": 1}}' --yes",
      "command_id": "dashboard.create-blank",
      "contract_level": "typed",
      "description": "Create an empty v3 dashboard bound to a dataview.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth dashboard create-blank --help",
      "notes": [],
      "positionals": [],
      "request_model": "DashboardCreateBlankRequest",
      "result_model": "DashboardCreateBlankResult",
      "runnable_example": "mammoth dashboard create-blank --input '{\"params\": {\"dataview_id\": 1}}' --yes"
    },
    "dashboard data draft": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "widget_id",
          "required": true,
          "type": "str"
        },
        {
          "default": null,
          "enum": null,
          "name": "global_filters",
          "required": false,
          "type": "dict[str, any]"
        },
        {
          "default": null,
          "enum": null,
          "name": "drilldown_filters",
          "required": false,
          "type": "dict[str, any]"
        }
      ],
      "agent_example": "mammoth dashboard data draft 123 --input '{\"widget_id\": \"550e8400-e29b-41d4-a716-446655440000\"}'",
      "command_id": "dashboard.data.draft",
      "contract_level": "typed",
      "description": "Read one widget's rows from a dashboard's draft state. Fields come from '--input'.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth dashboard data draft DASHBOARD_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the dashboard.",
          "metavar": "DASHBOARD_ID",
          "name": "dashboard_id",
          "required": true,
          "type": "int"
        }
      ],
      "request_model": "DashboardDataDraftRequest",
      "result_model": "DashboardDataDraftResult",
      "runnable_example": "mammoth dashboard data draft 123 --input '{\"widget_id\": \"550e8400-e29b-41d4-a716-446655440000\"}'"
    },
    "dashboard data published": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "widget_id",
          "required": true,
          "type": "str"
        },
        {
          "default": null,
          "enum": null,
          "name": "global_filters",
          "required": false,
          "type": "dict[str, any]"
        },
        {
          "default": null,
          "enum": null,
          "name": "drilldown_filters",
          "required": false,
          "type": "dict[str, any]"
        }
      ],
      "agent_example": "mammoth dashboard data published 123 --input '{\"widget_id\": \"550e8400-e29b-41d4-a716-446655440000\"}'",
      "command_id": "dashboard.data.published",
      "contract_level": "typed",
      "description": "Read one widget's rows from a dashboard's published state. Fields from '--input'.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth dashboard data published DASHBOARD_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the dashboard.",
          "metavar": "DASHBOARD_ID",
          "name": "dashboard_id",
          "required": true,
          "type": "int"
        }
      ],
      "request_model": "DashboardDataPublishedRequest",
      "result_model": "DashboardDataPublishedResult",
      "runnable_example": "mammoth dashboard data published 123 --input '{\"widget_id\": \"550e8400-e29b-41d4-a716-446655440000\"}'"
    },
    "dashboard delete": {
      "accepted_fields": [],
      "agent_example": "mammoth dashboard delete 123 --yes",
      "command_id": "dashboard.delete",
      "contract_level": "typed",
      "description": "Permanently delete one dashboard by id. Prompt or '--yes' required.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth dashboard delete DASHBOARD_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the dashboard.",
          "metavar": "DASHBOARD_ID",
          "name": "dashboard_id",
          "required": true,
          "type": "int"
        }
      ],
      "request_model": "DashboardDeleteRequest",
      "result_model": "DashboardDeleteResult",
      "runnable_example": "mammoth dashboard delete 123 --yes"
    },
    "dashboard descriptor-data": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "body",
          "required": true,
          "type": "DescriptorDataSpec"
        }
      ],
      "agent_example": "mammoth dashboard descriptor-data 123 --input '{\"body\": {\"params\": {\"descriptor_ids\": [\"ef28f9bcc263c0f7\"], \"filter_state\": {\"Month\": [\"2025-01-01\", \"2025-03-31\"]}}}}'",
      "command_id": "dashboard.descriptor-data",
      "contract_level": "partially_typed",
      "description": "Start an asynchronous fetch of a dashboard's descriptor data.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth dashboard descriptor-data DASHBOARD_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the dashboard.",
          "metavar": "DASHBOARD_ID",
          "name": "dashboard_id",
          "required": true,
          "type": "int"
        }
      ],
      "request_model": "DashboardDescriptorDataRequest",
      "result_model": "DashboardDescriptorDataResult",
      "runnable_example": "mammoth dashboard descriptor-data 123 --input '{\"body\": {\"params\": {\"descriptor_ids\": [\"ef28f9bcc263c0f7\"], \"filter_state\": {\"Month\": [\"2025-01-01\", \"2025-03-31\"]}}}}'"
    },
    "dashboard duplicate": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "target_dataview_id",
          "required": false,
          "type": "int"
        }
      ],
      "agent_example": "mammoth dashboard duplicate 123",
      "command_id": "dashboard.duplicate",
      "contract_level": "typed",
      "description": "Copy a v3 dashboard; with 'target_dataview_id' also wait for its data swap.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth dashboard duplicate DASHBOARD_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the dashboard.",
          "metavar": "DASHBOARD_ID",
          "name": "dashboard_id",
          "required": true,
          "type": "int"
        }
      ],
      "request_model": "DashboardDuplicateRequest",
      "result_model": "DashboardDuplicateResult",
      "runnable_example": "mammoth dashboard duplicate 123"
    },
    "dashboard email-updates get": {
      "accepted_fields": [],
      "agent_example": "mammoth dashboard email-updates get 123",
      "command_id": "dashboard.email-updates.get",
      "contract_level": "typed",
      "description": "A dashboard's email updates.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth dashboard email-updates get DASHBOARD_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the dashboard.",
          "metavar": "DASHBOARD_ID",
          "name": "dashboard_id",
          "required": true,
          "type": "int"
        }
      ],
      "request_model": "DashboardEmailUpdatesGetRequest",
      "result_model": "DashboardEmailUpdatesGetResult",
      "runnable_example": "mammoth dashboard email-updates get 123"
    },
    "dashboard email-updates list": {
      "accepted_fields": [],
      "agent_example": "mammoth dashboard email-updates list",
      "command_id": "dashboard.email-updates.list",
      "contract_level": "typed",
      "description": "Email updates in this workspace.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth dashboard email-updates list --help",
      "notes": [],
      "positionals": [],
      "request_model": "DashboardEmailUpdatesListRequest",
      "result_model": "DashboardEmailUpdatesListResult",
      "runnable_example": "mammoth dashboard email-updates list"
    },
    "dashboard email-updates me get": {
      "accepted_fields": [],
      "agent_example": "mammoth dashboard email-updates me get 123",
      "command_id": "dashboard.email-updates.me.get",
      "contract_level": "typed",
      "description": "Whether I get this dashboard's email updates.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth dashboard email-updates me get DASHBOARD_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the dashboard.",
          "metavar": "DASHBOARD_ID",
          "name": "dashboard_id",
          "required": true,
          "type": "int"
        }
      ],
      "request_model": "DashboardEmailUpdatesMeGetRequest",
      "result_model": "DashboardEmailUpdatesMeGetResult",
      "runnable_example": "mammoth dashboard email-updates me get 123"
    },
    "dashboard email-updates me set": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "body",
          "required": true,
          "type": "EmailUpdateSubscriptionBody"
        }
      ],
      "agent_example": "mammoth dashboard email-updates me set 123 --input '{\"body\": {\"subscribed\": true}}'",
      "command_id": "dashboard.email-updates.me.set",
      "contract_level": "partially_typed",
      "description": "Turn my email updates for this dashboard back on, or off.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth dashboard email-updates me set DASHBOARD_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the dashboard.",
          "metavar": "DASHBOARD_ID",
          "name": "dashboard_id",
          "required": true,
          "type": "int"
        }
      ],
      "request_model": "DashboardEmailUpdatesMeSetRequest",
      "result_model": "DashboardEmailUpdatesMeSetResult",
      "runnable_example": "mammoth dashboard email-updates me set 123 --input '{\"body\": {\"subscribed\": true}}'"
    },
    "dashboard email-updates set": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "body",
          "required": true,
          "type": "EmailUpdateSettingsBody"
        }
      ],
      "agent_example": "mammoth dashboard email-updates set 123 --input '{\"body\": {\"enabled\": true, \"timezone\": \"UTC\"}}' --yes",
      "command_id": "dashboard.email-updates.set",
      "contract_level": "partially_typed",
      "description": "Turn a dashboard's email updates on, off, or change them.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth dashboard email-updates set DASHBOARD_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the dashboard.",
          "metavar": "DASHBOARD_ID",
          "name": "dashboard_id",
          "required": true,
          "type": "int"
        }
      ],
      "request_model": "DashboardEmailUpdatesSetRequest",
      "result_model": "DashboardEmailUpdatesSetResult",
      "runnable_example": "mammoth dashboard email-updates set 123 --input '{\"body\": {\"enabled\": true, \"timezone\": \"UTC\"}}' --yes"
    },
    "dashboard email-updates test": {
      "accepted_fields": [],
      "agent_example": "mammoth dashboard email-updates test 123 --yes",
      "command_id": "dashboard.email-updates.test",
      "contract_level": "typed",
      "description": "Send me a test email update.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth dashboard email-updates test DASHBOARD_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the dashboard.",
          "metavar": "DASHBOARD_ID",
          "name": "dashboard_id",
          "required": true,
          "type": "int"
        }
      ],
      "request_model": "DashboardEmailUpdatesTestRequest",
      "result_model": "DashboardEmailUpdatesTestResult",
      "runnable_example": "mammoth dashboard email-updates test 123 --yes"
    },
    "dashboard embed config get": {
      "accepted_fields": [],
      "agent_example": "mammoth dashboard embed config get 123",
      "command_id": "dashboard.embed.config.get",
      "contract_level": "typed",
      "description": "Read a board's embed settings.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth dashboard embed config get DASHBOARD_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the dashboard.",
          "metavar": "DASHBOARD_ID",
          "name": "dashboard_id",
          "required": true,
          "type": "int"
        }
      ],
      "request_model": "DashboardEmbedConfigGetRequest",
      "result_model": "DashboardEmbedConfigGetResult",
      "runnable_example": "mammoth dashboard embed config get 123"
    },
    "dashboard embed config set": {
      "accepted_fields": [
        {
          "default": null,
          "enum": [
            "key",
            "signed"
          ],
          "name": "mode",
          "required": false,
          "type": "typing.Literal['key', 'signed']"
        },
        {
          "default": null,
          "enum": null,
          "name": "allow_any_origin",
          "required": false,
          "type": "bool"
        },
        {
          "default": null,
          "enum": null,
          "name": "allowed_origins",
          "required": false,
          "type": "list[str]"
        },
        {
          "default": null,
          "enum": null,
          "name": "appearance",
          "required": false,
          "type": "dict[str, any]"
        },
        {
          "default": null,
          "enum": null,
          "name": "snippet",
          "required": false,
          "type": "dict[str, any]"
        }
      ],
      "agent_example": "mammoth dashboard embed config set 123 --yes --confirm 123",
      "command_id": "dashboard.embed.config.set",
      "contract_level": "typed",
      "description": "Save a board's embed settings (mode, origin allowlist, appearance).",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth dashboard embed config set DASHBOARD_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the dashboard.",
          "metavar": "DASHBOARD_ID",
          "name": "dashboard_id",
          "required": true,
          "type": "int"
        }
      ],
      "request_model": "DashboardEmbedConfigSetRequest",
      "result_model": "DashboardEmbedConfigSetResult",
      "runnable_example": "mammoth dashboard embed config set 123 --yes --confirm 123"
    },
    "dashboard embed key rotate": {
      "accepted_fields": [
        {
          "default": true,
          "enum": null,
          "name": "keep_previous",
          "required": false,
          "type": "bool"
        }
      ],
      "agent_example": "mammoth dashboard embed key rotate 123 --yes --confirm 123",
      "command_id": "dashboard.embed.key.rotate",
      "contract_level": "typed",
      "description": "Create or rotate a board's embed key (Basic embeds).",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth dashboard embed key rotate DASHBOARD_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the dashboard.",
          "metavar": "DASHBOARD_ID",
          "name": "dashboard_id",
          "required": true,
          "type": "int"
        }
      ],
      "request_model": "DashboardEmbedKeyRotateRequest",
      "result_model": "DashboardEmbedKeyRotateResult",
      "runnable_example": "mammoth dashboard embed key rotate 123 --yes --confirm 123"
    },
    "dashboard embed lifetime set": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "token_ttl",
          "required": true,
          "type": "int"
        }
      ],
      "agent_example": "mammoth dashboard embed lifetime set 123 --input '{\"token_ttl\": 900}'",
      "command_id": "dashboard.embed.lifetime.set",
      "contract_level": "typed",
      "description": "Set how long an embed viewer session lives for a workspace.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth dashboard embed lifetime set WORKSPACE_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the workspace.",
          "metavar": "WORKSPACE_ID",
          "name": "workspace_id",
          "required": true,
          "type": "int"
        }
      ],
      "request_model": "DashboardEmbedLifetimeSetRequest",
      "result_model": "DashboardEmbedLifetimeSetResult",
      "runnable_example": "mammoth dashboard embed lifetime set 123 --input '{\"token_ttl\": 900}'"
    },
    "dashboard embed origin revoke": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "origin",
          "required": true,
          "type": "str"
        }
      ],
      "agent_example": "mammoth dashboard embed origin revoke 123 --input '{\"origin\": \"https://example.com\"}' --yes --confirm 123",
      "command_id": "dashboard.embed.origin.revoke",
      "contract_level": "typed",
      "description": "Remove one origin from a board's embed allowlist.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth dashboard embed origin revoke DASHBOARD_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the dashboard.",
          "metavar": "DASHBOARD_ID",
          "name": "dashboard_id",
          "required": true,
          "type": "int"
        }
      ],
      "request_model": "DashboardEmbedOriginRevokeRequest",
      "result_model": "DashboardEmbedOriginRevokeResult",
      "runnable_example": "mammoth dashboard embed origin revoke 123 --input '{\"origin\": \"https://example.com\"}' --yes --confirm 123"
    },
    "dashboard embed preview-token create": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "claims",
          "required": false,
          "type": "dict[str, any]"
        }
      ],
      "agent_example": "mammoth dashboard embed preview-token create 123",
      "command_id": "dashboard.embed.preview-token.create",
      "contract_level": "typed",
      "description": "Mint a preview token for the embed simulator (editor-only).",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth dashboard embed preview-token create DASHBOARD_ID --help",
      "notes": [
        "The credential in the result is masked. Pass --reveal to print it; it is shown only once."
      ],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the dashboard.",
          "metavar": "DASHBOARD_ID",
          "name": "dashboard_id",
          "required": true,
          "type": "int"
        }
      ],
      "request_model": "DashboardEmbedPreviewTokenCreateRequest",
      "result_model": "DashboardEmbedPreviewTokenCreateResult",
      "runnable_example": "mammoth dashboard embed preview-token create 123"
    },
    "dashboard embed secret rotate": {
      "accepted_fields": [],
      "agent_example": "mammoth dashboard embed secret rotate 123 --yes --confirm 123",
      "command_id": "dashboard.embed.secret.rotate",
      "contract_level": "typed",
      "description": "Create or rotate the workspace's embed signing secret (owners/admins).",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth dashboard embed secret rotate WORKSPACE_ID --help",
      "notes": [
        "The credential in the result is masked. Pass --reveal to print it; it is shown only once."
      ],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the workspace.",
          "metavar": "WORKSPACE_ID",
          "name": "workspace_id",
          "required": true,
          "type": "int"
        }
      ],
      "request_model": "DashboardEmbedSecretRotateRequest",
      "result_model": "DashboardEmbedSecretRotateResult",
      "runnable_example": "mammoth dashboard embed secret rotate 123 --yes --confirm 123"
    },
    "dashboard embed usage get": {
      "accepted_fields": [],
      "agent_example": "mammoth dashboard embed usage get 123",
      "command_id": "dashboard.embed.usage.get",
      "contract_level": "typed",
      "description": "Get one board's embed registry: origins, tiles and render counts.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth dashboard embed usage get DASHBOARD_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the dashboard.",
          "metavar": "DASHBOARD_ID",
          "name": "dashboard_id",
          "required": true,
          "type": "int"
        }
      ],
      "request_model": "DashboardEmbedUsageGetRequest",
      "result_model": "DashboardEmbedUsageGetResult",
      "runnable_example": "mammoth dashboard embed usage get 123"
    },
    "dashboard embed usage summary": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "dashboard_ids",
          "required": true,
          "type": "list[int]"
        }
      ],
      "agent_example": "mammoth dashboard embed usage summary --input '{\"dashboard_ids\": [1]}'",
      "command_id": "dashboard.embed.usage.summary",
      "contract_level": "typed",
      "description": "Count the active embed origins of several boards in one call.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth dashboard embed usage summary --help",
      "notes": [],
      "positionals": [],
      "request_model": "DashboardEmbedUsageSummaryRequest",
      "result_model": "DashboardEmbedUsageSummaryResult",
      "runnable_example": "mammoth dashboard embed usage summary --input '{\"dashboard_ids\": [1]}'"
    },
    "dashboard engagement get": {
      "accepted_fields": [
        {
          "default": 30,
          "enum": null,
          "name": "days",
          "required": false,
          "type": "int"
        },
        {
          "default": "all",
          "enum": null,
          "name": "viewers",
          "required": false,
          "type": "str"
        }
      ],
      "agent_example": "mammoth dashboard engagement get 123",
      "command_id": "dashboard.engagement.get",
      "contract_level": "typed",
      "description": "Show who has opened a dashboard: reach, depth, devices and actions.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth dashboard engagement get DASHBOARD_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the dashboard.",
          "metavar": "DASHBOARD_ID",
          "name": "dashboard_id",
          "required": true,
          "type": "int"
        }
      ],
      "request_model": "DashboardEngagementGetRequest",
      "result_model": "DashboardEngagementGetResult",
      "runnable_example": "mammoth dashboard engagement get 123"
    },
    "dashboard engagement person": {
      "accepted_fields": [
        {
          "default": 30,
          "enum": null,
          "name": "days",
          "required": false,
          "type": "int"
        }
      ],
      "agent_example": "mammoth dashboard engagement person 123 456",
      "command_id": "dashboard.engagement.person",
      "contract_level": "typed",
      "description": "Show one person's recent visits to a dashboard. Dashboard id and user id are positional.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth dashboard engagement person DASHBOARD_ID USER_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the dashboard.",
          "metavar": "DASHBOARD_ID",
          "name": "dashboard_id",
          "required": true,
          "type": "int"
        },
        {
          "falls_back_to_field": null,
          "help": "ID of the user.",
          "metavar": "USER_ID",
          "name": "user_id",
          "required": true,
          "type": "int"
        }
      ],
      "request_model": "DashboardEngagementPersonRequest",
      "result_model": "DashboardEngagementPersonResult",
      "runnable_example": "mammoth dashboard engagement person 123 456"
    },
    "dashboard engagement remind": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "user_ids",
          "required": true,
          "type": "list[int]"
        }
      ],
      "agent_example": "mammoth dashboard engagement remind 123 --input '{\"user_ids\": [1]}' --yes",
      "command_id": "dashboard.engagement.remind",
      "contract_level": "typed",
      "description": "Email the share link again to people who have not opened a dashboard.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth dashboard engagement remind DASHBOARD_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the dashboard.",
          "metavar": "DASHBOARD_ID",
          "name": "dashboard_id",
          "required": true,
          "type": "int"
        }
      ],
      "request_model": "DashboardEngagementRemindRequest",
      "result_model": "DashboardEngagementRemindResult",
      "runnable_example": "mammoth dashboard engagement remind 123 --input '{\"user_ids\": [1]}' --yes"
    },
    "dashboard exemplar extract": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "body",
          "required": true,
          "type": "ExemplarExtractSpec"
        }
      ],
      "agent_example": "mammoth dashboard exemplar extract --input '{\"body\": {\"params\": {\"name\": \"Revenue report\"}}}'",
      "command_id": "dashboard.exemplar.extract",
      "contract_level": "partially_typed",
      "description": "Extract an example report into an editable dashboard spec.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth dashboard exemplar extract --help",
      "notes": [],
      "positionals": [],
      "request_model": "ExemplarExtractSpec",
      "result_model": "ExemplarExtractResponse",
      "runnable_example": "mammoth dashboard exemplar extract --input '{\"body\": {\"params\": {\"name\": \"Revenue report\"}}}'"
    },
    "dashboard figure add": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "dataview_id",
          "required": true,
          "type": "int"
        },
        {
          "default": null,
          "enum": null,
          "name": "figure",
          "required": true,
          "type": "dict[str, any]"
        },
        {
          "default": null,
          "enum": null,
          "name": "banded",
          "required": false,
          "type": "dict[str, any]"
        },
        {
          "default": null,
          "enum": null,
          "name": "intent",
          "required": false,
          "type": "str"
        },
        {
          "default": null,
          "enum": null,
          "name": "kind",
          "required": false,
          "type": "str"
        },
        {
          "default": null,
          "enum": null,
          "name": "page",
          "required": false,
          "type": "dict[str, any]"
        }
      ],
      "agent_example": "mammoth dashboard figure add 123 --input '{\"dataview_id\": 1, \"figure\": {\"kind\": \"hbar\", \"title\": \"Revenue by region\", \"dim\": \"Region\", \"measure\": \"Revenue\", \"agg\": \"sum\"}}'",
      "command_id": "dashboard.figure.add",
      "contract_level": "typed",
      "description": "Add one figure to a dashboard, from an intent or an exact figure spec.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth dashboard figure add DASHBOARD_ID --help",
      "notes": [
        "The result is compact: ids, checks, verify and a canvas summary. Pass --full for the complete response."
      ],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the dashboard.",
          "metavar": "DASHBOARD_ID",
          "name": "dashboard_id",
          "required": true,
          "type": "int"
        }
      ],
      "request_model": "DashboardFigureAddRequest",
      "result_model": "DashboardFigureAddResult",
      "runnable_example": "mammoth dashboard figure add 123 --input '{\"dataview_id\": 1, \"figure\": {\"kind\": \"hbar\", \"title\": \"Revenue by region\", \"dim\": \"Region\", \"measure\": \"Revenue\", \"agg\": \"sum\"}}'"
    },
    "dashboard figure drill": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "body",
          "required": true,
          "type": "dict[str, any]"
        }
      ],
      "agent_example": "mammoth dashboard figure drill 123 --input '{\"body\": {\"params\": {\"figure\": \"p1:add:t-Eh6h-ImH\", \"path\": [{\"key\": \"West\"}]}}}'",
      "command_id": "dashboard.figure.drill",
      "contract_level": "partially_typed",
      "description": "Drill one mark of a draft board's figure one level down (editors).",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth dashboard figure drill DASHBOARD_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the dashboard.",
          "metavar": "DASHBOARD_ID",
          "name": "dashboard_id",
          "required": true,
          "type": "int"
        }
      ],
      "request_model": "DashboardFigureDrillRequest",
      "result_model": "DashboardFigureDrillResult",
      "runnable_example": "mammoth dashboard figure drill 123 --input '{\"body\": {\"params\": {\"figure\": \"p1:add:t-Eh6h-ImH\", \"path\": [{\"key\": \"West\"}]}}}'"
    },
    "dashboard figure recipe": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "body",
          "required": true,
          "type": "dict[str, any]"
        }
      ],
      "agent_example": "mammoth dashboard figure recipe 123 --input '{\"body\": {\"params\": {\"describe\": \"Revenue by region as bars\"}}}'",
      "command_id": "dashboard.figure.recipe",
      "contract_level": "partially_typed",
      "description": "Turn a described chart into a figure spec: a library chart, or a custom drawing.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth dashboard figure recipe DASHBOARD_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the dashboard.",
          "metavar": "DASHBOARD_ID",
          "name": "dashboard_id",
          "required": true,
          "type": "int"
        }
      ],
      "request_model": "DashboardFigureRecipeRequest",
      "result_model": "DashboardFigureRecipeResult",
      "runnable_example": "mammoth dashboard figure recipe 123 --input '{\"body\": {\"params\": {\"describe\": \"Revenue by region as bars\"}}}'"
    },
    "dashboard figure rows": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "body",
          "required": true,
          "type": "dict[str, any]"
        }
      ],
      "agent_example": "mammoth dashboard figure rows 123 --input '{\"body\": {\"params\": {\"figure\": \"p1:add:t-Eh6h-ImH\", \"key\": \"West\"}}}'",
      "command_id": "dashboard.figure.rows",
      "contract_level": "partially_typed",
      "description": "Read the records behind one chart mark or KPI card of a draft board (editors).",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth dashboard figure rows DASHBOARD_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the dashboard.",
          "metavar": "DASHBOARD_ID",
          "name": "dashboard_id",
          "required": true,
          "type": "int"
        }
      ],
      "request_model": "DashboardFigureRowsRequest",
      "result_model": "DashboardFigureRowsResult",
      "runnable_example": "mammoth dashboard figure rows 123 --input '{\"body\": {\"params\": {\"figure\": \"p1:add:t-Eh6h-ImH\", \"key\": \"West\"}}}'"
    },
    "dashboard figure-intent": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "body",
          "required": true,
          "type": "FigureIntentSpec"
        }
      ],
      "agent_example": "mammoth dashboard figure-intent 123 --input '{\"body\": {\"params\": {\"intent\": \"Summarize revenue by region\"}}}'",
      "command_id": "dashboard.figure-intent",
      "contract_level": "partially_typed",
      "description": "Resolve an AI-add figure from an intent.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth dashboard figure-intent DASHBOARD_ID --help",
      "notes": [
        "The result is compact: ids, checks, verify and a canvas summary. Pass --full for the complete response."
      ],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the dashboard.",
          "metavar": "DASHBOARD_ID",
          "name": "dashboard_id",
          "required": true,
          "type": "int"
        }
      ],
      "request_model": "DashboardFigureIntentRequest",
      "result_model": "DashboardFigureIntentResult",
      "runnable_example": "mammoth dashboard figure-intent 123 --input '{\"body\": {\"params\": {\"intent\": \"Summarize revenue by region\"}}}'"
    },
    "dashboard filter add": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "field",
          "required": true,
          "type": "str"
        },
        {
          "default": null,
          "enum": [
            "multi",
            "dropdown",
            "chips",
            "search",
            "range",
            "motion"
          ],
          "name": "control",
          "required": false,
          "type": "typing.Literal['multi', 'dropdown', 'chips', 'search', 'range', 'motion']"
        },
        {
          "default": null,
          "enum": null,
          "name": "label",
          "required": false,
          "type": "str"
        },
        {
          "default": null,
          "enum": null,
          "name": "default",
          "required": false,
          "type": "list[str]"
        }
      ],
      "agent_example": "mammoth dashboard filter add 123 --input '{\"field\": \"Status\"}'",
      "command_id": "dashboard.filter.add",
      "contract_level": "typed",
      "description": "Add (or replace) the filter control on one column of a board.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth dashboard filter add DASHBOARD_ID --help",
      "notes": [
        "The result is compact: ids, checks, verify and a canvas summary. Pass --full for the complete response."
      ],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the dashboard.",
          "metavar": "DASHBOARD_ID",
          "name": "dashboard_id",
          "required": true,
          "type": "int"
        }
      ],
      "request_model": "DashboardFilterAddRequest",
      "result_model": "DashboardFilterResult",
      "runnable_example": "mammoth dashboard filter add 123 --input '{\"field\": \"Status\"}'"
    },
    "dashboard filter list": {
      "accepted_fields": [],
      "agent_example": "mammoth dashboard filter list 123",
      "command_id": "dashboard.filter.list",
      "contract_level": "typed",
      "description": "List the filter controls a board declares.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth dashboard filter list DASHBOARD_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the dashboard.",
          "metavar": "DASHBOARD_ID",
          "name": "dashboard_id",
          "required": true,
          "type": "int"
        }
      ],
      "request_model": "DashboardFilterListRequest",
      "result_model": "DashboardFilterResult",
      "runnable_example": "mammoth dashboard filter list 123"
    },
    "dashboard filter remove": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "field",
          "required": true,
          "type": "str"
        }
      ],
      "agent_example": "mammoth dashboard filter remove 123 --input '{\"field\": \"Status\"}'",
      "command_id": "dashboard.filter.remove",
      "contract_level": "typed",
      "description": "Remove the filter control on one column of a board.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth dashboard filter remove DASHBOARD_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the dashboard.",
          "metavar": "DASHBOARD_ID",
          "name": "dashboard_id",
          "required": true,
          "type": "int"
        }
      ],
      "request_model": "DashboardFilterRemoveRequest",
      "result_model": "DashboardFilterResult",
      "runnable_example": "mammoth dashboard filter remove 123 --input '{\"field\": \"Status\"}'"
    },
    "dashboard format-preview": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "style",
          "required": true,
          "type": "str"
        }
      ],
      "agent_example": "mammoth dashboard format-preview 123 --input '{\"style\": \"presentation\"}'",
      "command_id": "dashboard.format-preview",
      "contract_level": "typed",
      "description": "Dry-run a format switch: what carries over, what is added, what is lost.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth dashboard format-preview DASHBOARD_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the dashboard.",
          "metavar": "DASHBOARD_ID",
          "name": "dashboard_id",
          "required": true,
          "type": "int"
        }
      ],
      "request_model": "DashboardFormatPreviewRequest",
      "result_model": "DashboardFormatPreviewResult",
      "runnable_example": "mammoth dashboard format-preview 123 --input '{\"style\": \"presentation\"}'"
    },
    "dashboard gallery get": {
      "accepted_fields": [],
      "agent_example": "mammoth dashboard gallery get revenue-overview",
      "command_id": "dashboard.gallery.get",
      "contract_level": "typed",
      "description": "Get one template card from the public gallery.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth dashboard gallery get SLUG --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "Template slug.",
          "metavar": "SLUG",
          "name": "slug",
          "required": true,
          "type": "str"
        }
      ],
      "request_model": "DashboardGalleryGetRequest",
      "result_model": "DashboardGalleryGetResult",
      "runnable_example": "mammoth dashboard gallery get revenue-overview"
    },
    "dashboard gallery list": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "function",
          "required": false,
          "type": "str"
        },
        {
          "default": null,
          "enum": null,
          "name": "industry",
          "required": false,
          "type": "str"
        }
      ],
      "agent_example": "mammoth dashboard gallery list",
      "command_id": "dashboard.gallery.list",
      "contract_level": "typed",
      "description": "List the public template gallery: curated, live templates only.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth dashboard gallery list --help",
      "notes": [],
      "positionals": [],
      "request_model": "DashboardGalleryListRequest",
      "result_model": "DashboardGalleryListResult",
      "runnable_example": "mammoth dashboard gallery list"
    },
    "dashboard get": {
      "accepted_fields": [],
      "agent_example": "mammoth dashboard get 123",
      "command_id": "dashboard.get",
      "contract_level": "typed",
      "description": "Get one dashboard by id, with each KPI card's and tile's number and period.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth dashboard get DASHBOARD_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the dashboard.",
          "metavar": "DASHBOARD_ID",
          "name": "dashboard_id",
          "required": true,
          "type": "int"
        }
      ],
      "request_model": "DashboardGetRequest",
      "result_model": "DashboardGetResult",
      "runnable_example": "mammoth dashboard get 123"
    },
    "dashboard get-by-url": {
      "accepted_fields": [],
      "agent_example": "mammoth dashboard get-by-url https://example.com/data.csv",
      "command_id": "dashboard.get-by-url",
      "contract_level": "typed",
      "description": "Get one dashboard by its share url slug.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth dashboard get-by-url URL --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "URL slug identifying the resource.",
          "metavar": "URL",
          "name": "url",
          "required": true,
          "type": "str"
        }
      ],
      "request_model": "DashboardGetByUrlRequest",
      "result_model": "DashboardGetByUrlResult",
      "runnable_example": "mammoth dashboard get-by-url https://example.com/data.csv"
    },
    "dashboard import-workbook": {
      "accepted_fields": [],
      "agent_example": "mammoth dashboard import-workbook Sales.twbx --project 456 --yes --confirm 456",
      "command_id": "dashboard.import-workbook",
      "contract_level": "typed",
      "description": "Import a local workbook into a confirmed project scope.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth dashboard import-workbook FILE --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "Path to a local workbook.",
          "kind": "local_path",
          "metavar": "FILE",
          "name": "file",
          "required": true,
          "type": "str"
        }
      ],
      "request_model": "DashboardImportWorkbookRequest",
      "result_model": "ImportDatasetResponse",
      "runnable_example": "mammoth dashboard import-workbook Sales.twbx --project 456 --yes --confirm 456"
    },
    "dashboard job-by-url": {
      "accepted_fields": [],
      "agent_example": "mammoth dashboard job-by-url https://example.com/data.csv 123",
      "command_id": "dashboard.job-by-url",
      "contract_level": "typed",
      "description": "Get a job's status for a dashboard by URL and job-id positionals.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth dashboard job-by-url URL JOB_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "URL slug identifying the resource.",
          "metavar": "URL",
          "name": "url",
          "required": true,
          "type": "str"
        },
        {
          "falls_back_to_field": null,
          "help": "ID of the job.",
          "metavar": "JOB_ID",
          "name": "job_id",
          "required": true,
          "type": "int"
        }
      ],
      "request_model": "DashboardJobByUrlRequest",
      "result_model": "DashboardJobByUrlResult",
      "runnable_example": "mammoth dashboard job-by-url https://example.com/data.csv 123"
    },
    "dashboard list": {
      "accepted_fields": [],
      "agent_example": "mammoth dashboard list",
      "command_id": "dashboard.list",
      "contract_level": "typed",
      "description": "List dashboards in the active workspace.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth dashboard list --help",
      "notes": [],
      "positionals": [],
      "request_model": "DashboardListRequest",
      "result_model": "DashboardListResult",
      "runnable_example": "mammoth dashboard list"
    },
    "dashboard live-chart audience": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "body",
          "required": true,
          "type": "ChangeAudienceSpec"
        }
      ],
      "agent_example": "mammoth dashboard live-chart audience 123 --input '{\"body\": {\"params\": {\"audience\": \"workspace\"}}}' --yes --confirm 123",
      "command_id": "dashboard.live-chart.audience",
      "contract_level": "partially_typed",
      "description": "Change who can see a live chart.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth dashboard live-chart audience DASHBOARD_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the dashboard.",
          "metavar": "DASHBOARD_ID",
          "name": "dashboard_id",
          "required": true,
          "type": "int"
        }
      ],
      "request_model": "DashboardLiveChartAudienceRequest",
      "result_model": "DashboardLiveChartAudienceResult",
      "runnable_example": "mammoth dashboard live-chart audience 123 --input '{\"body\": {\"params\": {\"audience\": \"workspace\"}}}' --yes --confirm 123"
    },
    "dashboard live-chart create": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "body",
          "required": true,
          "type": "CreateLiveChartSpec"
        }
      ],
      "agent_example": "mammoth dashboard live-chart create --input '{\"body\": {\"params\": {\"view_id\": 1, \"figure\": {}, \"title\": \"Revenue report\"}}}'",
      "command_id": "dashboard.live-chart.create",
      "contract_level": "partially_typed",
      "description": "Make a chat chart live.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth dashboard live-chart create --help",
      "notes": [],
      "positionals": [],
      "request_model": "DashboardLiveChartCreateRequest",
      "result_model": "DashboardLiveChartCreateResult",
      "runnable_example": "mammoth dashboard live-chart create --input '{\"body\": {\"params\": {\"view_id\": 1, \"figure\": {}, \"title\": \"Revenue report\"}}}'"
    },
    "dashboard live-chart get": {
      "accepted_fields": [],
      "agent_example": "mammoth dashboard live-chart get 123",
      "command_id": "dashboard.live-chart.get",
      "contract_level": "typed",
      "description": "Read a live chart.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth dashboard live-chart get DASHBOARD_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the dashboard.",
          "metavar": "DASHBOARD_ID",
          "name": "dashboard_id",
          "required": true,
          "type": "int"
        }
      ],
      "request_model": "DashboardLiveChartGetRequest",
      "result_model": "DashboardLiveChartGetResult",
      "runnable_example": "mammoth dashboard live-chart get 123"
    },
    "dashboard live-chart list": {
      "accepted_fields": [],
      "agent_example": "mammoth dashboard live-chart list resource-123",
      "command_id": "dashboard.live-chart.list",
      "contract_level": "typed",
      "description": "The charts one chat made live.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth dashboard live-chart list SESSION_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the session.",
          "metavar": "SESSION_ID",
          "name": "session_id",
          "required": true,
          "type": "str"
        }
      ],
      "request_model": "DashboardLiveChartListRequest",
      "result_model": "DashboardLiveChartListResult",
      "runnable_example": "mammoth dashboard live-chart list resource-123"
    },
    "dashboard live-chart placement": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "body",
          "required": true,
          "type": "RecordPlacementSpec"
        }
      ],
      "agent_example": "mammoth dashboard live-chart placement 123 --input '{\"body\": {\"params\": {\"dashboard_id\": 1, \"figure_id\": \"resource-123\"}}}'",
      "command_id": "dashboard.live-chart.placement",
      "contract_level": "partially_typed",
      "description": "Record a dashboard the chart was added to.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth dashboard live-chart placement DASHBOARD_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the dashboard.",
          "metavar": "DASHBOARD_ID",
          "name": "dashboard_id",
          "required": true,
          "type": "int"
        }
      ],
      "request_model": "DashboardLiveChartPlacementRequest",
      "result_model": "DashboardLiveChartPlacementResult",
      "runnable_example": "mammoth dashboard live-chart placement 123 --input '{\"body\": {\"params\": {\"dashboard_id\": 1, \"figure_id\": \"resource-123\"}}}'"
    },
    "dashboard live-chart usage": {
      "accepted_fields": [],
      "agent_example": "mammoth dashboard live-chart usage 123",
      "command_id": "dashboard.live-chart.usage",
      "contract_level": "typed",
      "description": "Where a live chart is used.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth dashboard live-chart usage DASHBOARD_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the dashboard.",
          "metavar": "DASHBOARD_ID",
          "name": "dashboard_id",
          "required": true,
          "type": "int"
        }
      ],
      "request_model": "DashboardLiveChartUsageRequest",
      "result_model": "DashboardLiveChartUsageResult",
      "runnable_example": "mammoth dashboard live-chart usage 123"
    },
    "dashboard oembed": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "url",
          "required": false,
          "type": "str"
        },
        {
          "default": null,
          "enum": null,
          "name": "maxwidth",
          "required": false,
          "type": "str"
        },
        {
          "default": null,
          "enum": null,
          "name": "maxheight",
          "required": false,
          "type": "str"
        },
        {
          "default": null,
          "enum": null,
          "name": "format",
          "required": false,
          "type": "str"
        }
      ],
      "agent_example": "mammoth dashboard oembed",
      "command_id": "dashboard.oembed",
      "contract_level": "typed",
      "description": "oEmbed provider — a pasted board link, as a live embed.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth dashboard oembed --help",
      "notes": [],
      "positionals": [],
      "request_model": "DashboardOembedRequest",
      "result_model": "DashboardOembedResult",
      "runnable_example": "mammoth dashboard oembed"
    },
    "dashboard og-card": {
      "accepted_fields": [],
      "agent_example": "mammoth dashboard og-card 123",
      "command_id": "dashboard.og-card",
      "contract_level": "typed",
      "description": "Dashboard card thumbnail (draft or published PNG).",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth dashboard og-card DASHBOARD_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the dashboard.",
          "metavar": "DASHBOARD_ID",
          "name": "dashboard_id",
          "required": true,
          "type": "int"
        }
      ],
      "request_model": "DashboardOgCardRequest",
      "result_model": "DashboardOgCardResult",
      "runnable_example": "mammoth dashboard og-card 123"
    },
    "dashboard own-data accept": {
      "accepted_fields": [
        {
          "default": "proposal",
          "enum": null,
          "name": "choice",
          "required": false,
          "type": "str"
        },
        {
          "default": null,
          "enum": null,
          "name": "exclude",
          "required": false,
          "type": "list[str]"
        }
      ],
      "agent_example": "mammoth dashboard own-data accept 123 --yes --confirm 123",
      "command_id": "dashboard.own-data.accept",
      "contract_level": "typed",
      "description": "Apply the proposed 'use my data' version to a board; this changes it.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth dashboard own-data accept DASHBOARD_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the dashboard.",
          "metavar": "DASHBOARD_ID",
          "name": "dashboard_id",
          "required": true,
          "type": "int"
        }
      ],
      "request_model": "DashboardOwnDataAcceptRequest",
      "result_model": "DashboardOwnDataAcceptResult",
      "runnable_example": "mammoth dashboard own-data accept 123 --yes --confirm 123"
    },
    "dashboard own-data dismiss": {
      "accepted_fields": [],
      "agent_example": "mammoth dashboard own-data dismiss 123",
      "command_id": "dashboard.own-data.dismiss",
      "contract_level": "typed",
      "description": "Drop a board's pending 'use my data' run; the board is not changed.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth dashboard own-data dismiss DASHBOARD_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the dashboard.",
          "metavar": "DASHBOARD_ID",
          "name": "dashboard_id",
          "required": true,
          "type": "int"
        }
      ],
      "request_model": "DashboardOwnDataDismissRequest",
      "result_model": "DashboardOwnDataDismissResult",
      "runnable_example": "mammoth dashboard own-data dismiss 123"
    },
    "dashboard own-data preview": {
      "accepted_fields": [],
      "agent_example": "mammoth dashboard own-data preview 123",
      "command_id": "dashboard.own-data.preview",
      "contract_level": "typed",
      "description": "Preview a board on your own data as proposed, without saving it.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth dashboard own-data preview DASHBOARD_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the dashboard.",
          "metavar": "DASHBOARD_ID",
          "name": "dashboard_id",
          "required": true,
          "type": "int"
        }
      ],
      "request_model": "DashboardOwnDataPreviewRequest",
      "result_model": "DashboardOwnDataPreviewResult",
      "runnable_example": "mammoth dashboard own-data preview 123"
    },
    "dashboard own-data start": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "ingest_job_id",
          "required": false,
          "type": "int"
        },
        {
          "default": null,
          "enum": null,
          "name": "dataset_id",
          "required": false,
          "type": "int"
        },
        {
          "default": null,
          "enum": null,
          "name": "dataview_id",
          "required": false,
          "type": "int"
        },
        {
          "default": null,
          "enum": null,
          "name": "file_name",
          "required": false,
          "type": "str"
        }
      ],
      "agent_example": "mammoth dashboard own-data start 123 --input '{\"dataview_id\": 1}'",
      "command_id": "dashboard.own-data.start",
      "contract_level": "typed",
      "description": "Fit a template board to your own data and wait for the proposal.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth dashboard own-data start DASHBOARD_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the dashboard.",
          "metavar": "DASHBOARD_ID",
          "name": "dashboard_id",
          "required": true,
          "type": "int"
        }
      ],
      "request_model": "DashboardOwnDataStartRequest",
      "result_model": "DashboardOwnDataStartResult",
      "runnable_example": "mammoth dashboard own-data start 123 --input '{\"dataview_id\": 1}'"
    },
    "dashboard own-data status": {
      "accepted_fields": [],
      "agent_example": "mammoth dashboard own-data status 123",
      "command_id": "dashboard.own-data.status",
      "contract_level": "typed",
      "description": "Show a board's pending 'use my data' run; status null means none.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth dashboard own-data status DASHBOARD_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the dashboard.",
          "metavar": "DASHBOARD_ID",
          "name": "dashboard_id",
          "required": true,
          "type": "int"
        }
      ],
      "request_model": "DashboardOwnDataStatusRequest",
      "result_model": "DashboardOwnDataStatusResult",
      "runnable_example": "mammoth dashboard own-data status 123"
    },
    "dashboard page plan": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "body",
          "required": true,
          "type": "PlanPageSpec"
        }
      ],
      "agent_example": "mammoth dashboard page plan 123 --input '{\"body\": {\"params\": {\"intent\": \"Summarize revenue by region\"}}}'",
      "command_id": "dashboard.page.plan",
      "contract_level": "partially_typed",
      "description": "Compose a new page from an intent.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth dashboard page plan DASHBOARD_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the dashboard.",
          "metavar": "DASHBOARD_ID",
          "name": "dashboard_id",
          "required": true,
          "type": "int"
        }
      ],
      "request_model": "DashboardPagePlanRequest",
      "result_model": "DashboardPagePlanResult",
      "runnable_example": "mammoth dashboard page plan 123 --input '{\"body\": {\"params\": {\"intent\": \"Summarize revenue by region\"}}}'"
    },
    "dashboard pages add": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "body",
          "required": true,
          "type": "AddPagesSpec"
        }
      ],
      "agent_example": "mammoth dashboard pages add 123 --input '{\"body\": {\"params\": {\"pages\": [{\"title\": \"By region\", \"focus\": {\"measure\": \"Revenue\", \"dim\": \"Region\", \"kpis\": [{\"field\": \"Revenue\", \"agg\": \"sum\", \"label\": \"Revenue\"}]}, \"charts\": [{\"kind\": \"hbar\", \"title\": \"Revenue by region\", \"dim\": \"Region\", \"measure\": \"Revenue\", \"agg\": \"sum\"}]}]}}}' --yes --confirm 123",
      "command_id": "dashboard.pages.add",
      "contract_level": "partially_typed",
      "description": "Append structural pages and start the asynchronous dashboard bake.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth dashboard pages add DASHBOARD_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the dashboard.",
          "metavar": "DASHBOARD_ID",
          "name": "dashboard_id",
          "required": true,
          "type": "int"
        }
      ],
      "request_model": "DashboardPagesAddRequest",
      "result_model": "DashboardPagesAddResult",
      "runnable_example": "mammoth dashboard pages add 123 --input '{\"body\": {\"params\": {\"pages\": [{\"title\": \"By region\", \"focus\": {\"measure\": \"Revenue\", \"dim\": \"Region\", \"kpis\": [{\"field\": \"Revenue\", \"agg\": \"sum\", \"label\": \"Revenue\"}]}, \"charts\": [{\"kind\": \"hbar\", \"title\": \"Revenue by region\", \"dim\": \"Region\", \"measure\": \"Revenue\", \"agg\": \"sum\"}]}]}}}' --yes --confirm 123"
    },
    "dashboard pbix-assess": {
      "accepted_fields": [],
      "agent_example": "mammoth dashboard pbix-assess 123",
      "command_id": "dashboard.pbix-assess",
      "contract_level": "typed",
      "description": "Run a workbook read on an attachment (intent or assess) and return the job's result.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth dashboard pbix-assess ATTACHMENT_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the attachment.",
          "metavar": "ATTACHMENT_ID",
          "name": "attachment_id",
          "required": true,
          "type": "int"
        }
      ],
      "request_model": "DashboardPbixAssessRequest",
      "result_model": "DashboardPbixAssessResult",
      "runnable_example": "mammoth dashboard pbix-assess 123"
    },
    "dashboard pbix-intent": {
      "accepted_fields": [],
      "agent_example": "mammoth dashboard pbix-intent 123 456",
      "command_id": "dashboard.pbix-intent",
      "contract_level": "typed",
      "description": "Run a workbook read on an attachment (intent or assess) and return the job's result.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth dashboard pbix-intent ATTACHMENT_ID TARGET_DATAVIEW_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the attachment.",
          "metavar": "ATTACHMENT_ID",
          "name": "attachment_id",
          "required": true,
          "type": "int"
        },
        {
          "falls_back_to_field": null,
          "help": "ID of the target dataview.",
          "metavar": "TARGET_DATAVIEW_ID",
          "name": "target_dataview_id",
          "required": true,
          "type": "int"
        }
      ],
      "request_model": "DashboardPbixIntentRequest",
      "result_model": "DashboardPbixIntentResult",
      "runnable_example": "mammoth dashboard pbix-intent 123 456"
    },
    "dashboard pdf export": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "body",
          "required": true,
          "type": "PdfExportSpec"
        }
      ],
      "agent_example": "mammoth dashboard pdf export 123 --input '{\"body\": {\"params\": {\"data\": {}}}}'",
      "command_id": "dashboard.pdf.export",
      "contract_level": "partially_typed",
      "description": "Kick a draft-dashboard PDF export.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth dashboard pdf export DASHBOARD_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the dashboard.",
          "metavar": "DASHBOARD_ID",
          "name": "dashboard_id",
          "required": true,
          "type": "int"
        }
      ],
      "request_model": "DashboardPdfExportRequest",
      "result_model": "DashboardPdfExportResult",
      "runnable_example": "mammoth dashboard pdf export 123 --input '{\"body\": {\"params\": {\"data\": {}}}}'"
    },
    "dashboard pdf-artifact": {
      "accepted_fields": [],
      "agent_example": "mammoth dashboard pdf-artifact 123 456",
      "command_id": "dashboard.pdf-artifact",
      "contract_level": "typed",
      "description": "Download a completed draft PDF export.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth dashboard pdf-artifact DASHBOARD_ID JOB_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the dashboard.",
          "metavar": "DASHBOARD_ID",
          "name": "dashboard_id",
          "required": true,
          "type": "int"
        },
        {
          "falls_back_to_field": null,
          "help": "ID of the job.",
          "metavar": "JOB_ID",
          "name": "job_id",
          "required": true,
          "type": "int"
        }
      ],
      "request_model": "DashboardPdfArtifactRequest",
      "result_model": "DashboardPdfArtifactResult",
      "runnable_example": "mammoth dashboard pdf-artifact 123 456"
    },
    "dashboard published canvas": {
      "accepted_fields": [],
      "agent_example": "mammoth dashboard published canvas https://example.com/data.csv",
      "command_id": "dashboard.published.canvas",
      "contract_level": "typed",
      "description": "Get a published dashboard's viewer canvas.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth dashboard published canvas URL --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "URL slug identifying the resource.",
          "metavar": "URL",
          "name": "url",
          "required": true,
          "type": "str"
        }
      ],
      "request_model": "DashboardPublishedCanvasRequest",
      "result_model": "DashboardPublishedCanvasResult",
      "runnable_example": "mammoth dashboard published canvas https://example.com/data.csv"
    },
    "dashboard published data": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "body",
          "required": true,
          "type": "DescriptorDataSpec"
        }
      ],
      "agent_example": "mammoth dashboard published data https://example.com/data.csv --input '{\"body\": {\"params\": {\"descriptor_ids\": [\"resource-123\"]}}}'",
      "command_id": "dashboard.published.data",
      "contract_level": "partially_typed",
      "description": "Descriptor data for a published dashboard.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth dashboard published data URL --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "URL slug identifying the resource.",
          "metavar": "URL",
          "name": "url",
          "required": true,
          "type": "str"
        }
      ],
      "request_model": "DashboardPublishedDataRequest",
      "result_model": "DashboardPublishedDataResult",
      "runnable_example": "mammoth dashboard published data https://example.com/data.csv --input '{\"body\": {\"params\": {\"descriptor_ids\": [\"resource-123\"]}}}'"
    },
    "dashboard published drill": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "body",
          "required": true,
          "type": "dict[str, any]"
        }
      ],
      "agent_example": "mammoth dashboard published drill https://example.com/data.csv --input '{\"body\": {\"params\": {\"figure\": \"p1:add:t-Eh6h-ImH\", \"path\": [{\"key\": \"West\"}]}}}'",
      "command_id": "dashboard.published.drill",
      "contract_level": "partially_typed",
      "description": "Drill one mark of a published board's figure one level down (any viewer).",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth dashboard published drill URL --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "URL slug identifying the resource.",
          "metavar": "URL",
          "name": "url",
          "required": true,
          "type": "str"
        }
      ],
      "request_model": "DashboardPublishedDrillRequest",
      "result_model": "DashboardPublishedDrillResult",
      "runnable_example": "mammoth dashboard published drill https://example.com/data.csv --input '{\"body\": {\"params\": {\"figure\": \"p1:add:t-Eh6h-ImH\", \"path\": [{\"key\": \"West\"}]}}}'"
    },
    "dashboard published og-card": {
      "accepted_fields": [],
      "agent_example": "mammoth dashboard published og-card https://example.com/data.csv",
      "command_id": "dashboard.published.og-card",
      "contract_level": "typed",
      "description": "Published dashboard's link-unfurl OG card (baked PNG).",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth dashboard published og-card URL --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "URL slug identifying the resource.",
          "metavar": "URL",
          "name": "url",
          "required": true,
          "type": "str"
        }
      ],
      "request_model": "DashboardPublishedOgCardRequest",
      "result_model": "DashboardPublishedOgCardResult",
      "runnable_example": "mammoth dashboard published og-card https://example.com/data.csv"
    },
    "dashboard published pdf export": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "body",
          "required": true,
          "type": "PdfExportSpec"
        }
      ],
      "agent_example": "mammoth dashboard published pdf export https://example.com/data.csv --input '{\"body\": {\"params\": {\"data\": {}}}}'",
      "command_id": "dashboard.published.pdf.export",
      "contract_level": "partially_typed",
      "description": "Kick a published-dashboard PDF export.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth dashboard published pdf export URL --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "URL slug identifying the resource.",
          "metavar": "URL",
          "name": "url",
          "required": true,
          "type": "str"
        }
      ],
      "request_model": "DashboardPublishedPdfExportRequest",
      "result_model": "DashboardPublishedPdfExportResult",
      "runnable_example": "mammoth dashboard published pdf export https://example.com/data.csv --input '{\"body\": {\"params\": {\"data\": {}}}}'"
    },
    "dashboard published pdf-artifact": {
      "accepted_fields": [],
      "agent_example": "mammoth dashboard published pdf-artifact https://example.com/data.csv 123",
      "command_id": "dashboard.published.pdf-artifact",
      "contract_level": "typed",
      "description": "Download a completed published PDF export.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth dashboard published pdf-artifact URL JOB_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "URL slug identifying the resource.",
          "metavar": "URL",
          "name": "url",
          "required": true,
          "type": "str"
        },
        {
          "falls_back_to_field": null,
          "help": "ID of the job.",
          "metavar": "JOB_ID",
          "name": "job_id",
          "required": true,
          "type": "int"
        }
      ],
      "request_model": "DashboardPublishedPdfArtifactRequest",
      "result_model": "DashboardPublishedPdfArtifactResult",
      "runnable_example": "mammoth dashboard published pdf-artifact https://example.com/data.csv 123"
    },
    "dashboard published rows": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "body",
          "required": true,
          "type": "dict[str, any]"
        }
      ],
      "agent_example": "mammoth dashboard published rows https://example.com/data.csv --input '{\"body\": {\"params\": {\"figure\": \"p1:add:t-Eh6h-ImH\", \"key\": \"West\"}}}'",
      "command_id": "dashboard.published.rows",
      "contract_level": "partially_typed",
      "description": "Read the records behind a mark of a published board (signed-in readers).",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth dashboard published rows URL --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "URL slug identifying the resource.",
          "metavar": "URL",
          "name": "url",
          "required": true,
          "type": "str"
        }
      ],
      "request_model": "DashboardPublishedRowsRequest",
      "result_model": "DashboardPublishedRowsResult",
      "runnable_example": "mammoth dashboard published rows https://example.com/data.csv --input '{\"body\": {\"params\": {\"figure\": \"p1:add:t-Eh6h-ImH\", \"key\": \"West\"}}}'"
    },
    "dashboard published share-page": {
      "accepted_fields": [],
      "agent_example": "mammoth dashboard published share-page https://example.com/data.csv",
      "command_id": "dashboard.published.share-page",
      "contract_level": "typed",
      "description": "Published dashboard's link-unfurl share page (crawler-facing HTML).",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth dashboard published share-page URL --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "URL slug identifying the resource.",
          "metavar": "URL",
          "name": "url",
          "required": true,
          "type": "str"
        }
      ],
      "request_model": "DashboardPublishedSharePageRequest",
      "result_model": "DashboardPublishedSharePageResult",
      "runnable_example": "mammoth dashboard published share-page https://example.com/data.csv"
    },
    "dashboard published video export": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "aspect",
          "required": false,
          "type": "typing.Literal['landscape', 'square', 'portrait', None]"
        }
      ],
      "agent_example": "mammoth dashboard published video export https://example.com/data.csv",
      "command_id": "dashboard.published.video.export",
      "contract_level": "typed",
      "description": "Kick a motion-story video export (published view).",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth dashboard published video export URL --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "URL slug identifying the resource.",
          "metavar": "URL",
          "name": "url",
          "required": true,
          "type": "str"
        }
      ],
      "request_model": "DashboardPublishedVideoExportRequest",
      "result_model": "DashboardPublishedVideoExportResult",
      "runnable_example": "mammoth dashboard published video export https://example.com/data.csv"
    },
    "dashboard published video-artifact": {
      "accepted_fields": [],
      "agent_example": "mammoth dashboard published video-artifact https://example.com/data.csv",
      "command_id": "dashboard.published.video-artifact",
      "contract_level": "typed",
      "description": "Stream a published motion-story video (Range-enabled).",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth dashboard published video-artifact URL --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "URL slug identifying the resource.",
          "metavar": "URL",
          "name": "url",
          "required": true,
          "type": "str"
        }
      ],
      "request_model": "DashboardPublishedVideoArtifactRequest",
      "result_model": "DashboardPublishedVideoArtifactResult",
      "runnable_example": "mammoth dashboard published video-artifact https://example.com/data.csv"
    },
    "dashboard published-data-by-url": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "body",
          "required": true,
          "type": "dict[str, any]"
        }
      ],
      "agent_example": "mammoth dashboard published-data-by-url https://example.com/data.csv --input '{\"body\": {\"params\": {\"widget_id\": \"00000000-0000-4000-8000-000000000001\"}}}'",
      "command_id": "dashboard.published-data-by-url",
      "contract_level": "partially_typed",
      "description": "Run a published-data request for a dashboard by url. 'body' from '--input'.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth dashboard published-data-by-url URL --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "URL slug identifying the resource.",
          "metavar": "URL",
          "name": "url",
          "required": true,
          "type": "str"
        }
      ],
      "request_model": "DashboardPublishedDataByUrlRequest",
      "result_model": "DashboardPublishedDataByUrlResult",
      "runnable_example": "mammoth dashboard published-data-by-url https://example.com/data.csv --input '{\"body\": {\"params\": {\"widget_id\": \"00000000-0000-4000-8000-000000000001\"}}}'"
    },
    "dashboard qa ask": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "body",
          "required": true,
          "type": "AskSpec"
        }
      ],
      "agent_example": "mammoth dashboard qa ask 123 456 --input '{\"body\": {\"params\": {\"question\": \"Summarize revenue by region\"}}}'",
      "command_id": "dashboard.qa.ask",
      "contract_level": "partially_typed",
      "description": "Ask one question in a Q&A session; the answer arrives asynchronously.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth dashboard qa ask DASHBOARD_ID SESSION_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the dashboard.",
          "metavar": "DASHBOARD_ID",
          "name": "dashboard_id",
          "required": true,
          "type": "int"
        },
        {
          "falls_back_to_field": null,
          "help": "ID of the session.",
          "metavar": "SESSION_ID",
          "name": "session_id",
          "required": true,
          "type": "int"
        }
      ],
      "request_model": "DashboardQaAskRequest",
      "result_model": "DashboardQaAskResult",
      "runnable_example": "mammoth dashboard qa ask 123 456 --input '{\"body\": {\"params\": {\"question\": \"Summarize revenue by region\"}}}'"
    },
    "dashboard qa comment create": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "body",
          "required": true,
          "type": "CommentSpec"
        }
      ],
      "agent_example": "mammoth dashboard qa comment create 123 456 --input '{\"body\": {\"params\": {\"body\": \"Quarterly revenue summary\"}}}'",
      "command_id": "dashboard.qa.comment.create",
      "contract_level": "partially_typed",
      "description": "Comment on a shared Q&A session.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth dashboard qa comment create DASHBOARD_ID SESSION_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the dashboard.",
          "metavar": "DASHBOARD_ID",
          "name": "dashboard_id",
          "required": true,
          "type": "int"
        },
        {
          "falls_back_to_field": null,
          "help": "ID of the session.",
          "metavar": "SESSION_ID",
          "name": "session_id",
          "required": true,
          "type": "int"
        }
      ],
      "request_model": "DashboardQaCommentCreateRequest",
      "result_model": "DashboardQaCommentCreateResult",
      "runnable_example": "mammoth dashboard qa comment create 123 456 --input '{\"body\": {\"params\": {\"body\": \"Quarterly revenue summary\"}}}'"
    },
    "dashboard qa comment delete": {
      "accepted_fields": [],
      "agent_example": "mammoth dashboard qa comment delete 123 456 789 --yes",
      "command_id": "dashboard.qa.comment.delete",
      "contract_level": "typed",
      "description": "Delete a comment (author or session owner).",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth dashboard qa comment delete DASHBOARD_ID SESSION_ID COMMENT_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the dashboard.",
          "metavar": "DASHBOARD_ID",
          "name": "dashboard_id",
          "required": true,
          "type": "int"
        },
        {
          "falls_back_to_field": null,
          "help": "ID of the session.",
          "metavar": "SESSION_ID",
          "name": "session_id",
          "required": true,
          "type": "int"
        },
        {
          "falls_back_to_field": null,
          "help": "ID of the comment.",
          "metavar": "COMMENT_ID",
          "name": "comment_id",
          "required": true,
          "type": "int"
        }
      ],
      "request_model": "DashboardQaCommentDeleteRequest",
      "result_model": "DashboardQaCommentDeleteResult",
      "runnable_example": "mammoth dashboard qa comment delete 123 456 789 --yes"
    },
    "dashboard qa feedback": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "body",
          "required": true,
          "type": "FeedbackSpec"
        }
      ],
      "agent_example": "mammoth dashboard qa feedback 123 456 789 --input '{\"body\": {\"params\": {\"rating\": \"up\"}}}'",
      "command_id": "dashboard.qa.feedback",
      "contract_level": "partially_typed",
      "description": "Rate an assistant answer (up/down; null clears).",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth dashboard qa feedback DASHBOARD_ID SESSION_ID MESSAGE_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the dashboard.",
          "metavar": "DASHBOARD_ID",
          "name": "dashboard_id",
          "required": true,
          "type": "int"
        },
        {
          "falls_back_to_field": null,
          "help": "ID of the session.",
          "metavar": "SESSION_ID",
          "name": "session_id",
          "required": true,
          "type": "int"
        },
        {
          "falls_back_to_field": null,
          "help": "ID of the message.",
          "metavar": "MESSAGE_ID",
          "name": "message_id",
          "required": true,
          "type": "int"
        }
      ],
      "request_model": "DashboardQaFeedbackRequest",
      "result_model": "DashboardQaFeedbackResult",
      "runnable_example": "mammoth dashboard qa feedback 123 456 789 --input '{\"body\": {\"params\": {\"rating\": \"up\"}}}'"
    },
    "dashboard qa insights": {
      "accepted_fields": [
        {
          "default": 7,
          "enum": null,
          "name": "days",
          "required": false,
          "type": "int"
        }
      ],
      "agent_example": "mammoth dashboard qa insights 123",
      "command_id": "dashboard.qa.insights",
      "contract_level": "typed",
      "description": "Get the questions viewers asked on a board, grouped by their text.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth dashboard qa insights DASHBOARD_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the dashboard.",
          "metavar": "DASHBOARD_ID",
          "name": "dashboard_id",
          "required": true,
          "type": "int"
        }
      ],
      "request_model": "DashboardQaInsightsRequest",
      "result_model": "DashboardQaInsightsResult",
      "runnable_example": "mammoth dashboard qa insights 123"
    },
    "dashboard qa session create": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "body",
          "required": true,
          "type": "CreateSessionSpec"
        }
      ],
      "agent_example": "mammoth dashboard qa session create 123 --input '{\"body\": {\"params\": {\"title\": \"Revenue report\"}}}'",
      "command_id": "dashboard.qa.session.create",
      "contract_level": "partially_typed",
      "description": "Create a Q&A session.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth dashboard qa session create DASHBOARD_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the dashboard.",
          "metavar": "DASHBOARD_ID",
          "name": "dashboard_id",
          "required": true,
          "type": "int"
        }
      ],
      "request_model": "DashboardQaSessionCreateRequest",
      "result_model": "DashboardQaSessionCreateResult",
      "runnable_example": "mammoth dashboard qa session create 123 --input '{\"body\": {\"params\": {\"title\": \"Revenue report\"}}}'"
    },
    "dashboard qa session delete": {
      "accepted_fields": [],
      "agent_example": "mammoth dashboard qa session delete 123 456 --yes",
      "command_id": "dashboard.qa.session.delete",
      "contract_level": "typed",
      "description": "Delete a Q&A session (owner only).",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth dashboard qa session delete DASHBOARD_ID SESSION_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the dashboard.",
          "metavar": "DASHBOARD_ID",
          "name": "dashboard_id",
          "required": true,
          "type": "int"
        },
        {
          "falls_back_to_field": null,
          "help": "ID of the session.",
          "metavar": "SESSION_ID",
          "name": "session_id",
          "required": true,
          "type": "int"
        }
      ],
      "request_model": "DashboardQaSessionDeleteRequest",
      "result_model": "DashboardQaSessionDeleteResult",
      "runnable_example": "mammoth dashboard qa session delete 123 456 --yes"
    },
    "dashboard qa session fork": {
      "accepted_fields": [],
      "agent_example": "mammoth dashboard qa session fork 123 456",
      "command_id": "dashboard.qa.session.fork",
      "contract_level": "typed",
      "description": "Fork a shared Q&A session into a private copy.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth dashboard qa session fork DASHBOARD_ID SESSION_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the dashboard.",
          "metavar": "DASHBOARD_ID",
          "name": "dashboard_id",
          "required": true,
          "type": "int"
        },
        {
          "falls_back_to_field": null,
          "help": "ID of the session.",
          "metavar": "SESSION_ID",
          "name": "session_id",
          "required": true,
          "type": "int"
        }
      ],
      "request_model": "DashboardQaSessionForkRequest",
      "result_model": "DashboardQaSessionForkResult",
      "runnable_example": "mammoth dashboard qa session fork 123 456"
    },
    "dashboard qa session get": {
      "accepted_fields": [],
      "agent_example": "mammoth dashboard qa session get 123 456",
      "command_id": "dashboard.qa.session.get",
      "contract_level": "typed",
      "description": "Read a Q&A session (replayable — carries baked answers).",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth dashboard qa session get DASHBOARD_ID SESSION_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the dashboard.",
          "metavar": "DASHBOARD_ID",
          "name": "dashboard_id",
          "required": true,
          "type": "int"
        },
        {
          "falls_back_to_field": null,
          "help": "ID of the session.",
          "metavar": "SESSION_ID",
          "name": "session_id",
          "required": true,
          "type": "int"
        }
      ],
      "request_model": "DashboardQaSessionGetRequest",
      "result_model": "DashboardQaSessionGetResult",
      "runnable_example": "mammoth dashboard qa session get 123 456"
    },
    "dashboard qa session list": {
      "accepted_fields": [],
      "agent_example": "mammoth dashboard qa session list 123",
      "command_id": "dashboard.qa.session.list",
      "contract_level": "typed",
      "description": "List Q&A sessions.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth dashboard qa session list DASHBOARD_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the dashboard.",
          "metavar": "DASHBOARD_ID",
          "name": "dashboard_id",
          "required": true,
          "type": "int"
        }
      ],
      "request_model": "DashboardQaSessionListRequest",
      "result_model": "DashboardQaSessionListResult",
      "runnable_example": "mammoth dashboard qa session list 123"
    },
    "dashboard qa session rename": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "body",
          "required": true,
          "type": "RenameSessionSpec"
        }
      ],
      "agent_example": "mammoth dashboard qa session rename 123 456 --input '{\"body\": {\"params\": {\"title\": \"Revenue report\"}}}'",
      "command_id": "dashboard.qa.session.rename",
      "contract_level": "partially_typed",
      "description": "Rename a Q&A session (owner only).",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth dashboard qa session rename DASHBOARD_ID SESSION_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the dashboard.",
          "metavar": "DASHBOARD_ID",
          "name": "dashboard_id",
          "required": true,
          "type": "int"
        },
        {
          "falls_back_to_field": null,
          "help": "ID of the session.",
          "metavar": "SESSION_ID",
          "name": "session_id",
          "required": true,
          "type": "int"
        }
      ],
      "request_model": "DashboardQaSessionRenameRequest",
      "result_model": "DashboardQaSessionRenameResult",
      "runnable_example": "mammoth dashboard qa session rename 123 456 --input '{\"body\": {\"params\": {\"title\": \"Revenue report\"}}}'"
    },
    "dashboard qa session set-visibility": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "body",
          "required": true,
          "type": "VisibilitySpec"
        }
      ],
      "agent_example": "mammoth dashboard qa session set-visibility 123 456 --input '{\"body\": {\"params\": {\"visibility\": \"shared\"}}}'",
      "command_id": "dashboard.qa.session.set-visibility",
      "contract_level": "partially_typed",
      "description": "Share/unshare a Q&A session (owner only).",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth dashboard qa session set-visibility DASHBOARD_ID SESSION_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the dashboard.",
          "metavar": "DASHBOARD_ID",
          "name": "dashboard_id",
          "required": true,
          "type": "int"
        },
        {
          "falls_back_to_field": null,
          "help": "ID of the session.",
          "metavar": "SESSION_ID",
          "name": "session_id",
          "required": true,
          "type": "int"
        }
      ],
      "request_model": "DashboardQaSessionSetVisibilityRequest",
      "result_model": "DashboardQaSessionSetVisibilityResult",
      "runnable_example": "mammoth dashboard qa session set-visibility 123 456 --input '{\"body\": {\"params\": {\"visibility\": \"shared\"}}}'"
    },
    "dashboard qa settings get": {
      "accepted_fields": [],
      "agent_example": "mammoth dashboard qa settings get 123",
      "command_id": "dashboard.qa.settings.get",
      "contract_level": "typed",
      "description": "Get this dashboard's Q&A settings.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth dashboard qa settings get DASHBOARD_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the dashboard.",
          "metavar": "DASHBOARD_ID",
          "name": "dashboard_id",
          "required": true,
          "type": "int"
        }
      ],
      "request_model": "DashboardQaSettingsGetRequest",
      "result_model": "DashboardQaSettingsGetResult",
      "runnable_example": "mammoth dashboard qa settings get 123"
    },
    "dashboard qa settings set": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "body",
          "required": true,
          "type": "QaSettingsSpec"
        }
      ],
      "agent_example": "mammoth dashboard qa settings set 123 --input '{\"body\": {\"params\": {\"allow_viewer_qa\": true}}}'",
      "command_id": "dashboard.qa.settings.set",
      "contract_level": "partially_typed",
      "description": "Update this dashboard's Q&A settings (editors only).",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth dashboard qa settings set DASHBOARD_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the dashboard.",
          "metavar": "DASHBOARD_ID",
          "name": "dashboard_id",
          "required": true,
          "type": "int"
        }
      ],
      "request_model": "DashboardQaSettingsSetRequest",
      "result_model": "DashboardQaSettingsSetResult",
      "runnable_example": "mammoth dashboard qa settings set 123 --input '{\"body\": {\"params\": {\"allow_viewer_qa\": true}}}'"
    },
    "dashboard query": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "body",
          "required": true,
          "type": "AdhocQuerySpec"
        }
      ],
      "agent_example": "mammoth dashboard query 123 --input '{\"body\": {\"params\": {\"descriptor\": {\"kind\": \"scalar\", \"agg\": \"count\"}}}}'",
      "command_id": "dashboard.query",
      "contract_level": "partially_typed",
      "description": "Run an ad-hoc descriptor query from the editor.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth dashboard query DASHBOARD_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the dashboard.",
          "metavar": "DASHBOARD_ID",
          "name": "dashboard_id",
          "required": true,
          "type": "int"
        }
      ],
      "request_model": "DashboardQueryRequest",
      "result_model": "DashboardQueryResult",
      "runnable_example": "mammoth dashboard query 123 --input '{\"body\": {\"params\": {\"descriptor\": {\"kind\": \"scalar\", \"agg\": \"count\"}}}}'"
    },
    "dashboard restore": {
      "accepted_fields": [],
      "agent_example": "mammoth dashboard restore 123",
      "command_id": "dashboard.restore",
      "contract_level": "typed",
      "description": "Restore a trashed dashboard.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth dashboard restore DASHBOARD_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the dashboard.",
          "metavar": "DASHBOARD_ID",
          "name": "dashboard_id",
          "required": true,
          "type": "int"
        }
      ],
      "request_model": "DashboardRestoreRequest",
      "result_model": "DashboardRestoreResult",
      "runnable_example": "mammoth dashboard restore 123"
    },
    "dashboard rls assignment list": {
      "accepted_fields": [],
      "agent_example": "mammoth dashboard rls assignment list 123",
      "command_id": "dashboard.rls.assignment.list",
      "contract_level": "typed",
      "description": "List RLS viewer assignments.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth dashboard rls assignment list DASHBOARD_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the dashboard.",
          "metavar": "DASHBOARD_ID",
          "name": "dashboard_id",
          "required": true,
          "type": "int"
        }
      ],
      "request_model": "DashboardRlsAssignmentListRequest",
      "result_model": "DashboardRlsAssignmentListResult",
      "runnable_example": "mammoth dashboard rls assignment list 123"
    },
    "dashboard rls assignment set": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "body",
          "required": true,
          "type": "RlsAssignmentsSpec"
        }
      ],
      "agent_example": "mammoth dashboard rls assignment set 123 --input '{\"body\": {\"params\": {\"assignments\": [{\"email\": \"analyst@example.com\"}]}}}'",
      "command_id": "dashboard.rls.assignment.set",
      "contract_level": "partially_typed",
      "description": "Replace RLS viewer assignments.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth dashboard rls assignment set DASHBOARD_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the dashboard.",
          "metavar": "DASHBOARD_ID",
          "name": "dashboard_id",
          "required": true,
          "type": "int"
        }
      ],
      "request_model": "DashboardRlsAssignmentSetRequest",
      "result_model": "DashboardRlsAssignmentSetResult",
      "runnable_example": "mammoth dashboard rls assignment set 123 --input '{\"body\": {\"params\": {\"assignments\": [{\"email\": \"analyst@example.com\"}]}}}'"
    },
    "dashboard rls column list": {
      "accepted_fields": [],
      "agent_example": "mammoth dashboard rls column list 123",
      "command_id": "dashboard.rls.column.list",
      "contract_level": "typed",
      "description": "Candidate columns for the RLS filter.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth dashboard rls column list DASHBOARD_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the dashboard.",
          "metavar": "DASHBOARD_ID",
          "name": "dashboard_id",
          "required": true,
          "type": "int"
        }
      ],
      "request_model": "DashboardRlsColumnListRequest",
      "result_model": "DashboardRlsColumnListResult",
      "runnable_example": "mammoth dashboard rls column list 123"
    },
    "dashboard rls value list": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "column",
          "required": true,
          "type": "str"
        },
        {
          "default": null,
          "enum": null,
          "name": "search",
          "required": false,
          "type": "str"
        }
      ],
      "agent_example": "mammoth dashboard rls value list 123 --input '{\"column\": \"Status\"}'",
      "command_id": "dashboard.rls.value.list",
      "contract_level": "typed",
      "description": "Distinct values for an RLS filter column.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth dashboard rls value list DASHBOARD_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the dashboard.",
          "metavar": "DASHBOARD_ID",
          "name": "dashboard_id",
          "required": true,
          "type": "int"
        }
      ],
      "request_model": "DashboardRlsValueListRequest",
      "result_model": "DashboardRlsValueListResult",
      "runnable_example": "mammoth dashboard rls value list 123 --input '{\"column\": \"Status\"}'"
    },
    "dashboard share": {
      "accepted_fields": [
        {
          "default": null,
          "enum": [
            "mammoth",
            "public",
            "password"
          ],
          "name": "type_of_auth",
          "required": true,
          "type": "DashboardAuthType"
        },
        {
          "default": null,
          "enum": null,
          "name": "users",
          "required": false,
          "type": "list[DashboardShareUser]"
        },
        {
          "default": null,
          "enum": null,
          "name": "password_file",
          "required": false,
          "type": "str"
        }
      ],
      "agent_example": "mammoth dashboard share 123 --input '{\"type_of_auth\": \"mammoth\"}' --yes",
      "command_id": "dashboard.share",
      "contract_level": "typed",
      "description": "Share a dashboard. Always requires '--yes'.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth dashboard share DASHBOARD_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the dashboard.",
          "metavar": "DASHBOARD_ID",
          "name": "dashboard_id",
          "required": true,
          "type": "int"
        }
      ],
      "request_model": "DashboardShareRequest",
      "result_model": "DashboardShareResult",
      "runnable_example": "mammoth dashboard share 123 --input '{\"type_of_auth\": \"mammoth\"}' --yes"
    },
    "dashboard signature create": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "body",
          "required": true,
          "type": "SignatureSpec"
        }
      ],
      "agent_example": "mammoth dashboard signature create --input '{\"body\": {\"params\": {\"name\": \"Revenue report\"}}}'",
      "command_id": "dashboard.signature.create",
      "contract_level": "partially_typed",
      "description": "Create a workspace signature.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth dashboard signature create --help",
      "notes": [],
      "positionals": [],
      "request_model": "DashboardSignatureCreateRequest",
      "result_model": "DashboardSignatureCreateResult",
      "runnable_example": "mammoth dashboard signature create --input '{\"body\": {\"params\": {\"name\": \"Revenue report\"}}}'"
    },
    "dashboard signature delete": {
      "accepted_fields": [],
      "agent_example": "mammoth dashboard signature delete resource-123 --yes",
      "command_id": "dashboard.signature.delete",
      "contract_level": "typed",
      "description": "Delete a signature.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth dashboard signature delete SIGNATURE_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the signature.",
          "metavar": "SIGNATURE_ID",
          "name": "signature_id",
          "required": true,
          "type": "str"
        }
      ],
      "request_model": "DashboardSignatureDeleteRequest",
      "result_model": "DashboardSignatureDeleteResult",
      "runnable_example": "mammoth dashboard signature delete resource-123 --yes"
    },
    "dashboard signature list": {
      "accepted_fields": [],
      "agent_example": "mammoth dashboard signature list",
      "command_id": "dashboard.signature.list",
      "contract_level": "typed",
      "description": "List the workspace's signatures.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth dashboard signature list --help",
      "notes": [],
      "positionals": [],
      "request_model": "DashboardSignatureListRequest",
      "result_model": "DashboardSignatureListResult",
      "runnable_example": "mammoth dashboard signature list"
    },
    "dashboard signature update": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "body",
          "required": true,
          "type": "SignatureSpec"
        }
      ],
      "agent_example": "mammoth dashboard signature update resource-123 --input '{\"body\": {\"params\": {\"name\": \"Revenue report\"}}}'",
      "command_id": "dashboard.signature.update",
      "contract_level": "partially_typed",
      "description": "Update a signature.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth dashboard signature update SIGNATURE_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the signature.",
          "metavar": "SIGNATURE_ID",
          "name": "signature_id",
          "required": true,
          "type": "str"
        }
      ],
      "request_model": "DashboardSignatureUpdateRequest",
      "result_model": "DashboardSignatureUpdateResult",
      "runnable_example": "mammoth dashboard signature update resource-123 --input '{\"body\": {\"params\": {\"name\": \"Revenue report\"}}}'"
    },
    "dashboard source list": {
      "accepted_fields": [],
      "agent_example": "mammoth dashboard source list",
      "command_id": "dashboard.source.list",
      "contract_level": "typed",
      "description": "List dashboard sources available in the active workspace.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth dashboard source list --help",
      "notes": [],
      "positionals": [],
      "request_model": "DashboardSourceListRequest",
      "result_model": "DashboardSourceListResult",
      "runnable_example": "mammoth dashboard source list"
    },
    "dashboard style custom create": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "body",
          "required": true,
          "type": "CustomStyleSpec"
        }
      ],
      "agent_example": "mammoth dashboard style custom create --input '{\"body\": {\"params\": {\"signals\": {}}}}'",
      "command_id": "dashboard.style.custom.create",
      "contract_level": "partially_typed",
      "description": "Create a workspace custom style.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth dashboard style custom create --help",
      "notes": [],
      "positionals": [],
      "request_model": "DashboardStyleCustomCreateRequest",
      "result_model": "DashboardStyleCustomCreateResult",
      "runnable_example": "mammoth dashboard style custom create --input '{\"body\": {\"params\": {\"signals\": {}}}}'"
    },
    "dashboard style custom delete": {
      "accepted_fields": [],
      "agent_example": "mammoth dashboard style custom delete resource-123 --yes",
      "command_id": "dashboard.style.custom.delete",
      "contract_level": "typed",
      "description": "Delete a custom style.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth dashboard style custom delete STYLE_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the style.",
          "metavar": "STYLE_ID",
          "name": "style_id",
          "required": true,
          "type": "str"
        }
      ],
      "request_model": "DashboardStyleCustomDeleteRequest",
      "result_model": "DashboardStyleCustomDeleteResult",
      "runnable_example": "mammoth dashboard style custom delete resource-123 --yes"
    },
    "dashboard style custom list": {
      "accepted_fields": [],
      "agent_example": "mammoth dashboard style custom list",
      "command_id": "dashboard.style.custom.list",
      "contract_level": "typed",
      "description": "List the workspace's custom styles.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth dashboard style custom list --help",
      "notes": [],
      "positionals": [],
      "request_model": "DashboardStyleCustomListRequest",
      "result_model": "DashboardStyleCustomListResult",
      "runnable_example": "mammoth dashboard style custom list"
    },
    "dashboard style custom update": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "body",
          "required": true,
          "type": "CustomStyleSpec"
        }
      ],
      "agent_example": "mammoth dashboard style custom update resource-123 --input '{\"body\": {\"params\": {\"signals\": {}}}}'",
      "command_id": "dashboard.style.custom.update",
      "contract_level": "partially_typed",
      "description": "Update a custom style.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth dashboard style custom update STYLE_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the style.",
          "metavar": "STYLE_ID",
          "name": "style_id",
          "required": true,
          "type": "str"
        }
      ],
      "request_model": "DashboardStyleCustomUpdateRequest",
      "result_model": "DashboardStyleCustomUpdateResult",
      "runnable_example": "mammoth dashboard style custom update resource-123 --input '{\"body\": {\"params\": {\"signals\": {}}}}'"
    },
    "dashboard style default get": {
      "accepted_fields": [],
      "agent_example": "mammoth dashboard style default get",
      "command_id": "dashboard.style.default.get",
      "contract_level": "typed",
      "description": "Get the workspace's default style id.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth dashboard style default get --help",
      "notes": [],
      "positionals": [],
      "request_model": "DashboardStyleDefaultGetRequest",
      "result_model": "DashboardStyleDefaultGetResult",
      "runnable_example": "mammoth dashboard style default get"
    },
    "dashboard style default set": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "body",
          "required": true,
          "type": "DefaultStyleSpec"
        }
      ],
      "agent_example": "mammoth dashboard style default set --input '{\"body\": {\"params\": {\"styleId\": \"default\"}}}'",
      "command_id": "dashboard.style.default.set",
      "contract_level": "partially_typed",
      "description": "Set the workspace default style id.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth dashboard style default set --help",
      "notes": [],
      "positionals": [],
      "request_model": "DashboardStyleDefaultSetRequest",
      "result_model": "DashboardStyleDefaultSetResult",
      "runnable_example": "mammoth dashboard style default set --input '{\"body\": {\"params\": {\"styleId\": \"default\"}}}'"
    },
    "dashboard style derive": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "body",
          "required": true,
          "type": "DeriveStyleSpec"
        }
      ],
      "agent_example": "mammoth dashboard style derive --input '{\"body\": {\"params\": {\"signals\": {}}}}'",
      "command_id": "dashboard.style.derive",
      "contract_level": "partially_typed",
      "description": "Derive a full Style bundle from signals.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth dashboard style derive --help",
      "notes": [],
      "positionals": [],
      "request_model": "DashboardStyleDeriveRequest",
      "result_model": "DashboardStyleDeriveResult",
      "runnable_example": "mammoth dashboard style derive --input '{\"body\": {\"params\": {\"signals\": {}}}}'"
    },
    "dashboard style extract-brand": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "body",
          "required": true,
          "type": "ExtractBrandSpec"
        }
      ],
      "agent_example": "mammoth dashboard style extract-brand --input '{\"body\": {\"params\": {\"url\": \"https://example.com/data.csv\"}}}'",
      "command_id": "dashboard.style.extract-brand",
      "contract_level": "partially_typed",
      "description": "Kick a brand extraction from a URL.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth dashboard style extract-brand --help",
      "notes": [],
      "positionals": [],
      "request_model": "DashboardStyleExtractBrandRequest",
      "result_model": "DashboardStyleExtractBrandResult",
      "runnable_example": "mammoth dashboard style extract-brand --input '{\"body\": {\"params\": {\"url\": \"https://example.com/data.csv\"}}}'"
    },
    "dashboard style preset list": {
      "accepted_fields": [],
      "agent_example": "mammoth dashboard style preset list",
      "command_id": "dashboard.style.preset.list",
      "contract_level": "typed",
      "description": "Style presets (stock + custom).",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth dashboard style preset list --help",
      "notes": [],
      "positionals": [],
      "request_model": "DashboardStylePresetListRequest",
      "result_model": "DashboardStylePresetListResult",
      "runnable_example": "mammoth dashboard style preset list"
    },
    "dashboard style token list": {
      "accepted_fields": [],
      "agent_example": "mammoth dashboard style token list resource-123",
      "command_id": "dashboard.style.token.list",
      "contract_level": "typed",
      "description": "Get a full style bundle by id (stock or custom).",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth dashboard style token list ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "Identifier of the resource.",
          "metavar": "ID",
          "name": "id",
          "required": true,
          "type": "str"
        }
      ],
      "request_model": "DashboardStyleTokenListRequest",
      "result_model": "DashboardStyleTokenListResult",
      "runnable_example": "mammoth dashboard style token list resource-123"
    },
    "dashboard suggestion list": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "table_item_id",
          "required": false,
          "type": "int"
        }
      ],
      "agent_example": "mammoth dashboard suggestion list 123",
      "command_id": "dashboard.suggestion.list",
      "contract_level": "typed",
      "description": "Data-grounded starting points for the create screen.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth dashboard suggestion list DATAVIEW_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the dataview.",
          "metavar": "DATAVIEW_ID",
          "name": "dataview_id",
          "required": true,
          "type": "int"
        }
      ],
      "request_model": "DashboardSuggestionListRequest",
      "result_model": "DashboardSuggestionListResult",
      "runnable_example": "mammoth dashboard suggestion list 123"
    },
    "dashboard swap-data": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "body",
          "required": true,
          "type": "SwapDataSpec"
        }
      ],
      "agent_example": "mammoth dashboard swap-data 123 --input '{\"body\": {\"params\": {\"dataview_id\": 1}}}' --yes --confirm 123",
      "command_id": "dashboard.swap-data",
      "contract_level": "partially_typed",
      "description": "Re-point a v3 dashboard at a different dataset.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth dashboard swap-data DASHBOARD_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the dashboard.",
          "metavar": "DASHBOARD_ID",
          "name": "dashboard_id",
          "required": true,
          "type": "int"
        }
      ],
      "request_model": "SwapDataSpec",
      "result_model": "ObjectJobSchema",
      "runnable_example": "mammoth dashboard swap-data 123 --input '{\"body\": {\"params\": {\"dataview_id\": 1}}}' --yes --confirm 123"
    },
    "dashboard swap-fit": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "target_dataview_ids",
          "required": true,
          "type": "list[int]"
        },
        {
          "default": false,
          "enum": null,
          "name": "include_over_budget",
          "required": false,
          "type": "bool"
        },
        {
          "default": null,
          "enum": null,
          "name": "seconds_budget",
          "required": false,
          "type": "float"
        }
      ],
      "agent_example": "mammoth dashboard swap-fit 123 --input '{\"target_dataview_ids\": [1]}'",
      "command_id": "dashboard.swap-fit",
      "contract_level": "typed",
      "description": "Score one board against candidate datasets before 'swap_data' (no writes).",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth dashboard swap-fit SOURCE_DASHBOARD_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the source dashboard.",
          "metavar": "SOURCE_DASHBOARD_ID",
          "name": "source_dashboard_id",
          "required": true,
          "type": "int"
        }
      ],
      "request_model": "DashboardSwapFitRequest",
      "result_model": "DashboardSwapFitResult",
      "runnable_example": "mammoth dashboard swap-fit 123 --input '{\"target_dataview_ids\": [1]}'"
    },
    "dashboard tags delete": {
      "accepted_fields": [],
      "agent_example": "mammoth dashboard tags delete 123 --yes --confirm 123",
      "command_id": "dashboard.tags.delete",
      "contract_level": "typed",
      "description": "Delete a workspace dashboard tag after exact-target confirmation.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth dashboard tags delete TAG_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the tag.",
          "metavar": "TAG_ID",
          "name": "tag_id",
          "required": true,
          "type": "int"
        }
      ],
      "request_model": "DashboardTagsDeleteRequest",
      "result_model": "DashboardTagsDeleteResult",
      "runnable_example": "mammoth dashboard tags delete 123 --yes --confirm 123"
    },
    "dashboard tags list": {
      "accepted_fields": [],
      "agent_example": "mammoth dashboard tags list",
      "command_id": "dashboard.tags.list",
      "contract_level": "typed",
      "description": "List the workspace dashboard-tag vocabulary.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth dashboard tags list --help",
      "notes": [],
      "positionals": [],
      "request_model": "DashboardTagsListRequest",
      "result_model": "DashboardTagsListResult",
      "runnable_example": "mammoth dashboard tags list"
    },
    "dashboard tags merge": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "target_id",
          "required": true,
          "type": "int"
        }
      ],
      "agent_example": "mammoth dashboard tags merge 123 --input '{\"target_id\": 456}' --yes --confirm 123",
      "command_id": "dashboard.tags.merge",
      "contract_level": "typed",
      "description": "Merge a source workspace dashboard tag into a target tag.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth dashboard tags merge TAG_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the source tag.",
          "metavar": "TAG_ID",
          "name": "tag_id",
          "required": true,
          "type": "int"
        }
      ],
      "request_model": "DashboardTagsMergeRequest",
      "result_model": "DashboardTagsMergeResult",
      "runnable_example": "mammoth dashboard tags merge 123 --input '{\"target_id\": 456}' --yes --confirm 123"
    },
    "dashboard tags rename": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "name",
          "required": true,
          "type": "str"
        }
      ],
      "agent_example": "mammoth dashboard tags rename 123 --input '{\"name\": \"Revenue\"}'",
      "command_id": "dashboard.tags.rename",
      "contract_level": "typed",
      "description": "Rename a dashboard tag. A rename is undone by renaming back, so it asks nothing.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth dashboard tags rename TAG_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the tag.",
          "metavar": "TAG_ID",
          "name": "tag_id",
          "required": true,
          "type": "int"
        }
      ],
      "request_model": "DashboardTagsRenameRequest",
      "result_model": "DashboardTagsRenameResult",
      "runnable_example": "mammoth dashboard tags rename 123 --input '{\"name\": \"Revenue\"}'"
    },
    "dashboard tags set": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "tags",
          "required": true,
          "type": "list[str]"
        }
      ],
      "agent_example": "mammoth dashboard tags set 123 --input '{\"tags\": [\"Revenue\"]}' --yes --confirm 123",
      "command_id": "dashboard.tags.set",
      "contract_level": "typed",
      "description": "Replace all dashboard tags after exact-target confirmation.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth dashboard tags set DASHBOARD_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the dashboard.",
          "metavar": "DASHBOARD_ID",
          "name": "dashboard_id",
          "required": true,
          "type": "int"
        }
      ],
      "request_model": "DashboardTagsSetRequest",
      "result_model": "DashboardTagsSetResult",
      "runnable_example": "mammoth dashboard tags set 123 --input '{\"tags\": [\"Revenue\"]}' --yes --confirm 123"
    },
    "dashboard template apply": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "body",
          "required": true,
          "type": "ApplyTemplateSpec"
        }
      ],
      "agent_example": "mammoth dashboard template apply --input '{\"body\": {\"params\": {\"source_dashboard_id\": 1, \"target_dataview_id\": 1}}}'",
      "command_id": "dashboard.template.apply",
      "contract_level": "partially_typed",
      "description": "Apply a template to a target dataset.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth dashboard template apply --help",
      "notes": [],
      "positionals": [],
      "request_model": "DashboardTemplateApplyRequest",
      "result_model": "DashboardTemplateApplyResult",
      "runnable_example": "mammoth dashboard template apply --input '{\"body\": {\"params\": {\"source_dashboard_id\": 1, \"target_dataview_id\": 1}}}'"
    },
    "dashboard template create": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "body",
          "required": true,
          "type": "SaveTemplateSpec"
        }
      ],
      "agent_example": "mammoth dashboard template create --input '{\"body\": {\"params\": {\"dashboard_id\": 1, \"title\": \"Revenue report\"}}}'",
      "command_id": "dashboard.template.create",
      "contract_level": "partially_typed",
      "description": "Save a dashboard as a workspace template.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth dashboard template create --help",
      "notes": [],
      "positionals": [],
      "request_model": "DashboardTemplateCreateRequest",
      "result_model": "DashboardTemplateCreateResult",
      "runnable_example": "mammoth dashboard template create --input '{\"body\": {\"params\": {\"dashboard_id\": 1, \"title\": \"Revenue report\"}}}'"
    },
    "dashboard template delete": {
      "accepted_fields": [],
      "agent_example": "mammoth dashboard template delete resource-123 --yes",
      "command_id": "dashboard.template.delete",
      "contract_level": "typed",
      "description": "Delete a saved workspace template.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth dashboard template delete TEMPLATE_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the template.",
          "metavar": "TEMPLATE_ID",
          "name": "template_id",
          "required": true,
          "type": "str"
        }
      ],
      "request_model": "DashboardTemplateDeleteRequest",
      "result_model": "DashboardTemplateDeleteResult",
      "runnable_example": "mammoth dashboard template delete resource-123 --yes"
    },
    "dashboard template fit": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "table_item_id",
          "required": false,
          "type": "int"
        }
      ],
      "agent_example": "mammoth dashboard template fit 123",
      "command_id": "dashboard.template.fit",
      "contract_level": "typed",
      "description": "Fit-score the whole catalog against one dataset.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth dashboard template fit DATAVIEW_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the dataview.",
          "metavar": "DATAVIEW_ID",
          "name": "dataview_id",
          "required": true,
          "type": "int"
        }
      ],
      "request_model": "DashboardTemplateFitRequest",
      "result_model": "DashboardTemplateFitResult",
      "runnable_example": "mammoth dashboard template fit 123"
    },
    "dashboard template get": {
      "accepted_fields": [],
      "agent_example": "mammoth dashboard template get resource-123",
      "command_id": "dashboard.template.get",
      "contract_level": "typed",
      "description": "One template's metadata + self-fit recipe.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth dashboard template get TEMPLATE_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the template.",
          "metavar": "TEMPLATE_ID",
          "name": "template_id",
          "required": true,
          "type": "str"
        }
      ],
      "request_model": "DashboardTemplateGetRequest",
      "result_model": "DashboardTemplateGetResult",
      "runnable_example": "mammoth dashboard template get resource-123"
    },
    "dashboard template list": {
      "accepted_fields": [],
      "agent_example": "mammoth dashboard template list",
      "command_id": "dashboard.template.list",
      "contract_level": "typed",
      "description": "Curated template catalog.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth dashboard template list --help",
      "notes": [],
      "positionals": [],
      "request_model": "DashboardTemplateListRequest",
      "result_model": "DashboardTemplateListResult",
      "runnable_example": "mammoth dashboard template list"
    },
    "dashboard template preview": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "body",
          "required": true,
          "type": "PreviewTemplateSpec"
        }
      ],
      "agent_example": "mammoth dashboard template preview --input '{\"body\": {\"params\": {\"source_dashboard_id\": 1}}}'",
      "command_id": "dashboard.template.preview",
      "contract_level": "partially_typed",
      "description": "Preview a template mapping applied to a target dataset.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth dashboard template preview --help",
      "notes": [],
      "positionals": [],
      "request_model": "DashboardTemplatePreviewRequest",
      "result_model": "DashboardTemplatePreviewResult",
      "runnable_example": "mammoth dashboard template preview --input '{\"body\": {\"params\": {\"source_dashboard_id\": 1}}}'"
    },
    "dashboard template rename": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "body",
          "required": true,
          "type": "RenameTemplateSpec"
        }
      ],
      "agent_example": "mammoth dashboard template rename resource-123 --input '{\"body\": {\"params\": {\"title\": \"Revenue report\"}}}'",
      "command_id": "dashboard.template.rename",
      "contract_level": "partially_typed",
      "description": "Rename a saved workspace template.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth dashboard template rename TEMPLATE_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the template.",
          "metavar": "TEMPLATE_ID",
          "name": "template_id",
          "required": true,
          "type": "str"
        }
      ],
      "request_model": "DashboardTemplateRenameRequest",
      "result_model": "DashboardTemplateRenameResult",
      "runnable_example": "mammoth dashboard template rename resource-123 --input '{\"body\": {\"params\": {\"title\": \"Revenue report\"}}}'"
    },
    "dashboard template resolve-mapping": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "body",
          "required": true,
          "type": "ResolveTemplateMappingSpec"
        }
      ],
      "agent_example": "mammoth dashboard template resolve-mapping --input '{\"body\": {\"params\": {\"source_dashboard_id\": 1}}}'",
      "command_id": "dashboard.template.resolve-mapping",
      "contract_level": "partially_typed",
      "description": "Propose a template mapping onto a target dataset.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth dashboard template resolve-mapping --help",
      "notes": [],
      "positionals": [],
      "request_model": "DashboardTemplateResolveMappingRequest",
      "result_model": "DashboardTemplateResolveMappingResult",
      "runnable_example": "mammoth dashboard template resolve-mapping --input '{\"body\": {\"params\": {\"source_dashboard_id\": 1}}}'"
    },
    "dashboard template thumbnail clear": {
      "accepted_fields": [],
      "agent_example": "mammoth dashboard template thumbnail clear resource-123 --yes",
      "command_id": "dashboard.template.thumbnail.clear",
      "contract_level": "typed",
      "description": "Remove a saved template's picture; its card falls back to the og-card.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth dashboard template thumbnail clear TEMPLATE_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the template.",
          "metavar": "TEMPLATE_ID",
          "name": "template_id",
          "required": true,
          "type": "str"
        }
      ],
      "request_model": "DashboardTemplateThumbnailClearRequest",
      "result_model": "DashboardTemplateThumbnailClearResult",
      "runnable_example": "mammoth dashboard template thumbnail clear resource-123 --yes"
    },
    "dashboard template thumbnail get": {
      "accepted_fields": [],
      "agent_example": "mammoth dashboard template thumbnail get resource-123",
      "command_id": "dashboard.template.thumbnail.get",
      "contract_level": "typed",
      "description": "Download the picture a template's card shows.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth dashboard template thumbnail get TEMPLATE_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the template.",
          "metavar": "TEMPLATE_ID",
          "name": "template_id",
          "required": true,
          "type": "str"
        }
      ],
      "request_model": "DashboardTemplateThumbnailGetRequest",
      "result_model": "DashboardTemplateThumbnailGetResult",
      "runnable_example": "mammoth dashboard template thumbnail get resource-123"
    },
    "dashboard template thumbnail set": {
      "accepted_fields": [],
      "agent_example": "mammoth dashboard template thumbnail set resource-123 card.png",
      "command_id": "dashboard.template.thumbnail.set",
      "contract_level": "typed",
      "description": "Replace the picture of a saved workspace template.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth dashboard template thumbnail set TEMPLATE_ID FILE --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the template.",
          "metavar": "TEMPLATE_ID",
          "name": "template_id",
          "required": true,
          "type": "str"
        },
        {
          "falls_back_to_field": null,
          "help": "Path to a local PNG, JPEG or WebP image (1 MB at most).",
          "kind": "local_path",
          "metavar": "FILE",
          "name": "file",
          "required": true,
          "type": "str"
        }
      ],
      "request_model": "DashboardTemplateThumbnailSetRequest",
      "result_model": "DashboardTemplateThumbnailSetResult",
      "runnable_example": "mammoth dashboard template thumbnail set resource-123 card.png"
    },
    "dashboard templates pending": {
      "accepted_fields": [],
      "agent_example": "mammoth dashboard templates pending",
      "command_id": "dashboard.templates.pending",
      "contract_level": "typed",
      "description": "Claim the pending dashboard template for the workspace.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth dashboard templates pending --help",
      "notes": [],
      "positionals": [],
      "request_model": "DashboardTemplatePendingRequest",
      "result_model": "PendingTemplateResponse",
      "runnable_example": "mammoth dashboard templates pending"
    },
    "dashboard templates use": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "body",
          "required": true,
          "type": "UseTemplateSpec"
        }
      ],
      "agent_example": "mammoth dashboard templates use revenue-overview --input '{\"body\": {\"params\": {\"project_id\": 1}}}' --yes --confirm revenue-overview",
      "command_id": "dashboard.templates.use",
      "contract_level": "partially_typed",
      "description": "Instantiate a dashboard template on its sample data.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth dashboard templates use SLUG --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "Template slug.",
          "metavar": "SLUG",
          "name": "slug",
          "required": true,
          "type": "str"
        }
      ],
      "request_model": "UseTemplateSpec",
      "result_model": "ObjectJobSchema | JobResponse",
      "runnable_example": "mammoth dashboard templates use revenue-overview --input '{\"body\": {\"params\": {\"project_id\": 1}}}' --yes --confirm revenue-overview"
    },
    "dashboard trash": {
      "accepted_fields": [],
      "agent_example": "mammoth dashboard trash 123",
      "command_id": "dashboard.trash",
      "contract_level": "typed",
      "description": "Move one dashboard to the trash (reversible).",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth dashboard trash DASHBOARD_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the dashboard.",
          "metavar": "DASHBOARD_ID",
          "name": "dashboard_id",
          "required": true,
          "type": "int"
        }
      ],
      "request_model": "DashboardTrashRequest",
      "result_model": "DashboardTrashResult",
      "runnable_example": "mammoth dashboard trash 123"
    },
    "dashboard unpublished": {
      "accepted_fields": [],
      "agent_example": "mammoth dashboard unpublished 123",
      "command_id": "dashboard.unpublished",
      "contract_level": "typed",
      "description": "Draft changes since the published version.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth dashboard unpublished DASHBOARD_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the dashboard.",
          "metavar": "DASHBOARD_ID",
          "name": "dashboard_id",
          "required": true,
          "type": "int"
        }
      ],
      "request_model": "DashboardUnpublishedRequest",
      "result_model": "DashboardUnpublishedResult",
      "runnable_example": "mammoth dashboard unpublished 123"
    },
    "dashboard update": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "patch",
          "required": true,
          "type": "list[DashboardPatchItem]"
        }
      ],
      "agent_example": "mammoth dashboard update 123 --input '{\"patch\": [{\"op\": \"replace\", \"path\": \"title\", \"value\": \"Renamed dashboard\"}]}'",
      "command_id": "dashboard.update",
      "contract_level": "typed",
      "description": "Apply a JSON Patch to one dashboard. Dashboard id is positional.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth dashboard update DASHBOARD_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the dashboard.",
          "metavar": "DASHBOARD_ID",
          "name": "dashboard_id",
          "required": true,
          "type": "int"
        }
      ],
      "request_model": "DashboardUpdateRequest",
      "result_model": "DashboardUpdateResult",
      "runnable_example": "mammoth dashboard update 123 --input '{\"patch\": [{\"op\": \"replace\", \"path\": \"title\", \"value\": \"Renamed dashboard\"}]}'"
    },
    "dashboard v3 generate": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "body",
          "required": true,
          "type": "GenerateDashboardV3Spec"
        }
      ],
      "agent_example": "mammoth dashboard v3 generate --input '{\"body\": {\"params\": {\"intent\": \"Weekly sales by region\", \"dataview_id\": 1}}}'",
      "command_id": "dashboard.v3.generate",
      "contract_level": "partially_typed",
      "description": "Generate a v3 dashboard.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth dashboard v3 generate --help",
      "notes": [
        "The result is compact: ids, checks, verify and a canvas summary. Pass --full for the complete response."
      ],
      "positionals": [],
      "request_model": "DashboardV3GenerateRequest",
      "result_model": "DashboardV3GenerateResult",
      "runnable_example": "mammoth dashboard v3 generate --input '{\"body\": {\"params\": {\"intent\": \"Weekly sales by region\", \"dataview_id\": 1}}}'"
    },
    "dashboard video export": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "aspect",
          "required": false,
          "type": "typing.Literal['landscape', 'square', 'portrait', None]"
        }
      ],
      "agent_example": "mammoth dashboard video export 123",
      "command_id": "dashboard.video.export",
      "contract_level": "typed",
      "description": "Kick a motion-story video export.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth dashboard video export DASHBOARD_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the dashboard.",
          "metavar": "DASHBOARD_ID",
          "name": "dashboard_id",
          "required": true,
          "type": "int"
        }
      ],
      "request_model": "DashboardVideoExportRequest",
      "result_model": "DashboardVideoExportResult",
      "runnable_example": "mammoth dashboard video export 123"
    },
    "dashboard video-state": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "aspect",
          "required": false,
          "type": "typing.Literal['landscape', 'square', 'portrait', None]"
        }
      ],
      "agent_example": "mammoth dashboard video-state 123",
      "command_id": "dashboard.video-state",
      "contract_level": "typed",
      "description": "Motion-story video export state (never kicks a render).",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth dashboard video-state DASHBOARD_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the dashboard.",
          "metavar": "DASHBOARD_ID",
          "name": "dashboard_id",
          "required": true,
          "type": "int"
        }
      ],
      "request_model": "DashboardVideoStateRequest",
      "result_model": "DashboardVideoStateResult",
      "runnable_example": "mammoth dashboard video-state 123"
    },
    "dashboard widget-data": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "body",
          "required": true,
          "type": "dict[str, any]"
        }
      ],
      "agent_example": "mammoth dashboard widget-data 123 --input '{\"body\": {\"params\": {\"widgets\": [{\"widget_id\": \"00000000-0000-4000-8000-000000000001\"}]}}}'",
      "command_id": "dashboard.widget-data",
      "contract_level": "partially_typed",
      "description": "Run a widget-data request for a dashboard by id. 'body' from '--input'.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth dashboard widget-data DASHBOARD_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the dashboard.",
          "metavar": "DASHBOARD_ID",
          "name": "dashboard_id",
          "required": true,
          "type": "int"
        }
      ],
      "request_model": "DashboardWidgetDataRequest",
      "result_model": "DashboardWidgetDataResult",
      "runnable_example": "mammoth dashboard widget-data 123 --input '{\"body\": {\"params\": {\"widgets\": [{\"widget_id\": \"00000000-0000-4000-8000-000000000001\"}]}}}'"
    },
    "dashboard widget-data-by-url": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "body",
          "required": true,
          "type": "dict[str, any]"
        }
      ],
      "agent_example": "mammoth dashboard widget-data-by-url https://example.com/data.csv --input '{\"body\": {\"params\": {\"widgets\": [{\"widget_id\": \"00000000-0000-4000-8000-000000000001\"}]}}}'",
      "command_id": "dashboard.widget-data-by-url",
      "contract_level": "partially_typed",
      "description": "Run a widget-data request for a dashboard by url. 'body' from '--input'.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth dashboard widget-data-by-url URL --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "URL slug identifying the resource.",
          "metavar": "URL",
          "name": "url",
          "required": true,
          "type": "str"
        }
      ],
      "request_model": "DashboardWidgetDataByUrlRequest",
      "result_model": "DashboardWidgetDataByUrlResult",
      "runnable_example": "mammoth dashboard widget-data-by-url https://example.com/data.csv --input '{\"body\": {\"params\": {\"widgets\": [{\"widget_id\": \"00000000-0000-4000-8000-000000000001\"}]}}}'"
    },
    "dataset batch-data": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "columns",
          "required": false,
          "type": "str | list[str] | None"
        },
        {
          "default": 50,
          "enum": null,
          "name": "limit",
          "required": false,
          "type": "int"
        },
        {
          "default": 0,
          "enum": null,
          "name": "offset",
          "required": false,
          "type": "int"
        },
        {
          "default": null,
          "enum": null,
          "name": "timeout",
          "required": false,
          "type": "int"
        },
        {
          "default": null,
          "enum": null,
          "name": "poll_interval",
          "required": false,
          "type": "float"
        }
      ],
      "agent_example": "mammoth dataset batch-data 123 456",
      "command_id": "dataset.batch-data",
      "contract_level": "typed",
      "description": "Fetch data for a specific dataset batch.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth dataset batch-data DATASET_ID BATCH_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the dataset.",
          "metavar": "DATASET_ID",
          "name": "dataset_id",
          "required": true,
          "type": "int"
        },
        {
          "falls_back_to_field": null,
          "help": "ID of the batch.",
          "metavar": "BATCH_ID",
          "name": "batch_id",
          "required": true,
          "type": "int"
        }
      ],
      "request_model": "DatasetBatchDataRequest",
      "result_model": "DatasetBatchDataResult",
      "runnable_example": "mammoth dataset batch-data 123 456"
    },
    "dataset broken-rows list": {
      "accepted_fields": [],
      "agent_example": "mammoth dataset broken-rows list 123",
      "command_id": "dataset.broken-rows.list",
      "contract_level": "typed",
      "description": "List the lines of a dataset's uploaded file that could not be parsed.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth dataset broken-rows list DATASET_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the dataset.",
          "metavar": "DATASET_ID",
          "name": "dataset_id",
          "required": true,
          "type": "int"
        }
      ],
      "request_model": "DatasetBrokenRowsListRequest",
      "result_model": "DatasetBrokenRowsListResult",
      "runnable_example": "mammoth dataset broken-rows list 123"
    },
    "dataset broken-rows resolve": {
      "accepted_fields": [
        {
          "default": null,
          "enum": [
            "add",
            "remove"
          ],
          "name": "op",
          "required": true,
          "type": "typing.Literal['add', 'remove']"
        },
        {
          "default": null,
          "enum": null,
          "name": "batch_id",
          "required": true,
          "type": "int"
        },
        {
          "default": null,
          "enum": null,
          "name": "rows",
          "required": true,
          "type": "list[dict[str, any]]"
        }
      ],
      "agent_example": "mammoth dataset broken-rows resolve 123 --input '{\"op\": \"add\", \"batch_id\": 1, \"rows\": [{\"line_num\": 2, \"line\": \"corrected,line,here\"}]}' --yes",
      "command_id": "dataset.broken-rows.resolve",
      "contract_level": "typed",
      "description": "Add corrected set-aside lines to a dataset, or discard them. Prompt or '--yes'.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth dataset broken-rows resolve DATASET_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the dataset.",
          "metavar": "DATASET_ID",
          "name": "dataset_id",
          "required": true,
          "type": "int"
        }
      ],
      "request_model": "DatasetBrokenRowsResolveRequest",
      "result_model": "DatasetBrokenRowsResolveResult",
      "runnable_example": "mammoth dataset broken-rows resolve 123 --input '{\"op\": \"add\", \"batch_id\": 1, \"rows\": [{\"line_num\": 2, \"line\": \"corrected,line,here\"}]}' --yes"
    },
    "dataset bulk-delete": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "dataset_ids",
          "required": false,
          "type": "list[int]"
        }
      ],
      "agent_example": "mammoth dataset bulk-delete --input '{\"dataset_ids\": [456, 457]}' --yes",
      "command_id": "dataset.bulk-delete",
      "contract_level": "typed",
      "description": "Permanently delete the listed datasets. 'dataset_ids' from '--input'; '--yes' required.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth dataset bulk-delete --help",
      "notes": [],
      "positionals": [],
      "request_model": "DatasetBulkDeleteRequest",
      "result_model": "DatasetBulkDeleteResult",
      "runnable_example": "mammoth dataset bulk-delete --input '{\"dataset_ids\": [456, 457]}' --yes"
    },
    "dataset bulk-update": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "patch_data",
          "required": true,
          "type": "dict[str, any]"
        }
      ],
      "agent_example": "mammoth dataset bulk-update --input '{\"patch_data\": {\"name\": \"Status\"}}' --yes",
      "command_id": "dataset.bulk-update",
      "contract_level": "typed",
      "description": "Apply a bulk patch across the active project's datasets. High-impact.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth dataset bulk-update --help",
      "notes": [],
      "positionals": [],
      "request_model": "DatasetBulkUpdateRequest",
      "result_model": "DatasetBulkUpdateResult",
      "runnable_example": "mammoth dataset bulk-update --input '{\"patch_data\": {\"name\": \"Status\"}}' --yes"
    },
    "dataset column-stats": {
      "accepted_fields": [],
      "agent_example": "mammoth dataset column-stats",
      "command_id": "dataset.column-stats",
      "contract_level": "typed",
      "description": "Every column's blanks, type and distinct count for each dataset in the project.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth dataset column-stats --help",
      "notes": [],
      "positionals": [],
      "request_model": "DatasetColumnStatsRequest",
      "result_model": "DatasetColumnStatsResult",
      "runnable_example": "mammoth dataset column-stats"
    },
    "dataset create": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "dataset_spec",
          "required": true,
          "type": "dict[str, any]"
        },
        {
          "default": null,
          "enum": null,
          "name": "ds_creation_type",
          "required": true,
          "type": "str"
        },
        {
          "default": null,
          "enum": null,
          "name": "folder_resource_id",
          "required": false,
          "type": "str"
        }
      ],
      "agent_example": "mammoth dataset create --input '{\"dataset_spec\": {\"url\": \"https://sampledata.mammoth.io/Multi-Store_Retail_Sales.csv\"}, \"ds_creation_type\": \"weburl\"}'",
      "command_id": "dataset.create",
      "contract_level": "typed",
      "description": "Create a dataset (web URL, clone, or import from a connection such as SFTP).",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth dataset create --help",
      "notes": [
        "Allowed values: dataset_spec.query_properties.data_pull_file: 'Pull same file', 'Pull next file based on name pattern'"
      ],
      "positionals": [],
      "request_model": "DatasetCreateRequest",
      "result_model": "DatasetCreateResult",
      "runnable_example": "mammoth dataset create --input '{\"dataset_spec\": {\"url\": \"https://sampledata.mammoth.io/Multi-Store_Retail_Sales.csv\"}, \"ds_creation_type\": \"weburl\"}'"
    },
    "dataset create-from-pdf": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "file_name",
          "required": true,
          "type": "str"
        },
        {
          "default": null,
          "enum": null,
          "name": "file_id",
          "required": false,
          "type": "str"
        },
        {
          "default": null,
          "enum": null,
          "name": "table_list",
          "required": false,
          "type": "list[int]"
        },
        {
          "default": false,
          "enum": null,
          "name": "delete_file_after_extract",
          "required": false,
          "type": "bool"
        },
        {
          "default": null,
          "enum": null,
          "name": "is_preview_needed",
          "required": false,
          "type": "bool"
        },
        {
          "default": null,
          "enum": null,
          "name": "user_instruction",
          "required": false,
          "type": "str"
        }
      ],
      "agent_example": "mammoth dataset create-from-pdf 123 --input '{\"file_name\": \"./sales.csv\"}'",
      "command_id": "dataset.create-from-pdf",
      "contract_level": "typed",
      "description": "Create dataset(s) from tables extracted out of a PDF file.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth dataset create-from-pdf FILE_OBJECT_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the file object.",
          "metavar": "FILE_OBJECT_ID",
          "name": "file_object_id",
          "required": true,
          "type": "int"
        }
      ],
      "request_model": "DatasetCreateFromPdfRequest",
      "result_model": "DatasetCreateFromPdfResult",
      "runnable_example": "mammoth dataset create-from-pdf 123 --input '{\"file_name\": \"./sales.csv\"}'"
    },
    "dataset data": {
      "accepted_fields": [
        {
          "default": 300,
          "enum": null,
          "name": "timeout",
          "required": false,
          "type": "int"
        },
        {
          "default": null,
          "enum": null,
          "name": "poll_interval",
          "required": false,
          "type": "float"
        }
      ],
      "agent_example": "mammoth dataset data 123",
      "command_id": "dataset.data",
      "contract_level": "typed",
      "description": "Fetch a dataset's data, waiting for the backing job to complete.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth dataset data DATASET_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the dataset.",
          "metavar": "DATASET_ID",
          "name": "dataset_id",
          "required": true,
          "type": "int"
        }
      ],
      "request_model": "DatasetDataRequest",
      "result_model": "DatasetDataResult",
      "runnable_example": "mammoth dataset data 123"
    },
    "dataset definition add": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "term",
          "required": true,
          "type": "str"
        },
        {
          "default": null,
          "enum": null,
          "name": "definition",
          "required": true,
          "type": "str"
        }
      ],
      "agent_example": "mammoth dataset definition add 123 --input '{\"term\": \"late\", \"definition\": \"delivered more than 5 days after shipped_date\"}' --yes --confirm 123",
      "command_id": "dataset.definition.add",
      "contract_level": "typed",
      "description": "Save what a term means for a dataset ('term' and 'definition' from '--input').",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth dataset definition add DATASET_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the dataset.",
          "metavar": "DATASET_ID",
          "name": "dataset_id",
          "required": true,
          "type": "int"
        }
      ],
      "request_model": "DatasetDefinitionAddRequest",
      "result_model": "DatasetDefinitionAddResult",
      "runnable_example": "mammoth dataset definition add 123 --input '{\"term\": \"late\", \"definition\": \"delivered more than 5 days after shipped_date\"}' --yes --confirm 123"
    },
    "dataset definition list": {
      "accepted_fields": [],
      "agent_example": "mammoth dataset definition list 123",
      "command_id": "dataset.definition.list",
      "contract_level": "typed",
      "description": "List what terms mean for one dataset, as its users saved them.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth dataset definition list DATASET_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the dataset.",
          "metavar": "DATASET_ID",
          "name": "dataset_id",
          "required": true,
          "type": "int"
        }
      ],
      "request_model": "DatasetDefinitionListRequest",
      "result_model": "DatasetDefinitionListResult",
      "runnable_example": "mammoth dataset definition list 123"
    },
    "dataset definition remove": {
      "accepted_fields": [],
      "agent_example": "mammoth dataset definition remove 123 a1b2c3d4 --yes",
      "command_id": "dataset.definition.remove",
      "contract_level": "typed",
      "description": "Remove one definition from a dataset by its id. Prompt or '--yes' required.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth dataset definition remove DATASET_ID DEFINITION_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the dataset.",
          "metavar": "DATASET_ID",
          "name": "dataset_id",
          "required": true,
          "type": "int"
        },
        {
          "falls_back_to_field": null,
          "help": "ID of the definition.",
          "metavar": "DEFINITION_ID",
          "name": "definition_id",
          "required": true,
          "type": "str"
        }
      ],
      "request_model": "DatasetDefinitionRemoveRequest",
      "result_model": "DatasetDefinitionRemoveResult",
      "runnable_example": "mammoth dataset definition remove 123 a1b2c3d4 --yes"
    },
    "dataset delete": {
      "accepted_fields": [],
      "agent_example": "mammoth dataset delete 123 --yes",
      "command_id": "dataset.delete",
      "contract_level": "typed",
      "description": "Permanently delete one dataset by id. Prompt or '--yes' required.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth dataset delete DATASET_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the dataset.",
          "metavar": "DATASET_ID",
          "name": "dataset_id",
          "required": true,
          "type": "int"
        }
      ],
      "request_model": "DatasetDeleteRequest",
      "result_model": "DatasetDeleteResult",
      "runnable_example": "mammoth dataset delete 123 --yes"
    },
    "dataset download": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "resource_ids",
          "required": true,
          "type": "list[int]"
        },
        {
          "default": null,
          "enum": null,
          "name": "name",
          "required": true,
          "type": "str"
        },
        {
          "default": null,
          "enum": null,
          "name": "output_path",
          "required": false,
          "type": "str | pathlib.Path | None"
        },
        {
          "default": "csv",
          "enum": [
            "csv",
            "xlsx"
          ],
          "name": "file_type",
          "required": false,
          "type": "typing.Literal['csv', 'xlsx']"
        },
        {
          "default": false,
          "enum": null,
          "name": "stack",
          "required": false,
          "type": "bool"
        },
        {
          "default": false,
          "enum": null,
          "name": "numbered",
          "required": false,
          "type": "bool"
        },
        {
          "default": null,
          "enum": null,
          "name": "views",
          "required": false,
          "type": "dict[int, int]"
        },
        {
          "default": 300,
          "enum": null,
          "name": "timeout",
          "required": false,
          "type": "int"
        }
      ],
      "agent_example": "mammoth dataset download --input '{\"resource_ids\": [12, 13], \"name\": \"sales\", \"file_type\": \"csv\"}'",
      "command_id": "dataset.download",
      "contract_level": "typed",
      "description": "Download several datasets, views and folders as one csv, zip of csvs or xlsx file.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth dataset download --help",
      "notes": [],
      "positionals": [],
      "request_model": "DatasetDownloadRequest",
      "result_model": "DatasetDownloadResult",
      "runnable_example": "mammoth dataset download --input '{\"resource_ids\": [12, 13], \"name\": \"sales\", \"file_type\": \"csv\"}'"
    },
    "dataset download-plan": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "resource_ids",
          "required": true,
          "type": "list[int]"
        },
        {
          "default": null,
          "enum": null,
          "name": "views",
          "required": false,
          "type": "dict[int, int]"
        }
      ],
      "agent_example": "mammoth dataset download-plan --input '{\"resource_ids\": [12, 13]}'",
      "command_id": "dataset.download-plan",
      "contract_level": "typed",
      "description": "Say what downloading several datasets, views and folders would hold.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth dataset download-plan --help",
      "notes": [],
      "positionals": [],
      "request_model": "DatasetDownloadPlanRequest",
      "result_model": "DatasetDownloadPlanResult",
      "runnable_example": "mammoth dataset download-plan --input '{\"resource_ids\": [12, 13]}'"
    },
    "dataset file-settings get": {
      "accepted_fields": [],
      "agent_example": "mammoth dataset file-settings get 123",
      "command_id": "dataset.file-settings.get",
      "contract_level": "typed",
      "description": "Get file settings (delimiter, header, dates, ...) for a dataset.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth dataset file-settings get DATASET_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the dataset.",
          "metavar": "DATASET_ID",
          "name": "dataset_id",
          "required": true,
          "type": "int"
        }
      ],
      "request_model": "DatasetFileSettingsGetRequest",
      "result_model": "DatasetFileSettingsGetResult",
      "runnable_example": "mammoth dataset file-settings get 123"
    },
    "dataset file-settings undo": {
      "accepted_fields": [],
      "agent_example": "mammoth dataset file-settings undo 123 --yes",
      "command_id": "dataset.file-settings.undo",
      "contract_level": "typed",
      "description": "Undo the last file settings change for a dataset. Prompt or '--yes' required.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth dataset file-settings undo DATASET_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the dataset.",
          "metavar": "DATASET_ID",
          "name": "dataset_id",
          "required": true,
          "type": "int"
        }
      ],
      "request_model": "DatasetFileSettingsUndoRequest",
      "result_model": "DatasetFileSettingsUndoResult",
      "runnable_example": "mammoth dataset file-settings undo 123 --yes"
    },
    "dataset file-settings update": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "delimiter",
          "required": false,
          "type": "str"
        },
        {
          "default": null,
          "enum": null,
          "name": "has_header",
          "required": false,
          "type": "bool"
        },
        {
          "default": null,
          "enum": null,
          "name": "initial_skip_count",
          "required": false,
          "type": "int"
        },
        {
          "default": null,
          "enum": null,
          "name": "quotechar",
          "required": false,
          "type": "str"
        },
        {
          "default": null,
          "enum": null,
          "name": "date_format",
          "required": false,
          "type": "str"
        },
        {
          "default": false,
          "enum": null,
          "name": "preview_mode",
          "required": false,
          "type": "bool"
        },
        {
          "default": true,
          "enum": null,
          "name": "skip_auto_process_check",
          "required": false,
          "type": "bool"
        },
        {
          "default": null,
          "enum": null,
          "name": "date_formats",
          "required": false,
          "type": "dict[str, str]"
        },
        {
          "default": false,
          "enum": null,
          "name": "set_project_level_date_format",
          "required": false,
          "type": "bool"
        }
      ],
      "agent_example": "mammoth dataset file-settings update 123 --input '{\"initial_skip_count\": 2}'",
      "command_id": "dataset.file-settings.update",
      "contract_level": "typed",
      "description": "Update a dataset's file settings from '--input'.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth dataset file-settings update DATASET_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the dataset.",
          "metavar": "DATASET_ID",
          "name": "dataset_id",
          "required": true,
          "type": "int"
        }
      ],
      "request_model": "DatasetFileSettingsUpdateRequest",
      "result_model": "DatasetFileSettingsUpdateResult",
      "runnable_example": "mammoth dataset file-settings update 123 --input '{\"initial_skip_count\": 2}'"
    },
    "dataset find": {
      "accepted_fields": [
        {
          "default": false,
          "enum": null,
          "name": "all_projects",
          "required": false,
          "type": "bool"
        }
      ],
      "agent_example": "mammoth dataset find sales",
      "command_id": "dataset.find",
      "contract_level": "typed",
      "description": "Search dataset names for a substring across every visible project.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth dataset find --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "Case-insensitive substring to match against dataset names; optional when --input gives 'columns'. Matches in other projects are listed too, marked in_project when --project is given.",
          "metavar": "NAME_SUBSTRING",
          "name": "name_substring",
          "required": false,
          "type": "str"
        }
      ],
      "request_model": "DatasetFindRequest",
      "result_model": "DatasetFindResult",
      "runnable_example": "mammoth dataset find sales"
    },
    "dataset from-url follow": {
      "accepted_fields": [
        {
          "default": true,
          "enum": null,
          "name": "follow",
          "required": false,
          "type": "bool"
        }
      ],
      "agent_example": "mammoth dataset from-url follow 123 --input '{\"follow\": false}'",
      "command_id": "dataset.from-url.follow",
      "contract_level": "typed",
      "description": "Make a dataset made from a link follow it again, or turn it into a copy.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth dataset from-url follow DATASET_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the dataset.",
          "metavar": "DATASET_ID",
          "name": "dataset_id",
          "required": true,
          "type": "int"
        }
      ],
      "request_model": "DatasetFromUrlFollowRequest",
      "result_model": "DatasetFromUrlFollowResult",
      "runnable_example": "mammoth dataset from-url follow 123 --input '{\"follow\": false}'"
    },
    "dataset from-url links": {
      "accepted_fields": [],
      "agent_example": "mammoth dataset from-url links",
      "command_id": "dataset.from-url.links",
      "contract_level": "typed",
      "description": "Show which of the project's datasets follow a link, with their last fetch.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth dataset from-url links --help",
      "notes": [],
      "positionals": [],
      "request_model": "DatasetFromUrlLinksRequest",
      "result_model": "DatasetFromUrlLinksResult",
      "runnable_example": "mammoth dataset from-url links"
    },
    "dataset from-url preview": {
      "accepted_fields": [],
      "agent_example": "mammoth dataset from-url preview https://example.com/data.csv",
      "command_id": "dataset.from-url.preview",
      "contract_level": "typed",
      "description": "Read the CSV, Excel or JSON file at a link and show its tables, keeping nothing.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth dataset from-url preview URL --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "URL slug identifying the resource.",
          "metavar": "URL",
          "name": "url",
          "required": true,
          "type": "str"
        }
      ],
      "request_model": "DatasetFromUrlPreviewRequest",
      "result_model": "DatasetFromUrlPreviewResult",
      "runnable_example": "mammoth dataset from-url preview https://example.com/data.csv"
    },
    "dataset get": {
      "accepted_fields": [],
      "agent_example": "mammoth dataset get 123",
      "command_id": "dataset.get",
      "contract_level": "typed",
      "description": "Get one dataset by id in the active project.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth dataset get DATASET_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the dataset.",
          "metavar": "DATASET_ID",
          "name": "dataset_id",
          "required": true,
          "type": "int"
        }
      ],
      "request_model": "DatasetGetRequest",
      "result_model": "DatasetGetResult",
      "runnable_example": "mammoth dataset get 123"
    },
    "dataset interpretation confirm": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "user_instruction",
          "required": false,
          "type": "str"
        },
        {
          "default": null,
          "enum": null,
          "name": "structure_map",
          "required": false,
          "type": "dict[str, any]"
        },
        {
          "default": null,
          "enum": null,
          "name": "destination_dataset_id",
          "required": false,
          "type": "int"
        },
        {
          "default": null,
          "enum": null,
          "name": "mode",
          "required": false,
          "type": "str"
        }
      ],
      "agent_example": "mammoth dataset interpretation confirm 123",
      "command_id": "dataset.interpretation.confirm",
      "contract_level": "typed",
      "description": "Preview or confirm how a file that can be read several ways is interpreted.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth dataset interpretation confirm DATASET_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the dataset.",
          "metavar": "DATASET_ID",
          "name": "dataset_id",
          "required": true,
          "type": "int"
        }
      ],
      "request_model": "DatasetInterpretationConfirmRequest",
      "result_model": "DatasetInterpretationConfirmResult",
      "runnable_example": "mammoth dataset interpretation confirm 123"
    },
    "dataset interpretation preview": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "user_instruction",
          "required": false,
          "type": "str"
        },
        {
          "default": null,
          "enum": null,
          "name": "structure_map",
          "required": false,
          "type": "dict[str, any]"
        },
        {
          "default": null,
          "enum": null,
          "name": "destination_dataset_id",
          "required": false,
          "type": "int"
        }
      ],
      "agent_example": "mammoth dataset interpretation preview 123",
      "command_id": "dataset.interpretation.preview",
      "contract_level": "typed",
      "description": "Preview or confirm how a file that can be read several ways is interpreted.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth dataset interpretation preview DATASET_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the dataset.",
          "metavar": "DATASET_ID",
          "name": "dataset_id",
          "required": true,
          "type": "int"
        }
      ],
      "request_model": "DatasetInterpretationPreviewRequest",
      "result_model": "DatasetInterpretationPreviewResult",
      "runnable_example": "mammoth dataset interpretation preview 123"
    },
    "dataset list": {
      "accepted_fields": [
        {
          "default": 100,
          "enum": null,
          "name": "limit",
          "required": false,
          "type": "int"
        },
        {
          "default": 0,
          "enum": null,
          "name": "offset",
          "required": false,
          "type": "int"
        },
        {
          "default": "(created_at:desc)",
          "enum": null,
          "name": "sort",
          "required": false,
          "type": "str"
        },
        {
          "default": null,
          "enum": null,
          "name": "ids",
          "required": false,
          "type": "list[int]"
        },
        {
          "default": false,
          "enum": null,
          "name": "full",
          "required": false,
          "type": "bool"
        },
        {
          "default": null,
          "enum": null,
          "name": "name",
          "required": false,
          "type": "str"
        },
        {
          "default": false,
          "enum": null,
          "name": "names",
          "required": false,
          "type": "bool"
        }
      ],
      "agent_example": "mammoth dataset list",
      "command_id": "dataset.list",
      "contract_level": "typed",
      "description": "List datasets in the active project, newest first, each with what tells them apart.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth dataset list --help",
      "notes": [],
      "positionals": [],
      "request_model": "DatasetListRequest",
      "result_model": "DatasetListResult",
      "runnable_example": "mammoth dataset list"
    },
    "dataset refresh": {
      "accepted_fields": [],
      "agent_example": "mammoth dataset refresh 123 --yes",
      "command_id": "dataset.refresh",
      "contract_level": "typed",
      "description": "Fetch a URL dataset's link again into the same dataset. Prompt or '--yes' required.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth dataset refresh DATASET_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the dataset.",
          "metavar": "DATASET_ID",
          "name": "dataset_id",
          "required": true,
          "type": "int"
        }
      ],
      "request_model": "DatasetRefreshRequest",
      "result_model": "DatasetRefreshResult",
      "runnable_example": "mammoth dataset refresh 123 --yes"
    },
    "dataset rename": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "name",
          "required": true,
          "type": "str"
        },
        {
          "default": false,
          "enum": null,
          "name": "unique",
          "required": false,
          "type": "bool"
        }
      ],
      "agent_example": "mammoth dataset rename 123 --input '{\"name\": \"Revenue report\"}'",
      "command_id": "dataset.rename",
      "contract_level": "typed",
      "description": "Rename a dataset. Dataset id is positional; new name comes from '--input'.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth dataset rename DATASET_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the dataset.",
          "metavar": "DATASET_ID",
          "name": "dataset_id",
          "required": true,
          "type": "int"
        }
      ],
      "request_model": "DatasetRenameRequest",
      "result_model": "DatasetRenameResult",
      "runnable_example": "mammoth dataset rename 123 --input '{\"name\": \"Revenue report\"}'"
    },
    "dataset restore": {
      "accepted_fields": [],
      "agent_example": "mammoth dataset restore 123",
      "command_id": "dataset.restore",
      "contract_level": "typed",
      "description": "Restore a trashed dataset.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth dataset restore DATASET_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the dataset.",
          "metavar": "DATASET_ID",
          "name": "dataset_id",
          "required": true,
          "type": "int"
        }
      ],
      "request_model": "DatasetRestoreRequest",
      "result_model": "DatasetRestoreResult",
      "runnable_example": "mammoth dataset restore 123"
    },
    "dataset schema-diff": {
      "accepted_fields": [],
      "agent_example": "mammoth dataset schema-diff 10 11",
      "command_id": "dataset.schema-diff",
      "contract_level": "typed",
      "description": "Compare two datasets' columns and propose the 'batch create' mapping.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth dataset schema-diff DESTINATION_ID SOURCE_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "Dataset the rows would be appended into (the DATASET_ID of batch create).",
          "metavar": "DESTINATION_ID",
          "name": "destination_id",
          "required": true,
          "type": "int"
        },
        {
          "falls_back_to_field": null,
          "help": "Dataset whose rows would be appended (the SOURCE_ID of batch create).",
          "metavar": "SOURCE_ID",
          "name": "source_id",
          "required": true,
          "type": "int"
        }
      ],
      "request_model": "DatasetSchemaDiffRequest",
      "result_model": "DatasetSchemaDiffResult",
      "runnable_example": "mammoth dataset schema-diff 10 11"
    },
    "dataset search": {
      "accepted_fields": [],
      "agent_example": "mammoth dataset search 'New Year Sale'",
      "command_id": "dataset.search",
      "contract_level": "typed",
      "description": "Find the project's datasets whose name, column names or sampled values hold TERM.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth dataset search TERM --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "Text to find in dataset names, column names or sampled column values (case-insensitive, at least 2 characters).",
          "metavar": "TERM",
          "name": "term",
          "required": true,
          "type": "str"
        }
      ],
      "request_model": "DatasetSearchRequest",
      "result_model": "DatasetSearchResult",
      "runnable_example": "mammoth dataset search 'New Year Sale'"
    },
    "dataset tool-claim get": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "token",
          "required": true,
          "type": "str"
        }
      ],
      "agent_example": "mammoth dataset tool-claim get --input '{\"token\": \"replace-with-secret\"}'",
      "command_id": "dataset.tool-claim.get",
      "contract_level": "typed",
      "description": "Say what an emailed Open tables link opens.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth dataset tool-claim get --help",
      "notes": [],
      "positionals": [],
      "request_model": "DatasetToolClaimGetRequest",
      "result_model": "DatasetToolClaimGetResult",
      "runnable_example": "mammoth dataset tool-claim get --input '{\"token\": \"replace-with-secret\"}'"
    },
    "dataset tool-claim redeem": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "token",
          "required": true,
          "type": "str"
        }
      ],
      "agent_example": "mammoth dataset tool-claim redeem --input '{\"token\": \"replace-with-secret\"}'",
      "command_id": "dataset.tool-claim.redeem",
      "contract_level": "typed",
      "description": "Add the tables of an emailed Open tables link to a project, in a new folder.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth dataset tool-claim redeem --help",
      "notes": [],
      "positionals": [],
      "request_model": "DatasetToolClaimRedeemRequest",
      "result_model": "DatasetToolClaimRedeemResult",
      "runnable_example": "mammoth dataset tool-claim redeem --input '{\"token\": \"replace-with-secret\"}'"
    },
    "dataset trash": {
      "accepted_fields": [],
      "agent_example": "mammoth dataset trash 123",
      "command_id": "dataset.trash",
      "contract_level": "typed",
      "description": "Move one dataset to the project trash (reversible).",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth dataset trash DATASET_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the dataset.",
          "metavar": "DATASET_ID",
          "name": "dataset_id",
          "required": true,
          "type": "int"
        }
      ],
      "request_model": "DatasetTrashRequest",
      "result_model": "DatasetTrashResult",
      "runnable_example": "mammoth dataset trash 123"
    },
    "dataset update": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "patch_data",
          "required": true,
          "type": "list[dict[str, any]]"
        }
      ],
      "agent_example": "mammoth dataset update --input '{\"patch_data\": [{\"name\": \"Status\"}]}' --yes",
      "command_id": "dataset.update",
      "contract_level": "typed",
      "description": "Reject untyped dataset patches; use a typed dataset command instead.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth dataset update --help",
      "notes": [],
      "positionals": [],
      "request_model": "DatasetUpdateRequest",
      "result_model": "DatasetUpdateResult",
      "runnable_example": "mammoth dataset update --input '{\"patch_data\": [{\"name\": \"Status\"}]}' --yes"
    },
    "dataset update-method get": {
      "accepted_fields": [],
      "agent_example": "mammoth dataset update-method get 123",
      "command_id": "dataset.update-method.get",
      "contract_level": "typed",
      "description": "Say whether a new file replaces this dataset's rows or adds to them.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth dataset update-method get DATASET_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the dataset.",
          "metavar": "DATASET_ID",
          "name": "dataset_id",
          "required": true,
          "type": "int"
        }
      ],
      "request_model": "DatasetUpdateMethodGetRequest",
      "result_model": "DatasetUpdateMethodGetResult",
      "runnable_example": "mammoth dataset update-method get 123"
    },
    "dataset update-method set": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "mode",
          "required": true,
          "type": "str"
        },
        {
          "default": null,
          "enum": null,
          "name": "schema_mapping",
          "required": false,
          "type": "dict[str, list[str]]"
        }
      ],
      "agent_example": "mammoth dataset update-method set 123 --input '{\"mode\": \"replace\"}'",
      "command_id": "dataset.update-method.set",
      "contract_level": "typed",
      "description": "Set whether a new file replaces this dataset's rows ('replace') or adds to them.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth dataset update-method set DATASET_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the dataset.",
          "metavar": "DATASET_ID",
          "name": "dataset_id",
          "required": true,
          "type": "int"
        }
      ],
      "request_model": "DatasetUpdateMethodSetRequest",
      "result_model": "DatasetUpdateMethodSetResult",
      "runnable_example": "mammoth dataset update-method set 123 --input '{\"mode\": \"replace\"}'"
    },
    "doctor": {
      "accepted_fields": [
        {
          "default": 0,
          "enum": null,
          "name": "wait",
          "required": false,
          "type": "int"
        }
      ],
      "agent_example": "mammoth doctor",
      "command_id": "doctor",
      "contract_level": "typed",
      "description": "Run environment and connectivity diagnostics.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth doctor --help",
      "notes": [],
      "positionals": [],
      "request_model": "DoctorRequest",
      "result_model": "DoctorResult",
      "runnable_example": "mammoth doctor"
    },
    "external-key create": {
      "accepted_fields": [
        {
          "default": null,
          "enum": [
            "open_ai",
            "anthropic",
            "gemini",
            "grok"
          ],
          "name": "key_type",
          "required": true,
          "type": "ExternalKeyType"
        },
        {
          "default": null,
          "enum": null,
          "name": "key_name",
          "required": true,
          "type": "str"
        },
        {
          "default": null,
          "enum": null,
          "name": "secure_key",
          "required": true,
          "type": "str"
        },
        {
          "default": null,
          "enum": null,
          "name": "description",
          "required": false,
          "type": "str"
        },
        {
          "default": null,
          "enum": null,
          "name": "model_id",
          "required": false,
          "type": "str"
        },
        {
          "default": null,
          "enum": null,
          "name": "model_settings",
          "required": false,
          "type": "ModelConfigSpec"
        }
      ],
      "agent_example": "mammoth external-key create --input /private/path/request.json --yes",
      "command_id": "external-key.create",
      "contract_level": "typed",
      "description": "Create an external (LLM provider) API key.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth external-key create --help",
      "notes": [],
      "positionals": [],
      "request_model": "ExternalKeyCreateRequest",
      "result_model": "ExternalKeyCreateResult",
      "runnable_example": "mammoth external-key create --input /private/path/request.json --yes"
    },
    "external-key delete": {
      "accepted_fields": [],
      "agent_example": "mammoth external-key delete 123 --yes",
      "command_id": "external-key.delete",
      "contract_level": "typed",
      "description": "Permanently delete one LLM provider key by id. Prompt or '--yes' required.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth external-key delete KEY_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the key.",
          "metavar": "KEY_ID",
          "name": "key_id",
          "required": true,
          "type": "int"
        }
      ],
      "request_model": "ExternalKeyDeleteRequest",
      "result_model": "ExternalKeyDeleteResult",
      "runnable_example": "mammoth external-key delete 123 --yes"
    },
    "external-key get": {
      "accepted_fields": [],
      "agent_example": "mammoth external-key get 123",
      "command_id": "external-key.get",
      "contract_level": "typed",
      "description": "Get one LLM provider key by id.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth external-key get KEY_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the key.",
          "metavar": "KEY_ID",
          "name": "key_id",
          "required": true,
          "type": "int"
        }
      ],
      "request_model": "ExternalKeyGetRequest",
      "result_model": "ExternalKeyGetResult",
      "runnable_example": "mammoth external-key get 123"
    },
    "external-key list": {
      "accepted_fields": [],
      "agent_example": "mammoth external-key list",
      "command_id": "external-key.list",
      "contract_level": "typed",
      "description": "List the workspace's LLM provider keys (OpenAI, Anthropic, etc.).",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth external-key list --help",
      "notes": [],
      "positionals": [],
      "request_model": "ExternalKeyListRequest",
      "result_model": "ExternalKeyListResult",
      "runnable_example": "mammoth external-key list"
    },
    "file bulk-delete": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "file_ids",
          "required": true,
          "type": "list[int]"
        }
      ],
      "agent_example": "mammoth file bulk-delete --input '{\"file_ids\": [1]}' --yes",
      "command_id": "file.bulk-delete",
      "contract_level": "typed",
      "description": "Permanently delete several files by id. Prompt or '--yes' required.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth file bulk-delete --help",
      "notes": [],
      "positionals": [],
      "request_model": "FileBulkDeleteRequest",
      "result_model": "FileBulkDeleteResult",
      "runnable_example": "mammoth file bulk-delete --input '{\"file_ids\": [1]}' --yes"
    },
    "file delete": {
      "accepted_fields": [],
      "agent_example": "mammoth file delete 123 --yes",
      "command_id": "file.delete",
      "contract_level": "typed",
      "description": "Permanently delete one file by id. Prompt or '--yes' required.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth file delete FILE_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the file.",
          "metavar": "FILE_ID",
          "name": "file_id",
          "required": true,
          "type": "int"
        }
      ],
      "request_model": "FileDeleteRequest",
      "result_model": "FileDeleteResult",
      "runnable_example": "mammoth file delete 123 --yes"
    },
    "file extract-sheets": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "sheets",
          "required": true,
          "type": "list[str]"
        },
        {
          "default": true,
          "enum": null,
          "name": "delete_file_after_extract",
          "required": false,
          "type": "bool"
        },
        {
          "default": false,
          "enum": null,
          "name": "combine_after_extract",
          "required": false,
          "type": "bool"
        }
      ],
      "agent_example": "mammoth file extract-sheets 123 --input '{\"sheets\": [\"Sheet1\"]}'",
      "command_id": "file.extract-sheets",
      "contract_level": "typed",
      "description": "Extract named sheets from a file. File id is positional.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth file extract-sheets FILE_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the file.",
          "metavar": "FILE_ID",
          "name": "file_id",
          "required": true,
          "type": "int"
        }
      ],
      "request_model": "FileExtractSheetsRequest",
      "result_model": "FileExtractSheetsResult",
      "runnable_example": "mammoth file extract-sheets 123 --input '{\"sheets\": [\"Sheet1\"]}'"
    },
    "file get": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "fields",
          "required": false,
          "type": "str"
        }
      ],
      "agent_example": "mammoth file get 123",
      "command_id": "file.get",
      "contract_level": "typed",
      "description": "Get one file by id.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth file get FILE_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the file.",
          "metavar": "FILE_ID",
          "name": "file_id",
          "required": true,
          "type": "int"
        }
      ],
      "request_model": "FileGetRequest",
      "result_model": "FileGetResult",
      "runnable_example": "mammoth file get 123"
    },
    "file list": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "fields",
          "required": false,
          "type": "str"
        },
        {
          "default": null,
          "enum": null,
          "name": "file_ids",
          "required": false,
          "type": "list[int]"
        },
        {
          "default": null,
          "enum": null,
          "name": "names",
          "required": false,
          "type": "list[str]"
        },
        {
          "default": null,
          "enum": null,
          "name": "statuses",
          "required": false,
          "type": "list[str]"
        },
        {
          "default": null,
          "enum": null,
          "name": "created_at",
          "required": false,
          "type": "str"
        },
        {
          "default": null,
          "enum": null,
          "name": "updated_at",
          "required": false,
          "type": "str"
        },
        {
          "default": 50,
          "enum": null,
          "name": "limit",
          "required": false,
          "type": "int"
        },
        {
          "default": 0,
          "enum": null,
          "name": "offset",
          "required": false,
          "type": "int"
        },
        {
          "default": null,
          "enum": null,
          "name": "sort",
          "required": false,
          "type": "str"
        }
      ],
      "agent_example": "mammoth file list",
      "command_id": "file.list",
      "contract_level": "typed",
      "description": "List files, optionally filtered and paginated.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth file list --help",
      "notes": [],
      "positionals": [],
      "request_model": "FileListRequest",
      "result_model": "FileListResult",
      "runnable_example": "mammoth file list"
    },
    "file multi-sheet-extract": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "tables",
          "required": true,
          "type": "list[dict[str, any]]"
        },
        {
          "default": true,
          "enum": null,
          "name": "delete_file_after_extract",
          "required": false,
          "type": "bool"
        }
      ],
      "agent_example": "mammoth file multi-sheet-extract 123 --input '{\"tables\": [{\"name\": \"Status\"}]}'",
      "command_id": "file.multi-sheet-extract",
      "contract_level": "typed",
      "description": "Create datasets from accepted sheet reads of a multi-sheet file. File id is positional.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth file multi-sheet-extract FILE_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the file.",
          "metavar": "FILE_ID",
          "name": "file_id",
          "required": true,
          "type": "int"
        }
      ],
      "request_model": "FileMultiSheetExtractRequest",
      "result_model": "FileMultiSheetExtractResult",
      "runnable_example": "mammoth file multi-sheet-extract 123 --input '{\"tables\": [{\"name\": \"Status\"}]}'"
    },
    "file multi-sheet-preview": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "sheet_name",
          "required": true,
          "type": "str"
        },
        {
          "default": null,
          "enum": null,
          "name": "block_id",
          "required": false,
          "type": "str"
        },
        {
          "default": null,
          "enum": null,
          "name": "user_instruction",
          "required": false,
          "type": "str"
        },
        {
          "default": null,
          "enum": null,
          "name": "structure_map",
          "required": false,
          "type": "dict[str, any]"
        }
      ],
      "agent_example": "mammoth file multi-sheet-preview 123 --input '{\"sheet_name\": \"Revenue report\"}'",
      "command_id": "file.multi-sheet-preview",
      "contract_level": "typed",
      "description": "Preview how one sheet of a multi-sheet file reads. File id is positional.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth file multi-sheet-preview FILE_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the file.",
          "metavar": "FILE_ID",
          "name": "file_id",
          "required": true,
          "type": "int"
        }
      ],
      "request_model": "FileMultiSheetPreviewRequest",
      "result_model": "FileMultiSheetPreviewResult",
      "runnable_example": "mammoth file multi-sheet-preview 123 --input '{\"sheet_name\": \"Revenue report\"}'"
    },
    "file set-password": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "password",
          "required": true,
          "type": "str"
        }
      ],
      "agent_example": "mammoth file set-password 123 --input /private/path/request.json --yes --confirm 123",
      "command_id": "file.set-password",
      "contract_level": "typed",
      "description": "Set a file's password. High-impact: requires '--yes --confirm FILE_ID'.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth file set-password FILE_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the file.",
          "metavar": "FILE_ID",
          "name": "file_id",
          "required": true,
          "type": "int"
        }
      ],
      "request_model": "FileSetPasswordRequest",
      "result_model": "FileSetPasswordResult",
      "runnable_example": "mammoth file set-password 123 --input /private/path/request.json --yes --confirm 123"
    },
    "file update": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "patch_request",
          "required": true,
          "type": "FilePatchRequest"
        }
      ],
      "agent_example": "mammoth file update 123 --input '{\"patch_request\": {\"patch\": [{\"op\": \"replace\", \"path\": \"extract_sheets\", \"value\": \"Sheet1\"}]}}'",
      "command_id": "file.update",
      "contract_level": "typed",
      "description": "Apply a patch request to one file. File id is positional.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth file update FILE_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the file.",
          "metavar": "FILE_ID",
          "name": "file_id",
          "required": true,
          "type": "int"
        }
      ],
      "request_model": "FileUpdateRequest",
      "result_model": "FileUpdateResult",
      "runnable_example": "mammoth file update 123 --input '{\"patch_request\": {\"patch\": [{\"op\": \"replace\", \"path\": \"extract_sheets\", \"value\": \"Sheet1\"}]}}'"
    },
    "file upload": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "files",
          "required": false,
          "type": "list[str | pathlib.Path | typing.BinaryIO] | str | pathlib.Path | typing.BinaryIO | None"
        },
        {
          "default": null,
          "enum": null,
          "name": "folder_resource_id",
          "required": false,
          "type": "str | int | None"
        },
        {
          "default": null,
          "enum": null,
          "name": "append_to_ds_id",
          "required": false,
          "type": "int"
        },
        {
          "default": null,
          "enum": null,
          "name": "override_target_schema",
          "required": false,
          "type": "bool"
        },
        {
          "default": true,
          "enum": null,
          "name": "wait_for_completion",
          "required": false,
          "type": "bool"
        },
        {
          "default": 300,
          "enum": null,
          "name": "timeout",
          "required": false,
          "type": "int"
        },
        {
          "default": null,
          "enum": null,
          "name": "mode",
          "required": false,
          "type": "str"
        },
        {
          "default": null,
          "enum": null,
          "name": "sheets",
          "required": false,
          "type": "list[str]"
        }
      ],
      "agent_example": "mammoth file upload ./sales.csv",
      "command_id": "file.upload",
      "contract_level": "typed",
      "description": "Upload local files: one path as the argument, several via the 'files' input field.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth file upload --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": "files",
          "help": "Path to a local file to upload; or pass one or more via the 'files' field.",
          "kind": "local_path",
          "metavar": "FILES",
          "name": "files",
          "required": false,
          "type": "str"
        }
      ],
      "request_model": "FileUploadRequest",
      "result_model": "FileUploadResult",
      "runnable_example": "mammoth file upload ./sales.csv"
    },
    "file upload-folder": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "folder_path",
          "required": false,
          "type": "str | pathlib.Path"
        },
        {
          "default": null,
          "enum": null,
          "name": "folder_resource_id",
          "required": false,
          "type": "str"
        },
        {
          "default": true,
          "enum": null,
          "name": "wait_for_completion",
          "required": false,
          "type": "bool"
        },
        {
          "default": 300,
          "enum": null,
          "name": "timeout",
          "required": false,
          "type": "int"
        }
      ],
      "agent_example": "mammoth file upload-folder ./sales.csv",
      "command_id": "file.upload-folder",
      "contract_level": "typed",
      "description": "Upload every file in a local folder. Folder path is positional or 'folder_path'.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth file upload-folder --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": "folder_path",
          "help": "Path to a local folder to upload; or pass it via the 'folder_path' input field.",
          "kind": "local_path",
          "metavar": "FOLDER_PATH",
          "name": "folder_path",
          "required": false,
          "type": "str"
        }
      ],
      "request_model": "FileUploadFolderRequest",
      "result_model": "FileUploadFolderResult",
      "runnable_example": "mammoth file upload-folder ./sales.csv"
    },
    "folder bulk-delete": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "folder_ids",
          "required": false,
          "type": "list[int]"
        },
        {
          "default": null,
          "enum": null,
          "name": "check_dependency",
          "required": false,
          "type": "bool"
        },
        {
          "default": null,
          "enum": null,
          "name": "remove_contents",
          "required": false,
          "type": "bool"
        }
      ],
      "agent_example": "mammoth folder bulk-delete --yes",
      "command_id": "folder.bulk-delete",
      "contract_level": "typed",
      "description": "Permanently delete several folders by id. Prompt or '--yes' required.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth folder bulk-delete --help",
      "notes": [],
      "positionals": [],
      "request_model": "FolderBulkDeleteRequest",
      "result_model": "FolderBulkDeleteResult",
      "runnable_example": "mammoth folder bulk-delete --yes"
    },
    "folder create": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "name",
          "required": false,
          "type": "str"
        },
        {
          "default": null,
          "enum": null,
          "name": "parent_resource_id",
          "required": false,
          "type": "str"
        }
      ],
      "agent_example": "mammoth folder create 'Revenue report'",
      "command_id": "folder.create",
      "contract_level": "typed",
      "description": "Create a folder. Name comes from a positional or the 'name' field.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth folder create --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": "name",
          "help": "Name of the new folder; or pass it via the 'name' input field.",
          "metavar": "NAME",
          "name": "name",
          "required": false,
          "type": "str"
        }
      ],
      "request_model": "FolderCreateRequest",
      "result_model": "FolderCreateResult",
      "runnable_example": "mammoth folder create 'Revenue report'"
    },
    "folder delete": {
      "accepted_fields": [
        {
          "default": true,
          "enum": null,
          "name": "check_dependency",
          "required": false,
          "type": "bool"
        },
        {
          "default": true,
          "enum": null,
          "name": "remove_contents",
          "required": false,
          "type": "bool"
        }
      ],
      "agent_example": "mammoth folder delete 123 --yes",
      "command_id": "folder.delete",
      "contract_level": "typed",
      "description": "Permanently delete one folder by id. Prompt or '--yes' required.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth folder delete FOLDER_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the folder to delete.",
          "metavar": "FOLDER_ID",
          "name": "folder_id",
          "required": true,
          "type": "int"
        }
      ],
      "request_model": "FolderDeleteRequest",
      "result_model": "FolderDeleteResult",
      "runnable_example": "mammoth folder delete 123 --yes"
    },
    "folder find": {
      "accepted_fields": [],
      "agent_example": "mammoth folder find reports",
      "command_id": "folder.find",
      "contract_level": "typed",
      "description": "Search folder names for a substring across every visible project.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth folder find NAME_SUBSTRING --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "Case-insensitive substring to match against folder names.",
          "metavar": "NAME_SUBSTRING",
          "name": "name_substring",
          "required": true,
          "type": "str"
        }
      ],
      "request_model": "FolderFindRequest",
      "result_model": "FolderFindResult",
      "runnable_example": "mammoth folder find reports"
    },
    "folder get": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "fields",
          "required": false,
          "type": "str"
        }
      ],
      "agent_example": "mammoth folder get 123",
      "command_id": "folder.get",
      "contract_level": "typed",
      "description": "Get one folder by id in the active project.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth folder get FOLDER_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the folder.",
          "metavar": "FOLDER_ID",
          "name": "folder_id",
          "required": true,
          "type": "int"
        }
      ],
      "request_model": "FolderGetRequest",
      "result_model": "FolderGetResult",
      "runnable_example": "mammoth folder get 123"
    },
    "folder list": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "fields",
          "required": false,
          "type": "str"
        },
        {
          "default": null,
          "enum": null,
          "name": "folder_ids",
          "required": false,
          "type": "list[int]"
        },
        {
          "default": null,
          "enum": null,
          "name": "names",
          "required": false,
          "type": "list[str]"
        },
        {
          "default": null,
          "enum": null,
          "name": "statuses",
          "required": false,
          "type": "list[str]"
        },
        {
          "default": null,
          "enum": null,
          "name": "created_at",
          "required": false,
          "type": "str"
        },
        {
          "default": null,
          "enum": null,
          "name": "updated_at",
          "required": false,
          "type": "str"
        },
        {
          "default": null,
          "enum": null,
          "name": "created_by",
          "required": false,
          "type": "list[str]"
        },
        {
          "default": 50,
          "enum": null,
          "name": "limit",
          "required": false,
          "type": "int"
        },
        {
          "default": 0,
          "enum": null,
          "name": "offset",
          "required": false,
          "type": "int"
        },
        {
          "default": null,
          "enum": null,
          "name": "sort",
          "required": false,
          "type": "str"
        }
      ],
      "agent_example": "mammoth folder list",
      "command_id": "folder.list",
      "contract_level": "typed",
      "description": "List folders in the active project.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth folder list --help",
      "notes": [],
      "positionals": [],
      "request_model": "FolderListRequest",
      "result_model": "FolderListResult",
      "runnable_example": "mammoth folder list"
    },
    "folder move": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "resource_ids",
          "required": false,
          "type": "list[str]"
        },
        {
          "default": null,
          "enum": null,
          "name": "target_folder_resource_id",
          "required": false,
          "type": "str"
        },
        {
          "default": null,
          "enum": null,
          "name": "source_folder_resource_id",
          "required": false,
          "type": "str"
        },
        {
          "default": null,
          "enum": null,
          "name": "dataset_ids",
          "required": false,
          "type": "list[int]"
        },
        {
          "default": null,
          "enum": null,
          "name": "view_ids",
          "required": false,
          "type": "list[int]"
        }
      ],
      "agent_example": "mammoth folder move --input '{\"resource_ids\": [8024], \"target_folder_resource_id\": \"root\"}'",
      "command_id": "folder.move",
      "contract_level": "typed",
      "description": "Move resources into a target folder in the active project.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth folder move --help",
      "notes": [],
      "positionals": [],
      "request_model": "FolderMoveRequest",
      "result_model": "FolderMoveResult",
      "runnable_example": "mammoth folder move --input '{\"resource_ids\": [8024], \"target_folder_resource_id\": \"root\"}'"
    },
    "folder root": {
      "accepted_fields": [],
      "agent_example": "mammoth folder root",
      "command_id": "folder.root",
      "contract_level": "typed",
      "description": "Get the root folder of the active project.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth folder root --help",
      "notes": [],
      "positionals": [],
      "request_model": "FolderRootRequest",
      "result_model": "FolderRootResult",
      "runnable_example": "mammoth folder root"
    },
    "folder trash": {
      "accepted_fields": [],
      "agent_example": "mammoth folder trash 123",
      "command_id": "folder.trash",
      "contract_level": "typed",
      "description": "Move one folder to the project trash (reversible).",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth folder trash FOLDER_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the folder.",
          "metavar": "FOLDER_ID",
          "name": "folder_id",
          "required": true,
          "type": "int"
        }
      ],
      "request_model": "FolderTrashRequest",
      "result_model": "FolderTrashResult",
      "runnable_example": "mammoth folder trash 123"
    },
    "folder update": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "name",
          "required": true,
          "type": "str"
        }
      ],
      "agent_example": "mammoth folder update 123 --input '{\"name\": \"Revenue report\"}'",
      "command_id": "folder.update",
      "contract_level": "typed",
      "description": "Rename a folder. Folder id is positional; new name comes from '--input'.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth folder update FOLDER_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the folder.",
          "metavar": "FOLDER_ID",
          "name": "folder_id",
          "required": true,
          "type": "int"
        }
      ],
      "request_model": "FolderUpdateRequest",
      "result_model": "FolderUpdateResult",
      "runnable_example": "mammoth folder update 123 --input '{\"name\": \"Revenue report\"}'"
    },
    "history list": {
      "accepted_fields": [
        {
          "default": 20,
          "enum": null,
          "name": "limit",
          "required": false,
          "type": "int"
        },
        {
          "default": false,
          "enum": null,
          "name": "undoable_only",
          "required": false,
          "type": "bool"
        }
      ],
      "agent_example": "mammoth history list --input '{\"undoable_only\": true}'",
      "command_id": "history.list",
      "contract_level": "typed",
      "description": "List the journaled writes, newest first; filter with 'limit', 'undoable_only'.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth history list --help",
      "notes": [],
      "positionals": [],
      "request_model": "HistoryListRequest",
      "result_model": "HistoryListResult",
      "runnable_example": "mammoth history list --input '{\"undoable_only\": true}'"
    },
    "history resume": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "from_line",
          "required": false,
          "type": "int"
        }
      ],
      "agent_example": "mammoth history resume 97b9ee41d15d --yes",
      "command_id": "history.resume",
      "contract_level": "typed",
      "description": "Go on with a stopped run (by its group) from its first unfinished line. Prompt or '--yes'.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth history resume ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "The group of the mammoth run or recipe run that stopped (from 'history list').",
          "metavar": "ID",
          "name": "id",
          "required": true,
          "type": "str"
        }
      ],
      "request_model": "HistoryResumeRequest",
      "result_model": "HistoryResumeResult",
      "runnable_example": "mammoth history resume 97b9ee41d15d --yes"
    },
    "history show": {
      "accepted_fields": [],
      "agent_example": "mammoth history show 97b9ee41d15d",
      "command_id": "history.show",
      "contract_level": "typed",
      "description": "Show one write (by inv) or every write of one run (by group), with their undo lines.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth history show ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "The write's inv, or the group of a whole mammoth run (from 'history list').",
          "metavar": "ID",
          "name": "id",
          "required": true,
          "type": "str"
        }
      ],
      "request_model": "HistoryShowRequest",
      "result_model": "HistoryShowResult",
      "runnable_example": "mammoth history show 97b9ee41d15d"
    },
    "history undo": {
      "accepted_fields": [
        {
          "default": false,
          "enum": null,
          "name": "force",
          "required": false,
          "type": "bool"
        }
      ],
      "agent_example": "mammoth history undo 97b9ee41d15d --yes",
      "command_id": "history.undo",
      "contract_level": "typed",
      "description": "Undo one write (by inv) or a whole run (by group), newest first. Prompt or '--yes'.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth history undo ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "The write's inv, or the group of a whole mammoth run (from 'history list').",
          "metavar": "ID",
          "name": "id",
          "required": true,
          "type": "str"
        }
      ],
      "request_model": "HistoryUndoRequest",
      "result_model": "HistoryUndoResult",
      "runnable_example": "mammoth history undo 97b9ee41d15d --yes"
    },
    "how": {
      "accepted_fields": [],
      "agent_example": "mammoth how 'refresh a dataset daily'",
      "command_id": "how",
      "contract_level": "typed",
      "description": "Turn a plain-language goal into an ordered recipe of commands.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth how GOAL --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "The goal in plain words, for example \"refresh a dataset daily\" or \"blend two files by day\".",
          "metavar": "GOAL",
          "name": "goal",
          "required": true,
          "type": "str"
        }
      ],
      "request_model": "HowRequest",
      "result_model": "HowResult",
      "runnable_example": "mammoth how 'refresh a dataset daily'"
    },
    "job get": {
      "accepted_fields": [],
      "agent_example": "mammoth job get 123",
      "command_id": "job.get",
      "contract_level": "typed",
      "description": "Get one job's status by id.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth job get JOB_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the job.",
          "metavar": "JOB_ID",
          "name": "job_id",
          "required": true,
          "type": "int"
        }
      ],
      "request_model": "JobGetRequest",
      "result_model": "JobGetResult",
      "runnable_example": "mammoth job get 123"
    },
    "job get-many": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "job_ids",
          "required": true,
          "type": "list[int] | str"
        },
        {
          "default": null,
          "enum": null,
          "name": "timeout",
          "required": false,
          "type": "float"
        }
      ],
      "agent_example": "mammoth job get-many --input '{\"job_ids\": [1]}'",
      "command_id": "job.get-many",
      "contract_level": "typed",
      "description": "Get status for several jobs by id, from the '--input' document.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth job get-many --help",
      "notes": [],
      "positionals": [],
      "request_model": "JobGetManyRequest",
      "result_model": "JobGetManyResult",
      "runnable_example": "mammoth job get-many --input '{\"job_ids\": [1]}'"
    },
    "job wait": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "timeout",
          "required": false,
          "type": "float"
        },
        {
          "default": null,
          "enum": null,
          "name": "poll_interval",
          "required": false,
          "type": "float"
        },
        {
          "default": null,
          "enum": null,
          "name": "fetch",
          "required": false,
          "type": "collections.abc.Callable[[int, float], collections.abc.Awaitable[dict[str, typing.Any]]]"
        },
        {
          "default": null,
          "enum": null,
          "name": "dashboard_url",
          "required": false,
          "type": "str"
        }
      ],
      "agent_example": "mammoth job wait 123",
      "command_id": "job.wait",
      "contract_level": "typed",
      "description": "Wait for one job and report success, failure, or still running (15 min default).",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth job wait JOB_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the job.",
          "metavar": "JOB_ID",
          "name": "job_id",
          "required": true,
          "type": "int"
        }
      ],
      "request_model": "JobWaitRequest",
      "result_model": "JobWaitResult",
      "runnable_example": "mammoth job wait 123"
    },
    "job wait-many": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "job_ids",
          "required": true,
          "type": "list[int] | str"
        },
        {
          "default": null,
          "enum": null,
          "name": "timeout",
          "required": false,
          "type": "int"
        },
        {
          "default": 2,
          "enum": null,
          "name": "poll_interval",
          "required": false,
          "type": "int"
        }
      ],
      "agent_example": "mammoth job wait-many --input '{\"job_ids\": [1]}'",
      "command_id": "job.wait-many",
      "contract_level": "typed",
      "description": "Block until several jobs complete, or raise on failure/timeout.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth job wait-many --help",
      "notes": [],
      "positionals": [],
      "request_model": "JobWaitManyRequest",
      "result_model": "JobWaitManyResult",
      "runnable_example": "mammoth job wait-many --input '{\"job_ids\": [1]}'"
    },
    "link": {
      "accepted_fields": [],
      "agent_example": "mammoth link https://app.mammoth.io/workspaces/1/projects/2/data/datasets",
      "command_id": "link",
      "contract_level": "typed",
      "description": "Read the workspace, project, folder, dataset and view ids out of a pasted app URL.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth link URL --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "A Mammoth web app address pasted by the user.",
          "metavar": "URL",
          "name": "url",
          "required": true,
          "type": "str"
        }
      ],
      "request_model": "LinkRequest",
      "result_model": "LinkResult",
      "runnable_example": "mammoth link https://app.mammoth.io/workspaces/1/projects/2/data/datasets"
    },
    "log path": {
      "accepted_fields": [],
      "agent_example": "mammoth log path",
      "command_id": "log.path",
      "contract_level": "typed",
      "description": "Show the run-log directory, today's file, and the days kept.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth log path --help",
      "notes": [],
      "positionals": [],
      "request_model": "LogPathRequest",
      "result_model": "LogPathResult",
      "runnable_example": "mammoth log path"
    },
    "log tail": {
      "accepted_fields": [
        {
          "default": 1,
          "enum": null,
          "name": "days",
          "required": false,
          "type": "int"
        },
        {
          "default": 50,
          "enum": null,
          "name": "limit",
          "required": false,
          "type": "int"
        },
        {
          "default": false,
          "enum": null,
          "name": "errors_only",
          "required": false,
          "type": "bool"
        },
        {
          "default": null,
          "enum": null,
          "name": "command_id",
          "required": false,
          "type": "str"
        },
        {
          "default": null,
          "enum": null,
          "name": "run_id",
          "required": false,
          "type": "str"
        }
      ],
      "agent_example": "mammoth log tail --input '{\"errors_only\": true, \"limit\": 20}'",
      "command_id": "log.tail",
      "contract_level": "typed",
      "description": "Read recent run-log records; filter with 'errors_only', 'command_id', 'run_id', 'days'.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth log tail --help",
      "notes": [],
      "positionals": [],
      "request_model": "LogTailRequest",
      "result_model": "LogTailResult",
      "runnable_example": "mammoth log tail --input '{\"errors_only\": true, \"limit\": 20}'"
    },
    "notification delete": {
      "accepted_fields": [],
      "agent_example": "mammoth notification delete 123 --yes",
      "command_id": "notification.delete",
      "contract_level": "typed",
      "description": "Permanently delete one notification by id. Prompt or '--yes' required.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth notification delete NOTIFICATION_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the notification.",
          "metavar": "NOTIFICATION_ID",
          "name": "notification_id",
          "required": true,
          "type": "int"
        }
      ],
      "request_model": "NotificationDeleteRequest",
      "result_model": "NotificationDeleteResult",
      "runnable_example": "mammoth notification delete 123 --yes"
    },
    "notification delete-batch": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "ids",
          "required": false,
          "type": "list[int]"
        },
        {
          "default": null,
          "enum": null,
          "name": "last_updated_at__lt",
          "required": false,
          "type": "str"
        },
        {
          "default": null,
          "enum": null,
          "name": "is_read",
          "required": false,
          "type": "bool"
        }
      ],
      "agent_example": "mammoth notification delete-batch --yes",
      "command_id": "notification.delete-batch",
      "contract_level": "typed",
      "description": "Delete several notifications by id or filter. Prompt or '--yes' required.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth notification delete-batch --help",
      "notes": [],
      "positionals": [],
      "request_model": "NotificationDeleteBatchRequest",
      "result_model": "NotificationDeleteBatchResult",
      "runnable_example": "mammoth notification delete-batch --yes"
    },
    "notification list": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "fields",
          "required": false,
          "type": "str"
        },
        {
          "default": null,
          "enum": null,
          "name": "last_updated_at__gte",
          "required": false,
          "type": "str"
        },
        {
          "default": null,
          "enum": null,
          "name": "status",
          "required": false,
          "type": "str"
        },
        {
          "default": null,
          "enum": null,
          "name": "is_read",
          "required": false,
          "type": "bool"
        },
        {
          "default": null,
          "enum": null,
          "name": "notification_scope",
          "required": false,
          "type": "str"
        },
        {
          "default": null,
          "enum": null,
          "name": "limit",
          "required": false,
          "type": "int"
        },
        {
          "default": null,
          "enum": null,
          "name": "offset",
          "required": false,
          "type": "int"
        },
        {
          "default": null,
          "enum": null,
          "name": "sort",
          "required": false,
          "type": "str"
        }
      ],
      "agent_example": "mammoth notification list",
      "command_id": "notification.list",
      "contract_level": "typed",
      "description": "List notifications in the active workspace, optionally filtered.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth notification list --help",
      "notes": [],
      "positionals": [],
      "request_model": "NotificationListRequest",
      "result_model": "NotificationListResult",
      "runnable_example": "mammoth notification list"
    },
    "notification update": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "patch",
          "required": true,
          "type": "list[dict[str, any]]"
        }
      ],
      "agent_example": "mammoth notification update 123 --input '{\"patch\": [{\"name\": \"Status\"}]}'",
      "command_id": "notification.update",
      "contract_level": "typed",
      "description": "Apply a JSON Patch to one notification. Notification id is positional.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth notification update NOTIFICATION_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the notification.",
          "metavar": "NOTIFICATION_ID",
          "name": "notification_id",
          "required": true,
          "type": "int"
        }
      ],
      "request_model": "NotificationUpdateRequest",
      "result_model": "NotificationUpdateResult",
      "runnable_example": "mammoth notification update 123 --input '{\"patch\": [{\"name\": \"Status\"}]}'"
    },
    "notification update-batch": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "patch",
          "required": true,
          "type": "list[dict[str, any]]"
        }
      ],
      "agent_example": "mammoth notification update-batch --input '{\"patch\": [{\"name\": \"Status\"}]}'",
      "command_id": "notification.update-batch",
      "contract_level": "typed",
      "description": "Apply a JSON Patch across notifications in the active workspace.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth notification update-batch --help",
      "notes": [],
      "positionals": [],
      "request_model": "NotificationUpdateBatchRequest",
      "result_model": "NotificationUpdateBatchResult",
      "runnable_example": "mammoth notification update-batch --input '{\"patch\": [{\"name\": \"Status\"}]}'"
    },
    "parameter create": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "name",
          "required": false,
          "type": "str"
        },
        {
          "default": null,
          "enum": null,
          "name": "param_type",
          "required": true,
          "type": "str"
        },
        {
          "default": null,
          "enum": null,
          "name": "value",
          "required": true,
          "type": "str | float | int"
        },
        {
          "default": null,
          "enum": null,
          "name": "description",
          "required": false,
          "type": "str"
        },
        {
          "default": null,
          "enum": null,
          "name": "group_id",
          "required": false,
          "type": "int"
        },
        {
          "default": "project",
          "enum": null,
          "name": "scope",
          "required": false,
          "type": "str"
        }
      ],
      "agent_example": "mammoth parameter create revenue_report --input '{\"param_type\": \"TEXT\", \"value\": \"Q3\"}'",
      "command_id": "parameter.create",
      "contract_level": "typed",
      "description": "Create a parameter. Name comes from a positional or the 'name' field.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth parameter create --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": "name",
          "help": "Name of the new parameter; or pass it via the 'name' input field.",
          "metavar": "NAME",
          "name": "name",
          "required": false,
          "type": "str"
        }
      ],
      "request_model": "ParameterCreateRequest",
      "result_model": "ParameterCreateResult",
      "runnable_example": "mammoth parameter create revenue_report --input '{\"param_type\": \"TEXT\", \"value\": \"Q3\"}'"
    },
    "parameter delete": {
      "accepted_fields": [],
      "agent_example": "mammoth parameter delete 123 --yes",
      "command_id": "parameter.delete",
      "contract_level": "typed",
      "description": "Permanently delete one parameter by id. Prompt or '--yes' required.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth parameter delete PARAMETER_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the parameter.",
          "metavar": "PARAMETER_ID",
          "name": "parameter_id",
          "required": true,
          "type": "int"
        }
      ],
      "request_model": "ParameterDeleteRequest",
      "result_model": "ParameterDeleteResult",
      "runnable_example": "mammoth parameter delete 123 --yes"
    },
    "parameter dependencies": {
      "accepted_fields": [],
      "agent_example": "mammoth parameter dependencies 123",
      "command_id": "parameter.dependencies",
      "contract_level": "typed",
      "description": "Report what depends on one parameter by id.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth parameter dependencies PARAMETER_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the parameter.",
          "metavar": "PARAMETER_ID",
          "name": "parameter_id",
          "required": true,
          "type": "int"
        }
      ],
      "request_model": "ParameterDependenciesRequest",
      "result_model": "ParameterDependenciesResult",
      "runnable_example": "mammoth parameter dependencies 123"
    },
    "parameter duplicate": {
      "accepted_fields": [],
      "agent_example": "mammoth parameter duplicate 123",
      "command_id": "parameter.duplicate",
      "contract_level": "typed",
      "description": "Duplicate one parameter by id.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth parameter duplicate PARAMETER_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the parameter.",
          "metavar": "PARAMETER_ID",
          "name": "parameter_id",
          "required": true,
          "type": "int"
        }
      ],
      "request_model": "ParameterDuplicateRequest",
      "result_model": "ParameterDuplicateResult",
      "runnable_example": "mammoth parameter duplicate 123"
    },
    "parameter get": {
      "accepted_fields": [],
      "agent_example": "mammoth parameter get 123",
      "command_id": "parameter.get",
      "contract_level": "typed",
      "description": "Get one parameter by id.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth parameter get PARAMETER_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the parameter.",
          "metavar": "PARAMETER_ID",
          "name": "parameter_id",
          "required": true,
          "type": "int"
        }
      ],
      "request_model": "ParameterGetRequest",
      "result_model": "ParameterGetResult",
      "runnable_example": "mammoth parameter get 123"
    },
    "parameter group create": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "name",
          "required": false,
          "type": "str"
        },
        {
          "default": "#3B82F6",
          "enum": null,
          "name": "color",
          "required": false,
          "type": "str"
        }
      ],
      "agent_example": "mammoth parameter group create 'Revenue report'",
      "command_id": "parameter.group.create",
      "contract_level": "typed",
      "description": "Create a parameter group. Name comes from a positional or the 'name' field.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth parameter group create --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": "name",
          "help": "Name of the new parameter group; or pass it via the 'name' input field.",
          "metavar": "NAME",
          "name": "name",
          "required": false,
          "type": "str"
        }
      ],
      "request_model": "ParameterGroupCreateRequest",
      "result_model": "ParameterGroupCreateResult",
      "runnable_example": "mammoth parameter group create 'Revenue report'"
    },
    "parameter group delete": {
      "accepted_fields": [],
      "agent_example": "mammoth parameter group delete 123 --yes",
      "command_id": "parameter.group.delete",
      "contract_level": "typed",
      "description": "Permanently delete one parameter group by id. Prompt or '--yes' required.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth parameter group delete GROUP_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the group.",
          "metavar": "GROUP_ID",
          "name": "group_id",
          "required": true,
          "type": "int"
        }
      ],
      "request_model": "ParameterGroupDeleteRequest",
      "result_model": "ParameterGroupDeleteResult",
      "runnable_example": "mammoth parameter group delete 123 --yes"
    },
    "parameter group list": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "limit",
          "required": false,
          "type": "int"
        },
        {
          "default": null,
          "enum": null,
          "name": "offset",
          "required": false,
          "type": "int"
        },
        {
          "default": null,
          "enum": null,
          "name": "sort",
          "required": false,
          "type": "str"
        }
      ],
      "agent_example": "mammoth parameter group list",
      "command_id": "parameter.group.list",
      "contract_level": "typed",
      "description": "List parameter groups, optionally scoped to a project.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth parameter group list --help",
      "notes": [],
      "positionals": [],
      "request_model": "ParameterGroupListRequest",
      "result_model": "ParameterGroupListResult",
      "runnable_example": "mammoth parameter group list"
    },
    "parameter group reorder": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "order",
          "required": true,
          "type": "list[int]"
        }
      ],
      "agent_example": "mammoth parameter group reorder --input '{\"order\": [1]}'",
      "command_id": "parameter.group.reorder",
      "contract_level": "typed",
      "description": "Reorder parameter groups. 'order' (a list of group ids) is required.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth parameter group reorder --help",
      "notes": [],
      "positionals": [],
      "request_model": "ParameterGroupReorderRequest",
      "result_model": "ParameterGroupReorderResult",
      "runnable_example": "mammoth parameter group reorder --input '{\"order\": [1]}'"
    },
    "parameter group update": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "name",
          "required": false,
          "type": "str"
        },
        {
          "default": null,
          "enum": null,
          "name": "color",
          "required": false,
          "type": "str"
        }
      ],
      "agent_example": "mammoth parameter group update 123",
      "command_id": "parameter.group.update",
      "contract_level": "typed",
      "description": "Update a parameter group. Group id is positional; fields come from '--input'.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth parameter group update GROUP_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the group.",
          "metavar": "GROUP_ID",
          "name": "group_id",
          "required": true,
          "type": "int"
        }
      ],
      "request_model": "ParameterGroupUpdateRequest",
      "result_model": "ParameterGroupUpdateResult",
      "runnable_example": "mammoth parameter group update 123"
    },
    "parameter list": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "limit",
          "required": false,
          "type": "int"
        },
        {
          "default": null,
          "enum": null,
          "name": "offset",
          "required": false,
          "type": "int"
        },
        {
          "default": null,
          "enum": null,
          "name": "search",
          "required": false,
          "type": "str"
        },
        {
          "default": null,
          "enum": null,
          "name": "group_id",
          "required": false,
          "type": "int"
        },
        {
          "default": null,
          "enum": null,
          "name": "sort",
          "required": false,
          "type": "str"
        }
      ],
      "agent_example": "mammoth parameter list",
      "command_id": "parameter.list",
      "contract_level": "typed",
      "description": "List parameters, optionally filtered and scoped to a project.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth parameter list --help",
      "notes": [],
      "positionals": [],
      "request_model": "ParameterListRequest",
      "result_model": "ParameterListResult",
      "runnable_example": "mammoth parameter list"
    },
    "parameter rerun": {
      "accepted_fields": [],
      "agent_example": "mammoth parameter rerun 123",
      "command_id": "parameter.rerun",
      "contract_level": "typed",
      "description": "Rerun one parameter's computation by id.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth parameter rerun PARAMETER_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the parameter.",
          "metavar": "PARAMETER_ID",
          "name": "parameter_id",
          "required": true,
          "type": "int"
        }
      ],
      "request_model": "ParameterRerunRequest",
      "result_model": "ParameterRerunResult",
      "runnable_example": "mammoth parameter rerun 123"
    },
    "parameter rerun-all-stale": {
      "accepted_fields": [],
      "agent_example": "mammoth parameter rerun-all-stale",
      "command_id": "parameter.rerun-all-stale",
      "contract_level": "typed",
      "description": "Rerun every stale parameter in the active project.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth parameter rerun-all-stale --help",
      "notes": [],
      "positionals": [],
      "request_model": "ParameterRerunAllStaleRequest",
      "result_model": "ParameterRerunAllStaleResult",
      "runnable_example": "mammoth parameter rerun-all-stale"
    },
    "parameter update": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "name",
          "required": false,
          "type": "str"
        },
        {
          "default": null,
          "enum": null,
          "name": "value",
          "required": false,
          "type": "str | float | int | None"
        },
        {
          "default": null,
          "enum": null,
          "name": "param_type",
          "required": false,
          "type": "str"
        },
        {
          "default": null,
          "enum": null,
          "name": "description",
          "required": false,
          "type": "str"
        },
        {
          "default": null,
          "enum": null,
          "name": "group_id",
          "required": false,
          "type": "int"
        }
      ],
      "agent_example": "mammoth parameter update 123",
      "command_id": "parameter.update",
      "contract_level": "typed",
      "description": "Update a parameter. Parameter id is positional; fields come from '--input'.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth parameter update PARAMETER_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the parameter.",
          "metavar": "PARAMETER_ID",
          "name": "parameter_id",
          "required": true,
          "type": "int"
        }
      ],
      "request_model": "ParameterUpdateRequest",
      "result_model": "ParameterUpdateResult",
      "runnable_example": "mammoth parameter update 123"
    },
    "project bulk-delete": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "project_ids",
          "required": true,
          "type": "list[int]"
        },
        {
          "default": null,
          "enum": null,
          "name": "timeout",
          "required": false,
          "type": "int"
        },
        {
          "default": 2.0,
          "enum": null,
          "name": "poll_interval",
          "required": false,
          "type": "float"
        }
      ],
      "agent_example": "mammoth project bulk-delete --input '{\"project_ids\": [1]}' --yes",
      "command_id": "project.bulk-delete",
      "contract_level": "typed",
      "description": "Delete several projects by id. Prompt or '--yes' required.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth project bulk-delete --help",
      "notes": [],
      "positionals": [],
      "request_model": "ProjectBulkDeleteRequest",
      "result_model": "ProjectBulkDeleteResult",
      "runnable_example": "mammoth project bulk-delete --input '{\"project_ids\": [1]}' --yes"
    },
    "project bulk-update": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "patch_data",
          "required": true,
          "type": "dict[str, any]"
        }
      ],
      "agent_example": "mammoth project bulk-update --input '{\"patch_data\": {\"patches\": [{\"op\": \"add\", \"path\": \"role\", \"value\": [{\"project_id\": 456, \"user_roles\": [{\"user_id\": 123, \"role\": \"project_analyst\"}]}]}]}}' --yes",
      "command_id": "project.bulk-update",
      "contract_level": "typed",
      "description": "Apply a role patch across named projects. High-impact: '--yes --confirm WS'.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth project bulk-update --help",
      "notes": [],
      "positionals": [],
      "request_model": "ProjectBulkUpdateRequest",
      "result_model": "ProjectBulkUpdateResult",
      "runnable_example": "mammoth project bulk-update --input '{\"patch_data\": {\"patches\": [{\"op\": \"add\", \"path\": \"role\", \"value\": [{\"project_id\": 456, \"user_roles\": [{\"user_id\": 123, \"role\": \"project_analyst\"}]}]}]}}' --yes"
    },
    "project check": {
      "accepted_fields": [],
      "agent_example": "mammoth project check 123 456",
      "command_id": "project.check",
      "contract_level": "typed",
      "description": "List what a report on this project must still account for.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth project check --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the project to act on; defaults to the active project.",
          "metavar": "PROJECT_ID",
          "name": "project_id",
          "required": false,
          "type": "int"
        },
        {
          "falls_back_to_field": null,
          "help": "Check only this dataset (its first view unless VIEW_ID is given); no other dataset or dashboard is read.",
          "metavar": "DATASET_ID",
          "name": "dataset_id",
          "required": false,
          "type": "int"
        },
        {
          "falls_back_to_field": null,
          "help": "Check this view of DATASET_ID instead of its first (most recent) one.",
          "metavar": "VIEW_ID",
          "name": "view_id",
          "required": false,
          "type": "int"
        }
      ],
      "request_model": "ProjectCheckRequest",
      "result_model": "ProjectCheckResult",
      "runnable_example": "mammoth project check 123 456"
    },
    "project checkpoint list": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "fields",
          "required": false,
          "type": "str"
        },
        {
          "default": null,
          "enum": null,
          "name": "sort",
          "required": false,
          "type": "str"
        },
        {
          "default": null,
          "enum": null,
          "name": "dataview_id",
          "required": false,
          "type": "int"
        },
        {
          "default": null,
          "enum": null,
          "name": "sequence",
          "required": false,
          "type": "int"
        },
        {
          "default": null,
          "enum": null,
          "name": "status",
          "required": false,
          "type": "str"
        }
      ],
      "agent_example": "mammoth project checkpoint list 123",
      "command_id": "project.checkpoint.list",
      "contract_level": "typed",
      "description": "List a project's checkpoints, with optional filters from '--input'.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth project checkpoint list --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the project to act on; defaults to the active project.",
          "metavar": "PROJECT_ID",
          "name": "project_id",
          "required": false,
          "type": "int"
        }
      ],
      "request_model": "ProjectCheckpointListRequest",
      "result_model": "ProjectCheckpointListResult",
      "runnable_example": "mammoth project checkpoint list 123"
    },
    "project copy": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "dataset_ids",
          "required": false,
          "type": "list[int]"
        },
        {
          "default": false,
          "enum": null,
          "name": "include_dashboards",
          "required": false,
          "type": "bool"
        },
        {
          "default": false,
          "enum": null,
          "name": "exclude_data",
          "required": false,
          "type": "bool"
        }
      ],
      "agent_example": "mammoth project copy 123 'Revenue report'",
      "command_id": "project.copy",
      "contract_level": "typed",
      "description": "Copy a project into a new one and wait for the copy job.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth project copy PROJECT_ID NAME --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the project to copy.",
          "metavar": "PROJECT_ID",
          "name": "project_id",
          "required": true,
          "type": "int"
        },
        {
          "falls_back_to_field": null,
          "help": "Name of the new project. If it is already taken, the copy is named with the next free suffix (\"NAME 2\", \"NAME 3\", ...); no need to check the name first.",
          "metavar": "NAME",
          "name": "name",
          "required": true,
          "type": "str"
        }
      ],
      "request_model": "ProjectCopyRequest",
      "result_model": "ProjectCopyResult",
      "runnable_example": "mammoth project copy 123 'Revenue report'"
    },
    "project create": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "name",
          "required": false,
          "type": "str"
        },
        {
          "default": null,
          "enum": null,
          "name": "color",
          "required": false,
          "type": "str"
        },
        {
          "default": null,
          "enum": null,
          "name": "project_access",
          "required": false,
          "type": "str"
        }
      ],
      "agent_example": "mammoth project create 'Revenue report'",
      "command_id": "project.create",
      "contract_level": "typed",
      "description": "Create a project. Name comes from a positional or the 'name' field.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth project create --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": "name",
          "help": "Name of the new project; or pass it via the 'name' input field.",
          "metavar": "NAME",
          "name": "name",
          "required": false,
          "type": "str"
        }
      ],
      "request_model": "ProjectCreateRequest",
      "result_model": "ProjectCreateResult",
      "runnable_example": "mammoth project create 'Revenue report'"
    },
    "project data-check list": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "fields",
          "required": false,
          "type": "str"
        },
        {
          "default": null,
          "enum": null,
          "name": "sort",
          "required": false,
          "type": "str"
        },
        {
          "default": null,
          "enum": null,
          "name": "dataview_id",
          "required": false,
          "type": "int"
        },
        {
          "default": null,
          "enum": null,
          "name": "sequence",
          "required": false,
          "type": "int"
        },
        {
          "default": null,
          "enum": null,
          "name": "status",
          "required": false,
          "type": "str"
        }
      ],
      "agent_example": "mammoth project data-check list 123",
      "command_id": "project.data-check.list",
      "contract_level": "typed",
      "description": "List a project's data checks, with optional filters from '--input'.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth project data-check list --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the project to act on; defaults to the active project.",
          "metavar": "PROJECT_ID",
          "name": "project_id",
          "required": false,
          "type": "int"
        }
      ],
      "request_model": "ProjectDataCheckListRequest",
      "result_model": "ProjectDataCheckListResult",
      "runnable_example": "mammoth project data-check list 123"
    },
    "project delete": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "timeout",
          "required": false,
          "type": "int"
        },
        {
          "default": 2.0,
          "enum": null,
          "name": "poll_interval",
          "required": false,
          "type": "float"
        }
      ],
      "agent_example": "mammoth project delete 123 --yes --confirm 123",
      "command_id": "project.delete",
      "contract_level": "typed",
      "description": "Delete one project (positional or active).",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth project delete --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the project to act on; defaults to the active project.",
          "metavar": "PROJECT_ID",
          "name": "project_id",
          "required": false,
          "type": "int"
        }
      ],
      "request_model": "ProjectDeleteRequest",
      "result_model": "ProjectDeleteResult",
      "runnable_example": "mammoth project delete 123 --yes --confirm 123"
    },
    "project ensure": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "name",
          "required": false,
          "type": "str"
        }
      ],
      "agent_example": "mammoth project ensure 'Revenue report'",
      "command_id": "project.ensure",
      "contract_level": "typed",
      "description": "Return the project with exactly this name, creating it when absent.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth project ensure --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": "name",
          "help": "Exact project name to find or create; or pass it via the 'name' input field.",
          "metavar": "NAME",
          "name": "name",
          "required": false,
          "type": "str"
        }
      ],
      "request_model": "ProjectEnsureRequest",
      "result_model": "ProjectEnsureResult",
      "runnable_example": "mammoth project ensure 'Revenue report'"
    },
    "project get": {
      "accepted_fields": [],
      "agent_example": "mammoth project get 123",
      "command_id": "project.get",
      "contract_level": "typed",
      "description": "Get one project by id (positional or active project).",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth project get --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the project to act on; defaults to the active project.",
          "metavar": "PROJECT_ID",
          "name": "project_id",
          "required": false,
          "type": "int"
        }
      ],
      "request_model": "ProjectGetRequest",
      "result_model": "ProjectGetResult",
      "runnable_example": "mammoth project get 123"
    },
    "project list": {
      "accepted_fields": [
        {
          "default": 100,
          "enum": null,
          "name": "limit",
          "required": false,
          "type": "int"
        },
        {
          "default": 0,
          "enum": null,
          "name": "offset",
          "required": false,
          "type": "int"
        },
        {
          "default": "id,name",
          "enum": null,
          "name": "fields",
          "required": false,
          "type": "str"
        },
        {
          "default": false,
          "enum": null,
          "name": "include_non_members",
          "required": false,
          "type": "bool"
        }
      ],
      "agent_example": "mammoth project list",
      "command_id": "project.list",
      "contract_level": "typed",
      "description": "List the caller's member projects in the active workspace, one page at a time.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth project list --help",
      "notes": [],
      "positionals": [],
      "request_model": "ProjectListRequest",
      "result_model": "ProjectListResult",
      "runnable_example": "mammoth project list"
    },
    "project memory add": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "text",
          "required": true,
          "type": "str"
        }
      ],
      "agent_example": "mammoth project memory add 123 --input '{\"text\": \"Quarterly revenue summary\"}'",
      "command_id": "project.memory.add",
      "contract_level": "typed",
      "description": "Save one agent preference ('text' from '--input') for the caller.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth project memory add --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the project to act on; defaults to the active project.",
          "metavar": "PROJECT_ID",
          "name": "project_id",
          "required": false,
          "type": "int"
        }
      ],
      "request_model": "ProjectMemoryAddRequest",
      "result_model": "ProjectMemoryAddResult",
      "runnable_example": "mammoth project memory add 123 --input '{\"text\": \"Quarterly revenue summary\"}'"
    },
    "project memory list": {
      "accepted_fields": [],
      "agent_example": "mammoth project memory list 123",
      "command_id": "project.memory.list",
      "contract_level": "typed",
      "description": "List the caller's saved agent preferences for a project.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth project memory list --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the project to act on; defaults to the active project.",
          "metavar": "PROJECT_ID",
          "name": "project_id",
          "required": false,
          "type": "int"
        }
      ],
      "request_model": "ProjectMemoryListRequest",
      "result_model": "ProjectMemoryListResult",
      "runnable_example": "mammoth project memory list 123"
    },
    "project memory remove": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "index",
          "required": true,
          "type": "int"
        }
      ],
      "agent_example": "mammoth project memory remove 123 --input '{\"index\": 1}' --yes",
      "command_id": "project.memory.remove",
      "contract_level": "typed",
      "description": "Remove the caller's saved preference at 'index' (from '--input').",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth project memory remove --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the project to act on; defaults to the active project.",
          "metavar": "PROJECT_ID",
          "name": "project_id",
          "required": false,
          "type": "int"
        }
      ],
      "request_model": "ProjectMemoryRemoveRequest",
      "result_model": "ProjectMemoryRemoveResult",
      "runnable_example": "mammoth project memory remove 123 --input '{\"index\": 1}' --yes"
    },
    "project needs-attention": {
      "accepted_fields": [],
      "agent_example": "mammoth project needs-attention 123",
      "command_id": "project.needs-attention",
      "contract_level": "typed",
      "description": "List the Monitor \"Needs Attention\" rows with the dataset behind each view.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth project needs-attention --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the project to act on; defaults to the active project.",
          "metavar": "PROJECT_ID",
          "name": "project_id",
          "required": false,
          "type": "int"
        }
      ],
      "request_model": "ProjectNeedsAttentionRequest",
      "result_model": "ProjectNeedsAttentionResult",
      "runnable_example": "mammoth project needs-attention 123"
    },
    "project pending-changes": {
      "accepted_fields": [],
      "agent_example": "mammoth project pending-changes 123",
      "command_id": "project.pending-changes",
      "contract_level": "typed",
      "description": "Report a project's pending pipeline changes.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth project pending-changes --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the project to act on; defaults to the active project.",
          "metavar": "PROJECT_ID",
          "name": "project_id",
          "required": false,
          "type": "int"
        }
      ],
      "request_model": "ProjectPendingChangesRequest",
      "result_model": "ProjectPendingChangesResult",
      "runnable_example": "mammoth project pending-changes 123"
    },
    "project publish-credentials": {
      "accepted_fields": [
        {
          "default": null,
          "enum": [
            "postgres",
            "bigquery"
          ],
          "name": "odbc_type",
          "required": true,
          "type": "typing.Literal['postgres', 'bigquery']"
        }
      ],
      "agent_example": "mammoth project publish-credentials 123 --input '{\"odbc_type\": \"postgres\"}'",
      "command_id": "project.publish-credentials",
      "contract_level": "typed",
      "description": "Report publish credentials for a project's ODBC endpoint.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth project publish-credentials --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the project to act on; defaults to the active project.",
          "metavar": "PROJECT_ID",
          "name": "project_id",
          "required": false,
          "type": "int"
        }
      ],
      "request_model": "ProjectPublishCredentialsRequest",
      "result_model": "ProjectPublishCredentialsResult",
      "runnable_example": "mammoth project publish-credentials 123 --input '{\"odbc_type\": \"postgres\"}'"
    },
    "project resource-dependencies": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "resource_ids",
          "required": true,
          "type": "list[str]"
        },
        {
          "default": null,
          "enum": null,
          "name": "is_recursive",
          "required": false,
          "type": "bool"
        }
      ],
      "agent_example": "mammoth project resource-dependencies 123 --input '{\"resource_ids\": [456]}'",
      "command_id": "project.resource-dependencies",
      "contract_level": "typed",
      "description": "Update project resource dependencies.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth project resource-dependencies --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the project to act on; defaults to the active project.",
          "metavar": "PROJECT_ID",
          "name": "project_id",
          "required": false,
          "type": "int"
        }
      ],
      "request_model": "ProjectResourceDependenciesRequest",
      "result_model": "ProjectResourceDependenciesResult",
      "runnable_example": "mammoth project resource-dependencies 123 --input '{\"resource_ids\": [456]}'"
    },
    "project resource-dependencies update": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "patches",
          "required": true,
          "type": "list[DataSyncPatchItem]"
        }
      ],
      "agent_example": "mammoth project resource-dependencies update 123 --input '{\"patches\": [{\"op\": \"replace\", \"path\": \"data_sync\", \"value\": {\"context_type\": \"dataview\", \"context_id\": 1}}]}' --yes --confirm 123",
      "command_id": "project.resource-dependencies.update",
      "contract_level": "typed",
      "description": "Apply confirmed data-sync patches to a project's resource graph.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth project resource-dependencies update --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the project to act on; defaults to the active project.",
          "metavar": "PROJECT_ID",
          "name": "project_id",
          "required": false,
          "type": "int"
        }
      ],
      "request_model": "ProjectResourceDependenciesUpdateRequest",
      "result_model": "ProjectResourceDependenciesUpdateResult",
      "runnable_example": "mammoth project resource-dependencies update 123 --input '{\"patches\": [{\"op\": \"replace\", \"path\": \"data_sync\", \"value\": {\"context_type\": \"dataview\", \"context_id\": 1}}]}' --yes --confirm 123"
    },
    "project resource-status": {
      "accepted_fields": [],
      "agent_example": "mammoth project resource-status 123",
      "command_id": "project.resource-status",
      "contract_level": "typed",
      "description": "Report the project's in-flight resource tasks, named as such.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth project resource-status --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the project to act on; defaults to the active project.",
          "metavar": "PROJECT_ID",
          "name": "project_id",
          "required": false,
          "type": "int"
        }
      ],
      "request_model": "ProjectResourceStatusRequest",
      "result_model": "ProjectResourceStatusResult",
      "runnable_example": "mammoth project resource-status 123"
    },
    "project sample-flow": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "label_resource_id",
          "required": false,
          "type": "int"
        }
      ],
      "agent_example": "mammoth project sample-flow 123",
      "command_id": "project.sample-flow",
      "contract_level": "typed",
      "description": "Create a sample flow in a project (positional or active).",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth project sample-flow --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the project to act on; defaults to the active project.",
          "metavar": "PROJECT_ID",
          "name": "project_id",
          "required": false,
          "type": "int"
        }
      ],
      "request_model": "ProjectSampleFlowRequest",
      "result_model": "ProjectSampleFlowResult",
      "runnable_example": "mammoth project sample-flow 123"
    },
    "project update": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "name",
          "required": false,
          "type": "str"
        },
        {
          "default": null,
          "enum": null,
          "name": "color",
          "required": false,
          "type": "str"
        }
      ],
      "agent_example": "mammoth project update 123 --input '{\"name\": \"Renamed project\"}'",
      "command_id": "project.update",
      "contract_level": "typed",
      "description": "Update a project's name or color from the '--input' document.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth project update --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the project to act on; defaults to the active project.",
          "metavar": "PROJECT_ID",
          "name": "project_id",
          "required": false,
          "type": "int"
        }
      ],
      "request_model": "ProjectUpdateRequest",
      "result_model": "ProjectUpdateResult",
      "runnable_example": "mammoth project update 123 --input '{\"name\": \"Renamed project\"}'"
    },
    "project user add": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "user_ids",
          "required": true,
          "type": "list[int]"
        },
        {
          "default": null,
          "enum": null,
          "name": "role",
          "required": false,
          "type": "str"
        }
      ],
      "agent_example": "mammoth project user add 123 --input '{\"user_ids\": [123], \"role\": \"project_analyst\"}' --yes --confirm 123",
      "command_id": "project.user.add",
      "contract_level": "typed",
      "description": "Add users to a project. High-impact: '--yes --confirm PROJECT_ID'.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth project user add --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the project to act on; defaults to the active project.",
          "metavar": "PROJECT_ID",
          "name": "project_id",
          "required": false,
          "type": "int"
        }
      ],
      "request_model": "ProjectUserAddRequest",
      "result_model": "ProjectUserAddResult",
      "runnable_example": "mammoth project user add 123 --input '{\"user_ids\": [123], \"role\": \"project_analyst\"}' --yes --confirm 123"
    },
    "project user remove": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "user_ids",
          "required": true,
          "type": "list[str]"
        }
      ],
      "agent_example": "mammoth project user remove 123 --input '{\"user_ids\": [\"resource-123\"]}' --yes --confirm 123",
      "command_id": "project.user.remove",
      "contract_level": "typed",
      "description": "Remove users from a project. High-impact: '--yes --confirm PROJECT_ID'.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth project user remove --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the project to act on; defaults to the active project.",
          "metavar": "PROJECT_ID",
          "name": "project_id",
          "required": false,
          "type": "int"
        }
      ],
      "request_model": "ProjectUserRemoveRequest",
      "result_model": "ProjectUserRemoveResult",
      "runnable_example": "mammoth project user remove 123 --input '{\"user_ids\": [\"resource-123\"]}' --yes --confirm 123"
    },
    "project user update": {
      "accepted_fields": [
        {
          "default": null,
          "enum": [
            "project_admin",
            "project_analyst"
          ],
          "name": "role",
          "required": true,
          "type": "typing.Literal['project_admin', 'project_analyst']"
        },
        {
          "default": null,
          "enum": null,
          "name": "user_id",
          "required": false,
          "type": "int"
        },
        {
          "default": null,
          "enum": null,
          "name": "invite_id",
          "required": false,
          "type": "int"
        }
      ],
      "agent_example": "mammoth project user update 123 --input '{\"role\": \"project_admin\", \"user_id\": 123}' --yes",
      "command_id": "project.user.update",
      "contract_level": "typed",
      "description": "Update a project member's role ('role' required; 'user_id'/'invite_id').",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth project user update --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the project to act on; defaults to the active project.",
          "metavar": "PROJECT_ID",
          "name": "project_id",
          "required": false,
          "type": "int"
        }
      ],
      "request_model": "ProjectUserUpdateRequest",
      "result_model": "ProjectUserUpdateResult",
      "runnable_example": "mammoth project user update 123 --input '{\"role\": \"project_admin\", \"user_id\": 123}' --yes"
    },
    "recipe list": {
      "accepted_fields": [],
      "agent_example": "mammoth recipe list",
      "command_id": "recipe.list",
      "contract_level": "typed",
      "description": "List the recipes 'recipe run' can run, with their inputs and a ready command.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth recipe list --help",
      "notes": [],
      "positionals": [],
      "request_model": "RecipeListRequest",
      "result_model": "RecipeListResult",
      "runnable_example": "mammoth recipe list"
    },
    "recipe run": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "inputs",
          "required": false,
          "type": "dict[str, any]"
        }
      ],
      "agent_example": "mammoth recipe run export-csv --input '{\"inputs\": {\"view_id\": 1, \"dataset_id\": 2}}' --yes",
      "command_id": "recipe.run",
      "contract_level": "typed",
      "description": "Run a recipe's steps in one process; 'inputs' fills them. Prompt or '--yes'.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth recipe run ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "The recipe to run (from 'recipe list').",
          "metavar": "ID",
          "name": "id",
          "required": true,
          "type": "str"
        }
      ],
      "request_model": "RecipeRunRequest",
      "result_model": "RecipeRunResult",
      "runnable_example": "mammoth recipe run export-csv --input '{\"inputs\": {\"view_id\": 1, \"dataset_id\": 2}}' --yes"
    },
    "report list": {
      "accepted_fields": [
        {
          "default": 50,
          "enum": null,
          "name": "limit",
          "required": false,
          "type": "int"
        },
        {
          "default": 0,
          "enum": null,
          "name": "offset",
          "required": false,
          "type": "int"
        }
      ],
      "agent_example": "mammoth report list",
      "command_id": "report.list",
      "contract_level": "typed",
      "description": "List reports in the active workspace, with optional 'limit'/'offset'.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth report list --help",
      "notes": [],
      "positionals": [],
      "request_model": "ReportListRequest",
      "result_model": "ReportListResult",
      "runnable_example": "mammoth report list"
    },
    "resolve": {
      "accepted_fields": [
        {
          "default": false,
          "enum": null,
          "name": "all_projects",
          "required": false,
          "type": "bool"
        }
      ],
      "agent_example": "mammoth resolve uqa-w29-ren",
      "command_id": "resolve",
      "contract_level": "typed",
      "description": "Say what NAME refers to: a dataset, a view or a project, with ids and projects.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth resolve NAME --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "Case-insensitive name, or part of one, to look up as a dataset, view or project.",
          "metavar": "NAME",
          "name": "name",
          "required": true,
          "type": "str"
        }
      ],
      "request_model": "ResolveRequest",
      "result_model": "ResolveResult",
      "runnable_example": "mammoth resolve uqa-w29-ren"
    },
    "run": {
      "accepted_fields": [],
      "agent_example": "mammoth run commands.jsonl",
      "command_id": "run",
      "contract_level": "typed",
      "description": "Run many commands in one process: JSON Lines of cmd, args, input and flags.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth run --help",
      "notes": [
        "One command per line: {\"cmd\": \"view task list\", \"args\": [\"290\"], \"input\": {}, \"flags\": {\"project\": 1}, \"id\": \"a\"}. cmd is the command path, args its positionals, input its --input document, flags the global flags by long name (yes, confirm, dry-run, project). Prints each line's envelope plus line, cmd and exit, then a summary; stops at the first failed line (exit = its status) unless --continue. No global --yes: a mutating line carries its own. --dry-run, --profile and --project apply to every line. FILE defaults to stdin; --continue may come before or after it. Steps: name a line (\"name\": \"up\") and a later line reads its result as \"{{steps.up.data.dataset.id}}\" in args, input or flags; \"when\": {\"eq\": [A, B]} skips a line; \"for_each\": \"{{steps.ls.data}}\" runs it once per item (\"{{item}}\", \"{{index}}\"). JSON expressions only, no code."
      ],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "JSON Lines file with one command per line, or '-' (the default) for stdin.",
          "metavar": "FILE",
          "name": "file",
          "required": false,
          "type": "str"
        }
      ],
      "request_model": "RunRequest",
      "result_model": "RunResult",
      "runnable_example": "mammoth run commands.jsonl"
    },
    "schedule create": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "spec",
          "required": true,
          "type": "ScheduleCreateSpec"
        }
      ],
      "agent_example": "mammoth schedule create --input '{\"spec\": {\"rrule\": {\"frequency\": \"minutely\", \"start\": \"2026-01-01T00:00:00Z\"}}}' --yes",
      "command_id": "schedule.create",
      "contract_level": "typed",
      "description": "Create a schedule. The required 'spec' field comes from '--input'.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth schedule create --help",
      "notes": [],
      "positionals": [],
      "request_model": "ScheduleCreateRequest",
      "result_model": "ScheduleCreateResult",
      "runnable_example": "mammoth schedule create --input '{\"spec\": {\"rrule\": {\"frequency\": \"minutely\", \"start\": \"2026-01-01T00:00:00Z\"}}}' --yes"
    },
    "schedule delete": {
      "accepted_fields": [],
      "agent_example": "mammoth schedule delete 123 --yes",
      "command_id": "schedule.delete",
      "contract_level": "typed",
      "description": "Delete one schedule by id. Prompt or '--yes' required.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth schedule delete SCHEDULE_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the schedule.",
          "metavar": "SCHEDULE_ID",
          "name": "schedule_id",
          "required": true,
          "type": "int"
        }
      ],
      "request_model": "ScheduleDeleteRequest",
      "result_model": "ScheduleDeleteResult",
      "runnable_example": "mammoth schedule delete 123 --yes"
    },
    "schedule get": {
      "accepted_fields": [],
      "agent_example": "mammoth schedule get 123",
      "command_id": "schedule.get",
      "contract_level": "typed",
      "description": "Get one schedule by id in the active project.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth schedule get SCHEDULE_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the schedule.",
          "metavar": "SCHEDULE_ID",
          "name": "schedule_id",
          "required": true,
          "type": "int"
        }
      ],
      "request_model": "ScheduleGetRequest",
      "result_model": "ScheduleGetResult",
      "runnable_example": "mammoth schedule get 123"
    },
    "schedule list": {
      "accepted_fields": [
        {
          "default": 50,
          "enum": null,
          "name": "limit",
          "required": false,
          "type": "int"
        },
        {
          "default": 0,
          "enum": null,
          "name": "offset",
          "required": false,
          "type": "int"
        }
      ],
      "agent_example": "mammoth schedule list",
      "command_id": "schedule.list",
      "contract_level": "typed",
      "description": "Retired: the server does not implement listing a project's schedules.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth schedule list --help",
      "notes": [],
      "positionals": [],
      "request_model": "ScheduleListRequest",
      "result_model": "ScheduleListResult",
      "runnable_example": "mammoth schedule list"
    },
    "schedule update": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "patch",
          "required": true,
          "type": "list[SchedulePatchItem]"
        }
      ],
      "agent_example": "mammoth schedule update 123 --input '{\"patch\": [{\"op\": \"replace\", \"path\": \"rrule\", \"value\": {\"rrule\": {\"frequency\": \"minutely\", \"start\": \"2026-01-01T00:00:00Z\"}, \"work_items\": [{\"name\": \"pull_cloud_data\", \"execution_params\": {\"schedule_type\": \"moment\", \"first_pull_at\": \"now\", \"on_refresh_action\": \"replace\"}, \"args\": [1]}]}}]}' --yes",
      "command_id": "schedule.update",
      "contract_level": "typed",
      "description": "Apply JSON-patch operations to one schedule. Always requires '--yes'.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth schedule update SCHEDULE_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the schedule.",
          "metavar": "SCHEDULE_ID",
          "name": "schedule_id",
          "required": true,
          "type": "int"
        }
      ],
      "request_model": "ScheduleUpdateRequest",
      "result_model": "ScheduleUpdateResult",
      "runnable_example": "mammoth schedule update 123 --input '{\"patch\": [{\"op\": \"replace\", \"path\": \"rrule\", \"value\": {\"rrule\": {\"frequency\": \"minutely\", \"start\": \"2026-01-01T00:00:00Z\"}, \"work_items\": [{\"name\": \"pull_cloud_data\", \"execution_params\": {\"schedule_type\": \"moment\", \"first_pull_at\": \"now\", \"on_refresh_action\": \"replace\"}, \"args\": [1]}]}}]}' --yes"
    },
    "schema find": {
      "accepted_fields": [],
      "agent_example": "mammoth schema find 'view transform'",
      "command_id": "schema.find",
      "contract_level": "typed",
      "description": null,
      "flags": [],
      "hidden": false,
      "human_example": "mammoth schema find QUERY --help",
      "notes": [
        "The result leaves out detail you rarely need. Pass --full for all of it."
      ],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "Match command names, examples, or purpose (e.g. view transform).",
          "metavar": "QUERY",
          "name": "query",
          "required": true,
          "type": "str"
        }
      ],
      "request_model": "SchemaFindRequest",
      "result_model": "SchemaFindResult",
      "runnable_example": "mammoth schema find 'view transform'"
    },
    "schema get": {
      "accepted_fields": [
        {
          "default": false,
          "enum": null,
          "name": "full",
          "required": false,
          "type": "bool"
        }
      ],
      "agent_example": "mammoth schema get view.transform.bulk-replace",
      "command_id": "schema.get",
      "contract_level": "typed",
      "description": null,
      "flags": [],
      "hidden": false,
      "human_example": "mammoth schema get COMMAND_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "Command id to fetch the schema for (e.g. view.transform.bulk-replace); join several with commas (view.list,view.analyze) for one result with all of them.",
          "metavar": "COMMAND_ID",
          "name": "command_id",
          "required": true,
          "type": "str"
        }
      ],
      "request_model": "SchemaGetRequest",
      "result_model": "SchemaGetResult",
      "runnable_example": "mammoth schema get view.transform.bulk-replace"
    },
    "schema list": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "family",
          "required": false,
          "type": "str"
        },
        {
          "default": false,
          "enum": null,
          "name": "full",
          "required": false,
          "type": "bool"
        }
      ],
      "agent_example": "mammoth schema list view",
      "command_id": "schema.list",
      "contract_level": "typed",
      "description": "Command index by family; 'schema list FAMILY' for one family; 'full' for every record.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth schema list --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": "family",
          "help": "Command family to list (e.g. view); omit for the family index.",
          "metavar": "FAMILY",
          "name": "family",
          "required": false,
          "type": "str"
        }
      ],
      "request_model": "SchemaListRequest",
      "result_model": "SchemaListResult",
      "runnable_example": "mammoth schema list view"
    },
    "skill agents-md install": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "path",
          "required": false,
          "type": "str"
        }
      ],
      "agent_example": "mammoth skill agents-md install",
      "command_id": "skill.agents-md.install",
      "contract_level": "typed",
      "description": "Write or refresh the <mammoth-cli> steering block in AGENTS.md (or the given path).",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth skill agents-md install --help",
      "notes": [],
      "positionals": [],
      "request_model": "SkillAgentsMdInstallRequest",
      "result_model": "SkillAgentsMdInstallResult",
      "runnable_example": "mammoth skill agents-md install"
    },
    "skill install": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "agents",
          "required": false,
          "type": "list[str]"
        },
        {
          "default": "user",
          "enum": null,
          "name": "scope",
          "required": false,
          "type": "str"
        },
        {
          "default": false,
          "enum": null,
          "name": "force",
          "required": false,
          "type": "bool"
        }
      ],
      "agent_example": "mammoth skill install",
      "command_id": "skill.install",
      "contract_level": "typed",
      "description": "Install the bundled skill into the requested agent/scope destinations.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth skill install --help",
      "notes": [],
      "positionals": [],
      "request_model": "SkillInstallRequest",
      "result_model": "SkillInstallResult",
      "runnable_example": "mammoth skill install"
    },
    "skill list": {
      "accepted_fields": [],
      "agent_example": "mammoth skill list",
      "command_id": "skill.list",
      "contract_level": "typed",
      "description": "List recorded skill installs and whether each is present and intact.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth skill list --help",
      "notes": [],
      "positionals": [],
      "request_model": "SkillListRequest",
      "result_model": "SkillListResult",
      "runnable_example": "mammoth skill list"
    },
    "skill path": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "agents",
          "required": false,
          "type": "list[str]"
        },
        {
          "default": "user",
          "enum": null,
          "name": "scope",
          "required": false,
          "type": "str"
        }
      ],
      "agent_example": "mammoth skill path",
      "command_id": "skill.path",
      "contract_level": "typed",
      "description": "Show the canonical skill path and the computed destination paths.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth skill path --help",
      "notes": [],
      "positionals": [],
      "request_model": "SkillPathRequest",
      "result_model": "SkillPathResult",
      "runnable_example": "mammoth skill path"
    },
    "skill show": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "file",
          "required": false,
          "type": "str"
        }
      ],
      "agent_example": "mammoth skill show",
      "command_id": "skill.show",
      "contract_level": "typed",
      "description": "Print the bundled SKILL.md, or one reference file, as text.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth skill show --help",
      "notes": [],
      "positionals": [],
      "request_model": "SkillShowRequest",
      "result_model": "SkillShowResult",
      "runnable_example": "mammoth skill show"
    },
    "skill uninstall": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "agents",
          "required": false,
          "type": "list[str]"
        },
        {
          "default": "user",
          "enum": null,
          "name": "scope",
          "required": false,
          "type": "str"
        }
      ],
      "agent_example": "mammoth skill uninstall",
      "command_id": "skill.uninstall",
      "contract_level": "typed",
      "description": "Remove installer-owned skill destinations (modified copies are kept).",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth skill uninstall --help",
      "notes": [],
      "positionals": [],
      "request_model": "SkillUninstallRequest",
      "result_model": "SkillUninstallResult",
      "runnable_example": "mammoth skill uninstall"
    },
    "skill update": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "agents",
          "required": false,
          "type": "list[str]"
        },
        {
          "default": "user",
          "enum": null,
          "name": "scope",
          "required": false,
          "type": "str"
        },
        {
          "default": false,
          "enum": null,
          "name": "force",
          "required": false,
          "type": "bool"
        }
      ],
      "agent_example": "mammoth skill update",
      "command_id": "skill.update",
      "contract_level": "typed",
      "description": "Update installer-owned skill destinations to the bundled version.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth skill update --help",
      "notes": [],
      "positionals": [],
      "request_model": "SkillUpdateRequest",
      "result_model": "SkillUpdateResult",
      "runnable_example": "mammoth skill update"
    },
    "snippet create": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "name",
          "required": false,
          "type": "str"
        },
        {
          "default": null,
          "enum": null,
          "name": "code",
          "required": true,
          "type": "str"
        },
        {
          "default": null,
          "enum": null,
          "name": "language",
          "required": true,
          "type": "str"
        },
        {
          "default": null,
          "enum": null,
          "name": "description",
          "required": false,
          "type": "str"
        },
        {
          "default": null,
          "enum": null,
          "name": "group_id",
          "required": false,
          "type": "int"
        },
        {
          "default": "project",
          "enum": null,
          "name": "scope",
          "required": false,
          "type": "str"
        }
      ],
      "agent_example": "mammoth snippet create 'Revenue report' --input '{\"code\": \"SELECT * FROM orders\", \"language\": \"sql\"}'",
      "command_id": "snippet.create",
      "contract_level": "typed",
      "description": "Create a snippet. Name comes from a positional or the 'name' field.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth snippet create --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": "name",
          "help": "Name of the new snippet; or pass it via the 'name' input field.",
          "metavar": "NAME",
          "name": "name",
          "required": false,
          "type": "str"
        }
      ],
      "request_model": "SnippetCreateRequest",
      "result_model": "SnippetCreateResult",
      "runnable_example": "mammoth snippet create 'Revenue report' --input '{\"code\": \"SELECT * FROM orders\", \"language\": \"sql\"}'"
    },
    "snippet delete": {
      "accepted_fields": [],
      "agent_example": "mammoth snippet delete 123 --yes",
      "command_id": "snippet.delete",
      "contract_level": "typed",
      "description": "Delete one snippet by id. Prompt or '--yes' required.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth snippet delete SNIPPET_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the snippet.",
          "metavar": "SNIPPET_ID",
          "name": "snippet_id",
          "required": true,
          "type": "int"
        }
      ],
      "request_model": "SnippetDeleteRequest",
      "result_model": "SnippetDeleteResult",
      "runnable_example": "mammoth snippet delete 123 --yes"
    },
    "snippet dependencies": {
      "accepted_fields": [],
      "agent_example": "mammoth snippet dependencies 123",
      "command_id": "snippet.dependencies",
      "contract_level": "typed",
      "description": "Report dependencies for one snippet by id.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth snippet dependencies SNIPPET_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the snippet.",
          "metavar": "SNIPPET_ID",
          "name": "snippet_id",
          "required": true,
          "type": "int"
        }
      ],
      "request_model": "SnippetDependenciesRequest",
      "result_model": "SnippetDependenciesResult",
      "runnable_example": "mammoth snippet dependencies 123"
    },
    "snippet duplicate": {
      "accepted_fields": [],
      "agent_example": "mammoth snippet duplicate 123",
      "command_id": "snippet.duplicate",
      "contract_level": "typed",
      "description": "Duplicate one snippet by id.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth snippet duplicate SNIPPET_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the snippet.",
          "metavar": "SNIPPET_ID",
          "name": "snippet_id",
          "required": true,
          "type": "int"
        }
      ],
      "request_model": "SnippetDuplicateRequest",
      "result_model": "SnippetDuplicateResult",
      "runnable_example": "mammoth snippet duplicate 123"
    },
    "snippet get": {
      "accepted_fields": [],
      "agent_example": "mammoth snippet get 123",
      "command_id": "snippet.get",
      "contract_level": "typed",
      "description": "Get one snippet by id.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth snippet get SNIPPET_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the snippet.",
          "metavar": "SNIPPET_ID",
          "name": "snippet_id",
          "required": true,
          "type": "int"
        }
      ],
      "request_model": "SnippetGetRequest",
      "result_model": "SnippetGetResult",
      "runnable_example": "mammoth snippet get 123"
    },
    "snippet list": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "limit",
          "required": false,
          "type": "int"
        },
        {
          "default": null,
          "enum": null,
          "name": "offset",
          "required": false,
          "type": "int"
        },
        {
          "default": null,
          "enum": null,
          "name": "search",
          "required": false,
          "type": "str"
        },
        {
          "default": null,
          "enum": null,
          "name": "group_id",
          "required": false,
          "type": "int"
        },
        {
          "default": null,
          "enum": null,
          "name": "sort",
          "required": false,
          "type": "str"
        }
      ],
      "agent_example": "mammoth snippet list",
      "command_id": "snippet.list",
      "contract_level": "typed",
      "description": "List snippets in the active project.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth snippet list --help",
      "notes": [],
      "positionals": [],
      "request_model": "SnippetListRequest",
      "result_model": "SnippetListResult",
      "runnable_example": "mammoth snippet list"
    },
    "snippet rerun": {
      "accepted_fields": [],
      "agent_example": "mammoth snippet rerun 123",
      "command_id": "snippet.rerun",
      "contract_level": "typed",
      "description": "Rerun one snippet by id.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth snippet rerun SNIPPET_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the snippet.",
          "metavar": "SNIPPET_ID",
          "name": "snippet_id",
          "required": true,
          "type": "int"
        }
      ],
      "request_model": "SnippetRerunRequest",
      "result_model": "SnippetRerunResult",
      "runnable_example": "mammoth snippet rerun 123"
    },
    "snippet update": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "name",
          "required": false,
          "type": "str"
        },
        {
          "default": null,
          "enum": null,
          "name": "code",
          "required": false,
          "type": "str"
        },
        {
          "default": null,
          "enum": null,
          "name": "language",
          "required": false,
          "type": "str"
        },
        {
          "default": null,
          "enum": null,
          "name": "description",
          "required": false,
          "type": "str"
        },
        {
          "default": null,
          "enum": null,
          "name": "group_id",
          "required": false,
          "type": "int"
        }
      ],
      "agent_example": "mammoth snippet update 123",
      "command_id": "snippet.update",
      "contract_level": "typed",
      "description": "Update a snippet's fields. Snippet id is positional; fields come from '--input'.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth snippet update SNIPPET_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the snippet.",
          "metavar": "SNIPPET_ID",
          "name": "snippet_id",
          "required": true,
          "type": "int"
        }
      ],
      "request_model": "SnippetUpdateRequest",
      "result_model": "SnippetUpdateResult",
      "runnable_example": "mammoth snippet update 123"
    },
    "support billing cancel-subscription": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "when",
          "required": true,
          "type": "str"
        }
      ],
      "agent_example": "mammoth support billing cancel-subscription 123 --input '{\"when\": \"period_end\"}' --yes --confirm 123",
      "command_id": "support.billing.cancel-subscription",
      "contract_level": "typed",
      "description": "Cancel a workspace's subscription (`when`: now or period_end). Workspace id is positional.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth support billing cancel-subscription WORKSPACE_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the workspace.",
          "metavar": "WORKSPACE_ID",
          "name": "workspace_id",
          "required": true,
          "type": "int"
        }
      ],
      "request_model": "SupportBillingCancelSubscriptionRequest",
      "result_model": "SupportBillingCancelSubscriptionResult",
      "runnable_example": "mammoth support billing cancel-subscription 123 --input '{\"when\": \"period_end\"}' --yes --confirm 123"
    },
    "support billing change-plan": {
      "accepted_fields": [
        {
          "default": "now",
          "enum": null,
          "name": "when",
          "required": false,
          "type": "str"
        },
        {
          "default": null,
          "enum": null,
          "name": "storage_gb",
          "required": false,
          "type": "int"
        }
      ],
      "agent_example": "mammoth support billing change-plan 123 456 --yes --confirm 123",
      "command_id": "support.billing.change-plan",
      "contract_level": "typed",
      "description": "Move a workspace to another plan. Workspace id and new plan id are positional.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth support billing change-plan WORKSPACE_ID NEW_PLAN_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the workspace.",
          "metavar": "WORKSPACE_ID",
          "name": "workspace_id",
          "required": true,
          "type": "int"
        },
        {
          "falls_back_to_field": null,
          "help": "ID of the new plan.",
          "metavar": "NEW_PLAN_ID",
          "name": "new_plan_id",
          "required": true,
          "type": "int"
        }
      ],
      "request_model": "SupportBillingChangePlanRequest",
      "result_model": "SupportBillingChangePlanResult",
      "runnable_example": "mammoth support billing change-plan 123 456 --yes --confirm 123"
    },
    "support billing end-trial": {
      "accepted_fields": [],
      "agent_example": "mammoth support billing end-trial 123 --yes --confirm 123",
      "command_id": "support.billing.end-trial",
      "contract_level": "typed",
      "description": "End a workspace's trial now and charge the plan. Workspace id is positional.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth support billing end-trial WORKSPACE_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the workspace.",
          "metavar": "WORKSPACE_ID",
          "name": "workspace_id",
          "required": true,
          "type": "int"
        }
      ],
      "request_model": "SupportBillingEndTrialRequest",
      "result_model": "SupportBillingEndTrialResult",
      "runnable_example": "mammoth support billing end-trial 123 --yes --confirm 123"
    },
    "support billing refund": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "amount",
          "required": false,
          "type": "int"
        },
        {
          "default": false,
          "enum": null,
          "name": "full",
          "required": false,
          "type": "bool"
        }
      ],
      "agent_example": "mammoth support billing refund 123 --input '{\"amount\": 500}' --yes --confirm 123",
      "command_id": "support.billing.refund",
      "contract_level": "typed",
      "description": "Refund a workspace's last payment: `amount` (cents) of it, or all of it with `full`.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth support billing refund WORKSPACE_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the workspace.",
          "metavar": "WORKSPACE_ID",
          "name": "workspace_id",
          "required": true,
          "type": "int"
        }
      ],
      "request_model": "SupportBillingRefundRequest",
      "result_model": "SupportBillingRefundResult",
      "runnable_example": "mammoth support billing refund 123 --input '{\"amount\": 500}' --yes --confirm 123"
    },
    "support billing retry-payment": {
      "accepted_fields": [],
      "agent_example": "mammoth support billing retry-payment 123 --yes --confirm 123",
      "command_id": "support.billing.retry-payment",
      "contract_level": "typed",
      "description": "Retry a workspace's failed payment. Workspace id is positional.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth support billing retry-payment WORKSPACE_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the workspace.",
          "metavar": "WORKSPACE_ID",
          "name": "workspace_id",
          "required": true,
          "type": "int"
        }
      ],
      "request_model": "SupportBillingRetryPaymentRequest",
      "result_model": "SupportBillingRetryPaymentResult",
      "runnable_example": "mammoth support billing retry-payment 123 --yes --confirm 123"
    },
    "support billing start-trial": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "days",
          "required": false,
          "type": "int"
        }
      ],
      "agent_example": "mammoth support billing start-trial 123 --input '{\"days\": 14}' --yes --confirm 123",
      "command_id": "support.billing.start-trial",
      "contract_level": "typed",
      "description": "Start a trial on a workspace. Workspace id is positional; `days` (1-60) is optional.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth support billing start-trial WORKSPACE_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the workspace.",
          "metavar": "WORKSPACE_ID",
          "name": "workspace_id",
          "required": true,
          "type": "int"
        }
      ],
      "request_model": "SupportBillingStartTrialRequest",
      "result_model": "SupportBillingStartTrialResult",
      "runnable_example": "mammoth support billing start-trial 123 --input '{\"days\": 14}' --yes --confirm 123"
    },
    "support connector bucket-impact": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "bucket",
          "required": false,
          "type": "str"
        }
      ],
      "agent_example": "mammoth support connector bucket-impact 123",
      "command_id": "support.connector.bucket-impact",
      "contract_level": "typed",
      "description": "Show which plans a connector's bucket change would reach. Connector id is positional.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth support connector bucket-impact CONNECTOR_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the connector.",
          "metavar": "CONNECTOR_ID",
          "name": "connector_id",
          "required": true,
          "type": "int"
        }
      ],
      "request_model": "SupportConnectorBucketImpactRequest",
      "result_model": "SupportConnectorBucketImpactResult",
      "runnable_example": "mammoth support connector bucket-impact 123"
    },
    "support connector create": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "name",
          "required": false,
          "type": "str"
        },
        {
          "default": null,
          "enum": null,
          "name": "description",
          "required": false,
          "type": "str"
        },
        {
          "default": 0,
          "enum": null,
          "name": "price_per_month",
          "required": false,
          "type": "float"
        },
        {
          "default": true,
          "enum": null,
          "name": "enabled",
          "required": false,
          "type": "bool"
        }
      ],
      "agent_example": "mammoth support connector create 'Revenue report' --yes --confirm 'Revenue report'",
      "command_id": "support.connector.create",
      "contract_level": "typed",
      "description": "Create a connector. Name comes from a positional or the 'name' field.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth support connector create --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": "name",
          "help": "Name of the new connector; or pass it via the 'name' input field.",
          "metavar": "NAME",
          "name": "name",
          "required": false,
          "type": "str"
        }
      ],
      "request_model": "SupportConnectorCreateRequest",
      "result_model": "SupportConnectorCreateResult",
      "runnable_example": "mammoth support connector create 'Revenue report' --yes --confirm 'Revenue report'"
    },
    "support connector delete": {
      "accepted_fields": [],
      "agent_example": "mammoth support connector delete 123 --yes --confirm 123",
      "command_id": "support.connector.delete",
      "contract_level": "typed",
      "description": "Delete one connector by id.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth support connector delete CONNECTOR_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the connector.",
          "metavar": "CONNECTOR_ID",
          "name": "connector_id",
          "required": true,
          "type": "int"
        }
      ],
      "request_model": "SupportConnectorDeleteRequest",
      "result_model": "SupportConnectorDeleteResult",
      "runnable_example": "mammoth support connector delete 123 --yes --confirm 123"
    },
    "support connector list": {
      "accepted_fields": [],
      "agent_example": "mammoth support connector list",
      "command_id": "support.connector.list",
      "contract_level": "typed",
      "description": "List all subscription connectors.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth support connector list --help",
      "notes": [],
      "positionals": [],
      "request_model": "SupportConnectorListRequest",
      "result_model": "SupportConnectorListResult",
      "runnable_example": "mammoth support connector list"
    },
    "support connector update": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "name",
          "required": false,
          "type": "str"
        },
        {
          "default": null,
          "enum": null,
          "name": "description",
          "required": false,
          "type": "str"
        },
        {
          "default": null,
          "enum": null,
          "name": "price_per_month",
          "required": false,
          "type": "float"
        },
        {
          "default": null,
          "enum": null,
          "name": "enabled",
          "required": false,
          "type": "bool"
        }
      ],
      "agent_example": "mammoth support connector update 123 --yes --confirm 123",
      "command_id": "support.connector.update",
      "contract_level": "typed",
      "description": "Update a connector. Connector id is positional; fields come from '--input'.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth support connector update CONNECTOR_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the connector.",
          "metavar": "CONNECTOR_ID",
          "name": "connector_id",
          "required": true,
          "type": "int"
        }
      ],
      "request_model": "SupportConnectorUpdateRequest",
      "result_model": "SupportConnectorUpdateResult",
      "runnable_example": "mammoth support connector update 123 --yes --confirm 123"
    },
    "support connector-profile add-connector": {
      "accepted_fields": [
        {
          "default": 0,
          "enum": null,
          "name": "price_per_month",
          "required": false,
          "type": "float"
        },
        {
          "default": true,
          "enum": null,
          "name": "enabled",
          "required": false,
          "type": "bool"
        }
      ],
      "agent_example": "mammoth support connector-profile add-connector 123 456 --yes --confirm 123",
      "command_id": "support.connector-profile.add-connector",
      "contract_level": "typed",
      "description": "Add a connector to a connector profile. Profile id is positional.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth support connector-profile add-connector PROFILE_ID CONNECTOR_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the profile.",
          "metavar": "PROFILE_ID",
          "name": "profile_id",
          "required": true,
          "type": "int"
        },
        {
          "falls_back_to_field": null,
          "help": "ID of the connector.",
          "metavar": "CONNECTOR_ID",
          "name": "connector_id",
          "required": true,
          "type": "int"
        }
      ],
      "request_model": "SupportConnectorProfileAddConnectorRequest",
      "result_model": "SupportConnectorProfileAddConnectorResult",
      "runnable_example": "mammoth support connector-profile add-connector 123 456 --yes --confirm 123"
    },
    "support connector-profile create": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "name",
          "required": false,
          "type": "str"
        },
        {
          "default": null,
          "enum": null,
          "name": "description",
          "required": false,
          "type": "str"
        },
        {
          "default": null,
          "enum": null,
          "name": "connectors",
          "required": false,
          "type": "list[dict[str, any]]"
        }
      ],
      "agent_example": "mammoth support connector-profile create 'Revenue report' --yes --confirm 'Revenue report'",
      "command_id": "support.connector-profile.create",
      "contract_level": "typed",
      "description": "Create a connector profile. Name comes from a positional or 'name' field.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth support connector-profile create --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": "name",
          "help": "Name of the new connector profile; or pass it via the 'name' input field.",
          "metavar": "NAME",
          "name": "name",
          "required": false,
          "type": "str"
        }
      ],
      "request_model": "SupportConnectorProfileCreateRequest",
      "result_model": "SupportConnectorProfileCreateResult",
      "runnable_example": "mammoth support connector-profile create 'Revenue report' --yes --confirm 'Revenue report'"
    },
    "support connector-profile delete": {
      "accepted_fields": [],
      "agent_example": "mammoth support connector-profile delete 123 --yes --confirm 123",
      "command_id": "support.connector-profile.delete",
      "contract_level": "typed",
      "description": "Delete one connector profile by id.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth support connector-profile delete PROFILE_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the profile.",
          "metavar": "PROFILE_ID",
          "name": "profile_id",
          "required": true,
          "type": "int"
        }
      ],
      "request_model": "SupportConnectorProfileDeleteRequest",
      "result_model": "SupportConnectorProfileDeleteResult",
      "runnable_example": "mammoth support connector-profile delete 123 --yes --confirm 123"
    },
    "support connector-profile list": {
      "accepted_fields": [],
      "agent_example": "mammoth support connector-profile list",
      "command_id": "support.connector-profile.list",
      "contract_level": "typed",
      "description": "List all connector profiles.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth support connector-profile list --help",
      "notes": [],
      "positionals": [],
      "request_model": "SupportConnectorProfileListRequest",
      "result_model": "SupportConnectorProfileListResult",
      "runnable_example": "mammoth support connector-profile list"
    },
    "support connector-profile update": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "name",
          "required": false,
          "type": "str"
        },
        {
          "default": null,
          "enum": null,
          "name": "description",
          "required": false,
          "type": "str"
        },
        {
          "default": null,
          "enum": null,
          "name": "connectors",
          "required": false,
          "type": "list[dict[str, any]]"
        }
      ],
      "agent_example": "mammoth support connector-profile update 123 --yes --confirm 123",
      "command_id": "support.connector-profile.update",
      "contract_level": "typed",
      "description": "Update a connector profile. Profile id is positional; fields from '--input'.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth support connector-profile update PROFILE_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the profile.",
          "metavar": "PROFILE_ID",
          "name": "profile_id",
          "required": true,
          "type": "int"
        }
      ],
      "request_model": "SupportConnectorProfileUpdateRequest",
      "result_model": "SupportConnectorProfileUpdateResult",
      "runnable_example": "mammoth support connector-profile update 123 --yes --confirm 123"
    },
    "support deal activity": {
      "accepted_fields": [],
      "agent_example": "mammoth support deal activity 123",
      "command_id": "support.deal.activity",
      "contract_level": "typed",
      "description": "List a deal's activity log.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth support deal activity DEAL_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the deal.",
          "metavar": "DEAL_ID",
          "name": "deal_id",
          "required": true,
          "type": "int"
        }
      ],
      "request_model": "SupportDealActivityRequest",
      "result_model": "SupportDealActivityResult",
      "runnable_example": "mammoth support deal activity 123"
    },
    "support deal cancel-move-to-partner": {
      "accepted_fields": [],
      "agent_example": "mammoth support deal cancel-move-to-partner 123 --yes --confirm 123",
      "command_id": "support.deal.cancel-move-to-partner",
      "contract_level": "typed",
      "description": "Cancel a deal's pending move to a partner. Deal id is positional.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth support deal cancel-move-to-partner DEAL_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the deal.",
          "metavar": "DEAL_ID",
          "name": "deal_id",
          "required": true,
          "type": "int"
        }
      ],
      "request_model": "SupportDealCancelMoveToPartnerRequest",
      "result_model": "SupportDealCancelMoveToPartnerResult",
      "runnable_example": "mammoth support deal cancel-move-to-partner 123 --yes --confirm 123"
    },
    "support deal create": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "base_plan_id",
          "required": true,
          "type": "int"
        },
        {
          "default": null,
          "enum": null,
          "name": "price",
          "required": false,
          "type": "float"
        },
        {
          "default": null,
          "enum": null,
          "name": "billing_interval",
          "required": false,
          "type": "str"
        },
        {
          "default": null,
          "enum": null,
          "name": "collection_method",
          "required": false,
          "type": "str"
        },
        {
          "default": null,
          "enum": null,
          "name": "currency",
          "required": false,
          "type": "str"
        },
        {
          "default": null,
          "enum": null,
          "name": "ent_overrides",
          "required": false,
          "type": "dict[str, any]"
        },
        {
          "default": null,
          "enum": null,
          "name": "custom_connectors",
          "required": false,
          "type": "list[str]"
        },
        {
          "default": null,
          "enum": null,
          "name": "contract_start",
          "required": false,
          "type": "str"
        },
        {
          "default": null,
          "enum": null,
          "name": "contract_end",
          "required": false,
          "type": "str"
        },
        {
          "default": null,
          "enum": null,
          "name": "trial_end",
          "required": false,
          "type": "str"
        },
        {
          "default": null,
          "enum": null,
          "name": "payment_terms",
          "required": false,
          "type": "str"
        },
        {
          "default": null,
          "enum": null,
          "name": "notes",
          "required": false,
          "type": "str"
        },
        {
          "default": null,
          "enum": null,
          "name": "contact_name",
          "required": false,
          "type": "str"
        },
        {
          "default": null,
          "enum": null,
          "name": "contact_email",
          "required": false,
          "type": "str"
        },
        {
          "default": null,
          "enum": null,
          "name": "workspace_create",
          "required": false,
          "type": "dict[str, any]"
        },
        {
          "default": null,
          "enum": null,
          "name": "customer_email",
          "required": false,
          "type": "str"
        },
        {
          "default": null,
          "enum": null,
          "name": "partner_id",
          "required": false,
          "type": "int"
        },
        {
          "default": null,
          "enum": null,
          "name": "billing_start",
          "required": false,
          "type": "str"
        },
        {
          "default": null,
          "enum": null,
          "name": "billing_start_at",
          "required": false,
          "type": "str"
        },
        {
          "default": null,
          "enum": null,
          "name": "status",
          "required": false,
          "type": "str"
        }
      ],
      "agent_example": "mammoth support deal create 123 --input '{\"base_plan_id\": 3, \"price\": 1200.0}' --yes --confirm 123",
      "command_id": "support.deal.create",
      "contract_level": "typed",
      "description": "Create a deal on a workspace (positional id) or on a new one (`workspace_create`).",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth support deal create --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the workspace to put the deal on; omit it and pass 'workspace_create'.",
          "metavar": "WORKSPACE_ID",
          "name": "workspace_id",
          "required": false,
          "type": "int"
        }
      ],
      "request_model": "SupportDealCreateRequest",
      "result_model": "SupportDealCreateResult",
      "runnable_example": "mammoth support deal create 123 --input '{\"base_plan_id\": 3, \"price\": 1200.0}' --yes --confirm 123"
    },
    "support deal get": {
      "accepted_fields": [],
      "agent_example": "mammoth support deal get 123",
      "command_id": "support.deal.get",
      "contract_level": "typed",
      "description": "Get one deal by id.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth support deal get DEAL_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the deal.",
          "metavar": "DEAL_ID",
          "name": "deal_id",
          "required": true,
          "type": "int"
        }
      ],
      "request_model": "SupportDealGetRequest",
      "result_model": "SupportDealGetResult",
      "runnable_example": "mammoth support deal get 123"
    },
    "support deal list": {
      "accepted_fields": [],
      "agent_example": "mammoth support deal list",
      "command_id": "support.deal.list",
      "contract_level": "typed",
      "description": "List all deals.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth support deal list --help",
      "notes": [],
      "positionals": [],
      "request_model": "SupportDealListRequest",
      "result_model": "SupportDealListResult",
      "runnable_example": "mammoth support deal list"
    },
    "support deal move-to-partner": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "price",
          "required": true,
          "type": "float"
        },
        {
          "default": null,
          "enum": null,
          "name": "billing_interval",
          "required": true,
          "type": "str"
        },
        {
          "default": "period_end",
          "enum": null,
          "name": "when",
          "required": false,
          "type": "str"
        }
      ],
      "agent_example": "mammoth support deal move-to-partner 123 456 --input '{\"price\": 900.0, \"billing_interval\": \"monthly\"}' --yes --confirm 123",
      "command_id": "support.deal.move-to-partner",
      "contract_level": "typed",
      "description": "Schedule a direct deal to move under a partner. Deal and partner ids are positional.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth support deal move-to-partner DEAL_ID PARTNER_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the deal.",
          "metavar": "DEAL_ID",
          "name": "deal_id",
          "required": true,
          "type": "int"
        },
        {
          "falls_back_to_field": null,
          "help": "ID of the partner.",
          "metavar": "PARTNER_ID",
          "name": "partner_id",
          "required": true,
          "type": "int"
        }
      ],
      "request_model": "SupportDealMoveToPartnerRequest",
      "result_model": "SupportDealMoveToPartnerResult",
      "runnable_example": "mammoth support deal move-to-partner 123 456 --input '{\"price\": 900.0, \"billing_interval\": \"monthly\"}' --yes --confirm 123"
    },
    "support deal opt-in": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "keys",
          "required": false,
          "type": "list[str]"
        },
        {
          "default": null,
          "enum": null,
          "name": "connectors",
          "required": false,
          "type": "list[str]"
        },
        {
          "default": false,
          "enum": null,
          "name": "everything",
          "required": false,
          "type": "bool"
        }
      ],
      "agent_example": "mammoth support deal opt-in 123 --input '{\"everything\": true}' --yes --confirm 123",
      "command_id": "support.deal.opt-in",
      "contract_level": "typed",
      "description": "Release a deal's opt-in rollout pins (`keys`, `connectors` or `everything`).",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth support deal opt-in DEAL_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the deal.",
          "metavar": "DEAL_ID",
          "name": "deal_id",
          "required": true,
          "type": "int"
        }
      ],
      "request_model": "SupportDealOptInRequest",
      "result_model": "SupportDealOptInResult",
      "runnable_example": "mammoth support deal opt-in 123 --input '{\"everything\": true}' --yes --confirm 123"
    },
    "support deal preview-entitlement": {
      "accepted_fields": [],
      "agent_example": "mammoth support deal preview-entitlement 123",
      "command_id": "support.deal.preview-entitlement",
      "contract_level": "typed",
      "description": "Preview the entitlements a deal grants, without changing anything.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth support deal preview-entitlement DEAL_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the deal.",
          "metavar": "DEAL_ID",
          "name": "deal_id",
          "required": true,
          "type": "int"
        }
      ],
      "request_model": "SupportDealPreviewEntitlementRequest",
      "result_model": "SupportDealPreviewEntitlementResult",
      "runnable_example": "mammoth support deal preview-entitlement 123"
    },
    "support deal update": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "price",
          "required": false,
          "type": "float"
        },
        {
          "default": null,
          "enum": null,
          "name": "billing_interval",
          "required": false,
          "type": "str"
        },
        {
          "default": null,
          "enum": null,
          "name": "collection_method",
          "required": false,
          "type": "str"
        },
        {
          "default": null,
          "enum": null,
          "name": "currency",
          "required": false,
          "type": "str"
        },
        {
          "default": null,
          "enum": null,
          "name": "base_plan_id",
          "required": false,
          "type": "int"
        },
        {
          "default": null,
          "enum": null,
          "name": "ent_overrides",
          "required": false,
          "type": "dict[str, any]"
        },
        {
          "default": null,
          "enum": null,
          "name": "custom_connectors",
          "required": false,
          "type": "list[str]"
        },
        {
          "default": null,
          "enum": null,
          "name": "contract_start",
          "required": false,
          "type": "str"
        },
        {
          "default": null,
          "enum": null,
          "name": "contract_end",
          "required": false,
          "type": "str"
        },
        {
          "default": null,
          "enum": null,
          "name": "trial_end",
          "required": false,
          "type": "str"
        },
        {
          "default": null,
          "enum": null,
          "name": "payment_terms",
          "required": false,
          "type": "str"
        },
        {
          "default": null,
          "enum": null,
          "name": "notes",
          "required": false,
          "type": "str"
        },
        {
          "default": null,
          "enum": null,
          "name": "contact_name",
          "required": false,
          "type": "str"
        },
        {
          "default": null,
          "enum": null,
          "name": "contact_email",
          "required": false,
          "type": "str"
        },
        {
          "default": null,
          "enum": null,
          "name": "status",
          "required": false,
          "type": "str"
        }
      ],
      "agent_example": "mammoth support deal update 123 --input '{\"notes\": \"Renewal agreed\"}' --yes --confirm 123",
      "command_id": "support.deal.update",
      "contract_level": "typed",
      "description": "Update a deal's terms or status. Deal id is positional; the changes come from `--input`.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth support deal update DEAL_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the deal.",
          "metavar": "DEAL_ID",
          "name": "deal_id",
          "required": true,
          "type": "int"
        }
      ],
      "request_model": "SupportDealUpdateRequest",
      "result_model": "SupportDealUpdateResult",
      "runnable_example": "mammoth support deal update 123 --input '{\"notes\": \"Renewal agreed\"}' --yes --confirm 123"
    },
    "support entitlement registry": {
      "accepted_fields": [],
      "agent_example": "mammoth support entitlement registry",
      "command_id": "support.entitlement.registry",
      "contract_level": "typed",
      "description": "List the entitlement registry: every entitlement key a plan or deal can set.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth support entitlement registry --help",
      "notes": [],
      "positionals": [],
      "request_model": "SupportEntitlementRegistryRequest",
      "result_model": "SupportEntitlementRegistryResult",
      "runnable_example": "mammoth support entitlement registry"
    },
    "support feature create": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "name",
          "required": false,
          "type": "str"
        },
        {
          "default": null,
          "enum": null,
          "name": "description",
          "required": false,
          "type": "str"
        },
        {
          "default": 0,
          "enum": null,
          "name": "price_per_month",
          "required": false,
          "type": "float"
        },
        {
          "default": true,
          "enum": null,
          "name": "enabled",
          "required": false,
          "type": "bool"
        },
        {
          "default": null,
          "enum": null,
          "name": "values",
          "required": false,
          "type": "list[str]"
        }
      ],
      "agent_example": "mammoth support feature create 'Revenue report' --yes --confirm 'Revenue report'",
      "command_id": "support.feature.create",
      "contract_level": "typed",
      "description": "Create a feature. Name comes from a positional or the 'name' field.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth support feature create --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": "name",
          "help": "Name of the new feature; or pass it via the 'name' input field.",
          "metavar": "NAME",
          "name": "name",
          "required": false,
          "type": "str"
        }
      ],
      "request_model": "SupportFeatureCreateRequest",
      "result_model": "SupportFeatureCreateResult",
      "runnable_example": "mammoth support feature create 'Revenue report' --yes --confirm 'Revenue report'"
    },
    "support feature delete": {
      "accepted_fields": [],
      "agent_example": "mammoth support feature delete 123 --yes --confirm 123",
      "command_id": "support.feature.delete",
      "contract_level": "typed",
      "description": "Delete one feature by id.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth support feature delete FEATURE_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the feature.",
          "metavar": "FEATURE_ID",
          "name": "feature_id",
          "required": true,
          "type": "int"
        }
      ],
      "request_model": "SupportFeatureDeleteRequest",
      "result_model": "SupportFeatureDeleteResult",
      "runnable_example": "mammoth support feature delete 123 --yes --confirm 123"
    },
    "support feature list": {
      "accepted_fields": [],
      "agent_example": "mammoth support feature list",
      "command_id": "support.feature.list",
      "contract_level": "typed",
      "description": "List all subscription features.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth support feature list --help",
      "notes": [],
      "positionals": [],
      "request_model": "SupportFeatureListRequest",
      "result_model": "SupportFeatureListResult",
      "runnable_example": "mammoth support feature list"
    },
    "support feature update": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "name",
          "required": false,
          "type": "str"
        },
        {
          "default": null,
          "enum": null,
          "name": "description",
          "required": false,
          "type": "str"
        },
        {
          "default": null,
          "enum": null,
          "name": "price_per_month",
          "required": false,
          "type": "float"
        },
        {
          "default": null,
          "enum": null,
          "name": "enabled",
          "required": false,
          "type": "bool"
        },
        {
          "default": null,
          "enum": null,
          "name": "values",
          "required": false,
          "type": "list[str]"
        }
      ],
      "agent_example": "mammoth support feature update 123 --yes --confirm 123",
      "command_id": "support.feature.update",
      "contract_level": "typed",
      "description": "Update a feature. Feature id is positional; fields come from '--input'.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth support feature update FEATURE_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the feature.",
          "metavar": "FEATURE_ID",
          "name": "feature_id",
          "required": true,
          "type": "int"
        }
      ],
      "request_model": "SupportFeatureUpdateRequest",
      "result_model": "SupportFeatureUpdateResult",
      "runnable_example": "mammoth support feature update 123 --yes --confirm 123"
    },
    "support feature-profile add-feature": {
      "accepted_fields": [
        {
          "default": 0,
          "enum": null,
          "name": "price_per_month",
          "required": false,
          "type": "float"
        },
        {
          "default": true,
          "enum": null,
          "name": "enabled",
          "required": false,
          "type": "bool"
        },
        {
          "default": null,
          "enum": null,
          "name": "value",
          "required": false,
          "type": "str"
        }
      ],
      "agent_example": "mammoth support feature-profile add-feature 123 456 --yes --confirm 123",
      "command_id": "support.feature-profile.add-feature",
      "contract_level": "typed",
      "description": "Add a feature to a feature profile. Profile id is positional.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth support feature-profile add-feature PROFILE_ID FEATURE_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the profile.",
          "metavar": "PROFILE_ID",
          "name": "profile_id",
          "required": true,
          "type": "int"
        },
        {
          "falls_back_to_field": null,
          "help": "ID of the feature.",
          "metavar": "FEATURE_ID",
          "name": "feature_id",
          "required": true,
          "type": "int"
        }
      ],
      "request_model": "SupportFeatureProfileAddFeatureRequest",
      "result_model": "SupportFeatureProfileAddFeatureResult",
      "runnable_example": "mammoth support feature-profile add-feature 123 456 --yes --confirm 123"
    },
    "support feature-profile create": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "name",
          "required": false,
          "type": "str"
        },
        {
          "default": null,
          "enum": null,
          "name": "description",
          "required": false,
          "type": "str"
        },
        {
          "default": null,
          "enum": null,
          "name": "features",
          "required": false,
          "type": "list[dict[str, any]]"
        }
      ],
      "agent_example": "mammoth support feature-profile create 'Revenue report' --yes --confirm 'Revenue report'",
      "command_id": "support.feature-profile.create",
      "contract_level": "typed",
      "description": "Create a feature profile. Name comes from a positional or 'name' field.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth support feature-profile create --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": "name",
          "help": "Name of the new feature profile; or pass it via the 'name' input field.",
          "metavar": "NAME",
          "name": "name",
          "required": false,
          "type": "str"
        }
      ],
      "request_model": "SupportFeatureProfileCreateRequest",
      "result_model": "SupportFeatureProfileCreateResult",
      "runnable_example": "mammoth support feature-profile create 'Revenue report' --yes --confirm 'Revenue report'"
    },
    "support feature-profile delete": {
      "accepted_fields": [],
      "agent_example": "mammoth support feature-profile delete 123 --yes --confirm 123",
      "command_id": "support.feature-profile.delete",
      "contract_level": "typed",
      "description": "Delete one feature profile by id.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth support feature-profile delete PROFILE_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the profile.",
          "metavar": "PROFILE_ID",
          "name": "profile_id",
          "required": true,
          "type": "int"
        }
      ],
      "request_model": "SupportFeatureProfileDeleteRequest",
      "result_model": "SupportFeatureProfileDeleteResult",
      "runnable_example": "mammoth support feature-profile delete 123 --yes --confirm 123"
    },
    "support feature-profile list": {
      "accepted_fields": [],
      "agent_example": "mammoth support feature-profile list",
      "command_id": "support.feature-profile.list",
      "contract_level": "typed",
      "description": "List all feature profiles.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth support feature-profile list --help",
      "notes": [],
      "positionals": [],
      "request_model": "SupportFeatureProfileListRequest",
      "result_model": "SupportFeatureProfileListResult",
      "runnable_example": "mammoth support feature-profile list"
    },
    "support feature-profile update": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "name",
          "required": false,
          "type": "str"
        },
        {
          "default": null,
          "enum": null,
          "name": "description",
          "required": false,
          "type": "str"
        },
        {
          "default": null,
          "enum": null,
          "name": "features",
          "required": false,
          "type": "list[dict[str, any]]"
        }
      ],
      "agent_example": "mammoth support feature-profile update 123 --yes --confirm 123",
      "command_id": "support.feature-profile.update",
      "contract_level": "typed",
      "description": "Update a feature profile. Profile id is positional; fields from '--input'.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth support feature-profile update PROFILE_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the profile.",
          "metavar": "PROFILE_ID",
          "name": "profile_id",
          "required": true,
          "type": "int"
        }
      ],
      "request_model": "SupportFeatureProfileUpdateRequest",
      "result_model": "SupportFeatureProfileUpdateResult",
      "runnable_example": "mammoth support feature-profile update 123 --yes --confirm 123"
    },
    "support identity get": {
      "accepted_fields": [],
      "agent_example": "mammoth support identity get 123",
      "command_id": "support.identity.get",
      "contract_level": "typed",
      "description": "Get one identity by user id.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth support identity get USER_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the user.",
          "metavar": "USER_ID",
          "name": "user_id",
          "required": true,
          "type": "int"
        }
      ],
      "request_model": "SupportIdentityGetRequest",
      "result_model": "SupportIdentityGetResult",
      "runnable_example": "mammoth support identity get 123"
    },
    "support identity list": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "limit",
          "required": false,
          "type": "int"
        },
        {
          "default": null,
          "enum": null,
          "name": "offset",
          "required": false,
          "type": "int"
        },
        {
          "default": null,
          "enum": null,
          "name": "search",
          "required": false,
          "type": "str"
        },
        {
          "default": null,
          "enum": null,
          "name": "sort",
          "required": false,
          "type": "str"
        },
        {
          "default": null,
          "enum": null,
          "name": "order",
          "required": false,
          "type": "str"
        }
      ],
      "agent_example": "mammoth support identity list",
      "command_id": "support.identity.list",
      "contract_level": "typed",
      "description": "List identities (users across workspaces).",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth support identity list --help",
      "notes": [],
      "positionals": [],
      "request_model": "SupportIdentityListRequest",
      "result_model": "SupportIdentityListResult",
      "runnable_example": "mammoth support identity list"
    },
    "support ownership transfer": {
      "accepted_fields": [
        {
          "default": "workspace_owner",
          "enum": null,
          "name": "new_role",
          "required": false,
          "type": "str"
        },
        {
          "default": null,
          "enum": null,
          "name": "remove_role",
          "required": false,
          "type": "str"
        }
      ],
      "agent_example": "mammoth support ownership transfer 123 456 --yes --confirm 123",
      "command_id": "support.ownership.transfer",
      "contract_level": "typed",
      "description": "Transfer ownership of a workspace. Workspace id is positional.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth support ownership transfer WORKSPACE_ID USER_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the workspace.",
          "metavar": "WORKSPACE_ID",
          "name": "workspace_id",
          "required": true,
          "type": "int"
        },
        {
          "falls_back_to_field": null,
          "help": "ID of the user.",
          "metavar": "USER_ID",
          "name": "user_id",
          "required": true,
          "type": "int"
        }
      ],
      "request_model": "SupportOwnershipTransferRequest",
      "result_model": "SupportOwnershipTransferResult",
      "runnable_example": "mammoth support ownership transfer 123 456 --yes --confirm 123"
    },
    "support partner activity": {
      "accepted_fields": [],
      "agent_example": "mammoth support partner activity 123",
      "command_id": "support.partner.activity",
      "contract_level": "typed",
      "description": "List a partner's activity log.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth support partner activity PARTNER_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the partner.",
          "metavar": "PARTNER_ID",
          "name": "partner_id",
          "required": true,
          "type": "int"
        }
      ],
      "request_model": "SupportPartnerActivityRequest",
      "result_model": "SupportPartnerActivityResult",
      "runnable_example": "mammoth support partner activity 123"
    },
    "support partner billing": {
      "accepted_fields": [],
      "agent_example": "mammoth support partner billing 123",
      "command_id": "support.partner.billing",
      "contract_level": "typed",
      "description": "Show a partner's billing summary.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth support partner billing PARTNER_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the partner.",
          "metavar": "PARTNER_ID",
          "name": "partner_id",
          "required": true,
          "type": "int"
        }
      ],
      "request_model": "SupportPartnerBillingRequest",
      "result_model": "SupportPartnerBillingResult",
      "runnable_example": "mammoth support partner billing 123"
    },
    "support partner charge-invoices": {
      "accepted_fields": [],
      "agent_example": "mammoth support partner charge-invoices 123 --yes --confirm 123",
      "command_id": "support.partner.charge-invoices",
      "contract_level": "typed",
      "description": "Charge a partner's open invoices now. Partner id is positional.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth support partner charge-invoices PARTNER_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the partner.",
          "metavar": "PARTNER_ID",
          "name": "partner_id",
          "required": true,
          "type": "int"
        }
      ],
      "request_model": "SupportPartnerChargeInvoicesRequest",
      "result_model": "SupportPartnerChargeInvoicesResult",
      "runnable_example": "mammoth support partner charge-invoices 123 --yes --confirm 123"
    },
    "support partner client cancel-detach": {
      "accepted_fields": [],
      "agent_example": "mammoth support partner client cancel-detach 123 456 --yes --confirm 456",
      "command_id": "support.partner.client.cancel-detach",
      "contract_level": "typed",
      "description": "Cancel a client workspace's pending detach. Partner id and workspace id are positional.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth support partner client cancel-detach PARTNER_ID WORKSPACE_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the partner.",
          "metavar": "PARTNER_ID",
          "name": "partner_id",
          "required": true,
          "type": "int"
        },
        {
          "falls_back_to_field": null,
          "help": "ID of the workspace.",
          "metavar": "WORKSPACE_ID",
          "name": "workspace_id",
          "required": true,
          "type": "int"
        }
      ],
      "request_model": "SupportPartnerClientCancelDetachRequest",
      "result_model": "SupportPartnerClientCancelDetachResult",
      "runnable_example": "mammoth support partner client cancel-detach 123 456 --yes --confirm 456"
    },
    "support partner client delete": {
      "accepted_fields": [],
      "agent_example": "mammoth support partner client delete 123 456 --yes --confirm 456",
      "command_id": "support.partner.client.delete",
      "contract_level": "typed",
      "description": "Delete a client workspace of a partner. Partner id and workspace id are positional.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth support partner client delete PARTNER_ID WORKSPACE_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the partner.",
          "metavar": "PARTNER_ID",
          "name": "partner_id",
          "required": true,
          "type": "int"
        },
        {
          "falls_back_to_field": null,
          "help": "ID of the workspace.",
          "metavar": "WORKSPACE_ID",
          "name": "workspace_id",
          "required": true,
          "type": "int"
        }
      ],
      "request_model": "SupportPartnerClientDeleteRequest",
      "result_model": "SupportPartnerClientDeleteResult",
      "runnable_example": "mammoth support partner client delete 123 456 --yes --confirm 456"
    },
    "support partner client detach": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "price",
          "required": true,
          "type": "float"
        },
        {
          "default": null,
          "enum": null,
          "name": "contact_email",
          "required": true,
          "type": "str"
        },
        {
          "default": null,
          "enum": null,
          "name": "billing_interval",
          "required": false,
          "type": "str"
        },
        {
          "default": null,
          "enum": null,
          "name": "collection_method",
          "required": false,
          "type": "str"
        },
        {
          "default": null,
          "enum": null,
          "name": "currency",
          "required": false,
          "type": "str"
        },
        {
          "default": null,
          "enum": null,
          "name": "base_plan_id",
          "required": false,
          "type": "int"
        },
        {
          "default": null,
          "enum": null,
          "name": "ent_overrides",
          "required": false,
          "type": "dict[str, any]"
        },
        {
          "default": null,
          "enum": null,
          "name": "custom_connectors",
          "required": false,
          "type": "list[str]"
        },
        {
          "default": null,
          "enum": null,
          "name": "contract_start",
          "required": false,
          "type": "str"
        },
        {
          "default": null,
          "enum": null,
          "name": "contract_end",
          "required": false,
          "type": "str"
        },
        {
          "default": null,
          "enum": null,
          "name": "trial_end",
          "required": false,
          "type": "str"
        },
        {
          "default": null,
          "enum": null,
          "name": "payment_terms",
          "required": false,
          "type": "str"
        },
        {
          "default": null,
          "enum": null,
          "name": "notes",
          "required": false,
          "type": "str"
        },
        {
          "default": null,
          "enum": null,
          "name": "contact_name",
          "required": false,
          "type": "str"
        }
      ],
      "agent_example": "mammoth support partner client detach 123 456 --input '{\"price\": 900.0, \"contact_email\": \"owner@example.com\"}' --yes --confirm 456",
      "command_id": "support.partner.client.detach",
      "contract_level": "typed",
      "description": "Detach a partner client workspace into a direct deal. Both ids are positional.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth support partner client detach PARTNER_ID WORKSPACE_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the partner.",
          "metavar": "PARTNER_ID",
          "name": "partner_id",
          "required": true,
          "type": "int"
        },
        {
          "falls_back_to_field": null,
          "help": "ID of the workspace.",
          "metavar": "WORKSPACE_ID",
          "name": "workspace_id",
          "required": true,
          "type": "int"
        }
      ],
      "request_model": "SupportPartnerClientDetachRequest",
      "result_model": "SupportPartnerClientDetachResult",
      "runnable_example": "mammoth support partner client detach 123 456 --input '{\"price\": 900.0, \"contact_email\": \"owner@example.com\"}' --yes --confirm 456"
    },
    "support partner client list": {
      "accepted_fields": [],
      "agent_example": "mammoth support partner client list 123",
      "command_id": "support.partner.client.list",
      "contract_level": "typed",
      "description": "List a partner's client workspaces.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth support partner client list PARTNER_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the partner.",
          "metavar": "PARTNER_ID",
          "name": "partner_id",
          "required": true,
          "type": "int"
        }
      ],
      "request_model": "SupportPartnerClientListRequest",
      "result_model": "SupportPartnerClientListResult",
      "runnable_example": "mammoth support partner client list 123"
    },
    "support partner create": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "name",
          "required": false,
          "type": "str"
        },
        {
          "default": null,
          "enum": null,
          "name": "contact_name",
          "required": false,
          "type": "str"
        },
        {
          "default": null,
          "enum": null,
          "name": "contact_email",
          "required": false,
          "type": "str"
        },
        {
          "default": null,
          "enum": null,
          "name": "payment_terms",
          "required": false,
          "type": "str"
        },
        {
          "default": null,
          "enum": null,
          "name": "billing_method",
          "required": false,
          "type": "str"
        },
        {
          "default": null,
          "enum": null,
          "name": "notes",
          "required": false,
          "type": "str"
        }
      ],
      "agent_example": "mammoth support partner create 'Revenue report' --yes --confirm 'Revenue report'",
      "command_id": "support.partner.create",
      "contract_level": "typed",
      "description": "Create a partner. Name comes from a positional or the 'name' field.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth support partner create --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": "name",
          "help": "Name of the new partner; or pass it via the 'name' input field.",
          "metavar": "NAME",
          "name": "name",
          "required": false,
          "type": "str"
        }
      ],
      "request_model": "SupportPartnerCreateRequest",
      "result_model": "SupportPartnerCreateResult",
      "runnable_example": "mammoth support partner create 'Revenue report' --yes --confirm 'Revenue report'"
    },
    "support partner get": {
      "accepted_fields": [],
      "agent_example": "mammoth support partner get 123",
      "command_id": "support.partner.get",
      "contract_level": "typed",
      "description": "Get one partner by id.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth support partner get PARTNER_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the partner.",
          "metavar": "PARTNER_ID",
          "name": "partner_id",
          "required": true,
          "type": "int"
        }
      ],
      "request_model": "SupportPartnerGetRequest",
      "result_model": "SupportPartnerGetResult",
      "runnable_example": "mammoth support partner get 123"
    },
    "support partner invoices": {
      "accepted_fields": [],
      "agent_example": "mammoth support partner invoices 123",
      "command_id": "support.partner.invoices",
      "contract_level": "typed",
      "description": "List a partner's invoices.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth support partner invoices PARTNER_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the partner.",
          "metavar": "PARTNER_ID",
          "name": "partner_id",
          "required": true,
          "type": "int"
        }
      ],
      "request_model": "SupportPartnerInvoicesRequest",
      "result_model": "SupportPartnerInvoicesResult",
      "runnable_example": "mammoth support partner invoices 123"
    },
    "support partner list": {
      "accepted_fields": [],
      "agent_example": "mammoth support partner list",
      "command_id": "support.partner.list",
      "contract_level": "typed",
      "description": "List all partners.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth support partner list --help",
      "notes": [],
      "positionals": [],
      "request_model": "SupportPartnerListRequest",
      "result_model": "SupportPartnerListResult",
      "runnable_example": "mammoth support partner list"
    },
    "support partner send-payment-link": {
      "accepted_fields": [],
      "agent_example": "mammoth support partner send-payment-link 123 --yes --confirm 123",
      "command_id": "support.partner.send-payment-link",
      "contract_level": "typed",
      "description": "Email a partner its payment link. Partner id is positional.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth support partner send-payment-link PARTNER_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the partner.",
          "metavar": "PARTNER_ID",
          "name": "partner_id",
          "required": true,
          "type": "int"
        }
      ],
      "request_model": "SupportPartnerSendPaymentLinkRequest",
      "result_model": "SupportPartnerSendPaymentLinkResult",
      "runnable_example": "mammoth support partner send-payment-link 123 --yes --confirm 123"
    },
    "support partner update": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "name",
          "required": false,
          "type": "str"
        },
        {
          "default": null,
          "enum": null,
          "name": "contact_name",
          "required": false,
          "type": "str"
        },
        {
          "default": null,
          "enum": null,
          "name": "contact_email",
          "required": false,
          "type": "str"
        },
        {
          "default": null,
          "enum": null,
          "name": "payment_terms",
          "required": false,
          "type": "str"
        },
        {
          "default": null,
          "enum": null,
          "name": "billing_method",
          "required": false,
          "type": "str"
        },
        {
          "default": null,
          "enum": null,
          "name": "status",
          "required": false,
          "type": "str"
        },
        {
          "default": null,
          "enum": null,
          "name": "notes",
          "required": false,
          "type": "str"
        }
      ],
      "agent_example": "mammoth support partner update 123 --input '{\"notes\": \"Prefers invoices\"}' --yes --confirm 123",
      "command_id": "support.partner.update",
      "contract_level": "typed",
      "description": "Update a partner. Partner id is positional; the changes come from `--input`.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth support partner update PARTNER_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the partner.",
          "metavar": "PARTNER_ID",
          "name": "partner_id",
          "required": true,
          "type": "int"
        }
      ],
      "request_model": "SupportPartnerUpdateRequest",
      "result_model": "SupportPartnerUpdateResult",
      "runnable_example": "mammoth support partner update 123 --input '{\"notes\": \"Prefers invoices\"}' --yes --confirm 123"
    },
    "support plan archive": {
      "accepted_fields": [],
      "agent_example": "mammoth support plan archive 123 --yes --confirm 123",
      "command_id": "support.plan.archive",
      "contract_level": "typed",
      "description": "Archive one subscription plan by id.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth support plan archive PLAN_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the plan.",
          "metavar": "PLAN_ID",
          "name": "plan_id",
          "required": true,
          "type": "int"
        }
      ],
      "request_model": "SupportPlanArchiveRequest",
      "result_model": "SupportPlanArchiveResult",
      "runnable_example": "mammoth support plan archive 123 --yes --confirm 123"
    },
    "support plan catalog": {
      "accepted_fields": [],
      "agent_example": "mammoth support plan catalog",
      "command_id": "support.plan.catalog",
      "contract_level": "typed",
      "description": "List the plans catalog with the entitlement values each plan carries.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth support plan catalog --help",
      "notes": [],
      "positionals": [],
      "request_model": "SupportPlanCatalogRequest",
      "result_model": "SupportPlanCatalogResult",
      "runnable_example": "mammoth support plan catalog"
    },
    "support plan chargebee-list": {
      "accepted_fields": [
        {
          "default": "plans",
          "enum": null,
          "name": "resource",
          "required": false,
          "type": "str"
        }
      ],
      "agent_example": "mammoth support plan chargebee-list",
      "command_id": "support.plan.chargebee-list",
      "contract_level": "typed",
      "description": "List available Chargebee plans/resources.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth support plan chargebee-list --help",
      "notes": [],
      "positionals": [],
      "request_model": "SupportPlanChargebeeListRequest",
      "result_model": "SupportPlanChargebeeListResult",
      "runnable_example": "mammoth support plan chargebee-list"
    },
    "support plan create": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "name",
          "required": false,
          "type": "str"
        },
        {
          "default": null,
          "enum": null,
          "name": "monthly_price",
          "required": true,
          "type": "float"
        },
        {
          "default": null,
          "enum": null,
          "name": "is_self_serve",
          "required": true,
          "type": "bool"
        },
        {
          "default": null,
          "enum": null,
          "name": "display_name",
          "required": false,
          "type": "str"
        },
        {
          "default": null,
          "enum": null,
          "name": "description",
          "required": false,
          "type": "str"
        },
        {
          "default": null,
          "enum": null,
          "name": "annual_price",
          "required": false,
          "type": "float"
        },
        {
          "default": false,
          "enum": null,
          "name": "annual_only",
          "required": false,
          "type": "bool"
        },
        {
          "default": null,
          "enum": null,
          "name": "trial_days",
          "required": false,
          "type": "int"
        },
        {
          "default": 0,
          "enum": null,
          "name": "storage_amount",
          "required": false,
          "type": "int"
        },
        {
          "default": null,
          "enum": null,
          "name": "max_storage",
          "required": false,
          "type": "int"
        },
        {
          "default": null,
          "enum": null,
          "name": "max_users",
          "required": false,
          "type": "int"
        },
        {
          "default": null,
          "enum": null,
          "name": "no_of_users",
          "required": false,
          "type": "int"
        },
        {
          "default": null,
          "enum": null,
          "name": "seat_price",
          "required": false,
          "type": "float"
        },
        {
          "default": 1,
          "enum": null,
          "name": "number_of_tiers",
          "required": false,
          "type": "int"
        },
        {
          "default": null,
          "enum": null,
          "name": "storage_block_size",
          "required": false,
          "type": "int"
        },
        {
          "default": null,
          "enum": null,
          "name": "tiers",
          "required": false,
          "type": "list[dict[str, any]]"
        },
        {
          "default": null,
          "enum": null,
          "name": "connector_profile_id",
          "required": false,
          "type": "int"
        },
        {
          "default": null,
          "enum": null,
          "name": "feature_profile_id",
          "required": false,
          "type": "int"
        }
      ],
      "agent_example": "mammoth support plan create 'Revenue report' --input '{\"monthly_price\": 1.0, \"is_self_serve\": true}' --yes --confirm 'Revenue report'",
      "command_id": "support.plan.create",
      "contract_level": "typed",
      "description": "Create a subscription plan. Name is positional; required fields from '--input'.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth support plan create --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": "name",
          "help": "Name of the new plan; or pass it via the 'name' input field.",
          "metavar": "NAME",
          "name": "name",
          "required": false,
          "type": "str"
        }
      ],
      "request_model": "SupportPlanCreateRequest",
      "result_model": "SupportPlanCreateResult",
      "runnable_example": "mammoth support plan create 'Revenue report' --input '{\"monthly_price\": 1.0, \"is_self_serve\": true}' --yes --confirm 'Revenue report'"
    },
    "support plan delete": {
      "accepted_fields": [],
      "agent_example": "mammoth support plan delete 123 --yes --confirm 123",
      "command_id": "support.plan.delete",
      "contract_level": "typed",
      "description": "Delete one subscription plan by id.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth support plan delete PLAN_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the plan.",
          "metavar": "PLAN_ID",
          "name": "plan_id",
          "required": true,
          "type": "int"
        }
      ],
      "request_model": "SupportPlanDeleteRequest",
      "result_model": "SupportPlanDeleteResult",
      "runnable_example": "mammoth support plan delete 123 --yes --confirm 123"
    },
    "support plan get": {
      "accepted_fields": [],
      "agent_example": "mammoth support plan get 123",
      "command_id": "support.plan.get",
      "contract_level": "typed",
      "description": "Get one subscription plan by id.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth support plan get PLAN_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the plan.",
          "metavar": "PLAN_ID",
          "name": "plan_id",
          "required": true,
          "type": "int"
        }
      ],
      "request_model": "SupportPlanGetRequest",
      "result_model": "SupportPlanGetResult",
      "runnable_example": "mammoth support plan get 123"
    },
    "support plan list": {
      "accepted_fields": [],
      "agent_example": "mammoth support plan list",
      "command_id": "support.plan.list",
      "contract_level": "typed",
      "description": "List all subscription plans.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth support plan list --help",
      "notes": [],
      "positionals": [],
      "request_model": "SupportPlanListRequest",
      "result_model": "SupportPlanListResult",
      "runnable_example": "mammoth support plan list"
    },
    "support plan self-serve-list": {
      "accepted_fields": [],
      "agent_example": "mammoth support plan self-serve-list",
      "command_id": "support.plan.self-serve-list",
      "contract_level": "typed",
      "description": "List self-serve subscription plans.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth support plan self-serve-list --help",
      "notes": [],
      "positionals": [],
      "request_model": "SupportPlanSelfServeListRequest",
      "result_model": "SupportPlanSelfServeListResult",
      "runnable_example": "mammoth support plan self-serve-list"
    },
    "support plan storage-option archive": {
      "accepted_fields": [],
      "agent_example": "mammoth support plan storage-option archive 123 456 --yes --confirm 456",
      "command_id": "support.plan.storage-option.archive",
      "contract_level": "typed",
      "description": "Platform admin only: archive one storage option of a plan (never deleted).",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth support plan storage-option archive PLAN_ID OPTION_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the plan.",
          "metavar": "PLAN_ID",
          "name": "plan_id",
          "required": true,
          "type": "int"
        },
        {
          "falls_back_to_field": null,
          "help": "ID of the option.",
          "metavar": "OPTION_ID",
          "name": "option_id",
          "required": true,
          "type": "int"
        }
      ],
      "request_model": "SupportPlanStorageOptionArchiveRequest",
      "result_model": "SupportPlanStorageOptionArchiveResult",
      "runnable_example": "mammoth support plan storage-option archive 123 456 --yes --confirm 456"
    },
    "support plan storage-option create": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "storage_gb",
          "required": true,
          "type": "int"
        },
        {
          "default": null,
          "enum": null,
          "name": "monthly_price",
          "required": true,
          "type": "float"
        },
        {
          "default": null,
          "enum": null,
          "name": "annual_price",
          "required": true,
          "type": "float"
        }
      ],
      "agent_example": "mammoth support plan storage-option create 123 --input '{\"storage_gb\": 1, \"monthly_price\": 1.0, \"annual_price\": 1.0}' --yes --confirm 123",
      "command_id": "support.plan.storage-option.create",
      "contract_level": "typed",
      "description": "Platform admin only: add a storage option (total GB and prices) to a plan.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth support plan storage-option create PLAN_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the plan.",
          "metavar": "PLAN_ID",
          "name": "plan_id",
          "required": true,
          "type": "int"
        }
      ],
      "request_model": "SupportPlanStorageOptionCreateRequest",
      "result_model": "SupportPlanStorageOptionCreateResult",
      "runnable_example": "mammoth support plan storage-option create 123 --input '{\"storage_gb\": 1, \"monthly_price\": 1.0, \"annual_price\": 1.0}' --yes --confirm 123"
    },
    "support plan storage-option list": {
      "accepted_fields": [],
      "agent_example": "mammoth support plan storage-option list 123",
      "command_id": "support.plan.storage-option.list",
      "contract_level": "typed",
      "description": "Platform admin only: list a plan's storage options, archived ones included.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth support plan storage-option list PLAN_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the plan.",
          "metavar": "PLAN_ID",
          "name": "plan_id",
          "required": true,
          "type": "int"
        }
      ],
      "request_model": "SupportPlanStorageOptionListRequest",
      "result_model": "SupportPlanStorageOptionListResult",
      "runnable_example": "mammoth support plan storage-option list 123"
    },
    "support plan storage-option update": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "storage_gb",
          "required": false,
          "type": "int"
        },
        {
          "default": null,
          "enum": null,
          "name": "monthly_price",
          "required": false,
          "type": "float"
        },
        {
          "default": null,
          "enum": null,
          "name": "annual_price",
          "required": false,
          "type": "float"
        }
      ],
      "agent_example": "mammoth support plan storage-option update 123 456 --yes --confirm 456",
      "command_id": "support.plan.storage-option.update",
      "contract_level": "typed",
      "description": "Platform admin only: re-price or resize one storage option of a plan.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth support plan storage-option update PLAN_ID OPTION_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the plan.",
          "metavar": "PLAN_ID",
          "name": "plan_id",
          "required": true,
          "type": "int"
        },
        {
          "falls_back_to_field": null,
          "help": "ID of the option.",
          "metavar": "OPTION_ID",
          "name": "option_id",
          "required": true,
          "type": "int"
        }
      ],
      "request_model": "SupportPlanStorageOptionUpdateRequest",
      "result_model": "SupportPlanStorageOptionUpdateResult",
      "runnable_example": "mammoth support plan storage-option update 123 456 --yes --confirm 456"
    },
    "support plan unarchive": {
      "accepted_fields": [],
      "agent_example": "mammoth support plan unarchive 123 --yes --confirm 123",
      "command_id": "support.plan.unarchive",
      "contract_level": "typed",
      "description": "Platform admin only: unarchive one subscription plan by id.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth support plan unarchive PLAN_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the plan.",
          "metavar": "PLAN_ID",
          "name": "plan_id",
          "required": true,
          "type": "int"
        }
      ],
      "request_model": "SupportPlanUnarchiveRequest",
      "result_model": "SupportPlanUnarchiveResult",
      "runnable_example": "mammoth support plan unarchive 123 --yes --confirm 123"
    },
    "support plan update": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "name",
          "required": false,
          "type": "str"
        },
        {
          "default": null,
          "enum": null,
          "name": "description",
          "required": false,
          "type": "str"
        },
        {
          "default": null,
          "enum": null,
          "name": "monthly_price",
          "required": false,
          "type": "float"
        },
        {
          "default": null,
          "enum": null,
          "name": "annual_price",
          "required": false,
          "type": "float"
        },
        {
          "default": null,
          "enum": null,
          "name": "annual_only",
          "required": false,
          "type": "bool"
        },
        {
          "default": null,
          "enum": null,
          "name": "is_self_serve",
          "required": false,
          "type": "bool"
        },
        {
          "default": null,
          "enum": null,
          "name": "trial_days",
          "required": false,
          "type": "int"
        },
        {
          "default": null,
          "enum": null,
          "name": "storage_amount",
          "required": false,
          "type": "int"
        },
        {
          "default": null,
          "enum": null,
          "name": "max_storage",
          "required": false,
          "type": "int"
        },
        {
          "default": null,
          "enum": null,
          "name": "max_users",
          "required": false,
          "type": "int"
        },
        {
          "default": null,
          "enum": null,
          "name": "no_of_users",
          "required": false,
          "type": "int"
        },
        {
          "default": null,
          "enum": null,
          "name": "seat_price",
          "required": false,
          "type": "float"
        },
        {
          "default": null,
          "enum": null,
          "name": "number_of_tiers",
          "required": false,
          "type": "int"
        },
        {
          "default": null,
          "enum": null,
          "name": "storage_block_size",
          "required": false,
          "type": "int"
        },
        {
          "default": null,
          "enum": null,
          "name": "tiers",
          "required": false,
          "type": "list[dict[str, any]]"
        },
        {
          "default": null,
          "enum": null,
          "name": "connector_profile_id",
          "required": false,
          "type": "int"
        },
        {
          "default": null,
          "enum": null,
          "name": "feature_profile_id",
          "required": false,
          "type": "int"
        }
      ],
      "agent_example": "mammoth support plan update 123 --yes --confirm 123",
      "command_id": "support.plan.update",
      "contract_level": "typed",
      "description": "Update a subscription plan. Plan id is positional; fields from '--input'.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth support plan update PLAN_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the plan.",
          "metavar": "PLAN_ID",
          "name": "plan_id",
          "required": true,
          "type": "int"
        }
      ],
      "request_model": "SupportPlanUpdateRequest",
      "result_model": "SupportPlanUpdateResult",
      "runnable_example": "mammoth support plan update 123 --yes --confirm 123"
    },
    "support plan update-entitlements": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "values",
          "required": true,
          "type": "dict[str, bool | int | str | None]"
        }
      ],
      "agent_example": "mammoth support plan update-entitlements 123 --input '{\"values\": {\"dashboardBranding\": \"no_branding\"}}' --yes --confirm 123",
      "command_id": "support.plan.update-entitlements",
      "contract_level": "typed",
      "description": "Edit a plan's entitlement values (its column of the entitlement matrix).",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth support plan update-entitlements PLAN_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the plan.",
          "metavar": "PLAN_ID",
          "name": "plan_id",
          "required": true,
          "type": "int"
        }
      ],
      "request_model": "SupportPlanUpdateEntitlementsRequest",
      "result_model": "SupportPlanUpdateEntitlementsResult",
      "runnable_example": "mammoth support plan update-entitlements 123 --input '{\"values\": {\"dashboardBranding\": \"no_branding\"}}' --yes --confirm 123"
    },
    "support plan update-storage-tiers": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "storage_tiers",
          "required": true,
          "type": "list[dict[str, any]]"
        }
      ],
      "agent_example": "mammoth support plan update-storage-tiers 123 --input '{\"storage_tiers\": [{\"name\": \"Status\"}]}' --yes --confirm 123",
      "command_id": "support.plan.update-storage-tiers",
      "contract_level": "typed",
      "description": "Replace a plan's storage pricing tiers. Plan id is positional.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth support plan update-storage-tiers PLAN_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the plan.",
          "metavar": "PLAN_ID",
          "name": "plan_id",
          "required": true,
          "type": "int"
        }
      ],
      "request_model": "SupportPlanUpdateStorageTiersRequest",
      "result_model": "SupportPlanUpdateStorageTiersResult",
      "runnable_example": "mammoth support plan update-storage-tiers 123 --input '{\"storage_tiers\": [{\"name\": \"Status\"}]}' --yes --confirm 123"
    },
    "support project-move get": {
      "accepted_fields": [],
      "agent_example": "mammoth support project-move get 123",
      "command_id": "support.project-move.get",
      "contract_level": "typed",
      "description": "Get a project move's status, error and progress.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth support project-move get MOVE_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the move.",
          "metavar": "MOVE_ID",
          "name": "move_id",
          "required": true,
          "type": "int"
        }
      ],
      "request_model": "SupportProjectMoveGetRequest",
      "result_model": "SupportProjectMoveGetResult",
      "runnable_example": "mammoth support project-move get 123"
    },
    "support project-move purge": {
      "accepted_fields": [],
      "agent_example": "mammoth support project-move purge 123 --yes --confirm 123",
      "command_id": "support.project-move.purge",
      "contract_level": "typed",
      "description": "Queue deleting the source copies a finished project move left behind.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth support project-move purge MOVE_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the move.",
          "metavar": "MOVE_ID",
          "name": "move_id",
          "required": true,
          "type": "int"
        }
      ],
      "request_model": "SupportProjectMovePurgeRequest",
      "result_model": "SupportProjectMovePurgeResult",
      "runnable_example": "mammoth support project-move purge 123 --yes --confirm 123"
    },
    "support search": {
      "accepted_fields": [
        {
          "default": "",
          "enum": null,
          "name": "q",
          "required": false,
          "type": "str"
        }
      ],
      "agent_example": "mammoth support search acme",
      "command_id": "support.search",
      "contract_level": "typed",
      "description": "Search workspaces, partners and users. The text is a positional or `q`.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth support search --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": "q",
          "help": "Text to search for (a workspace, user, deal or partner); or the 'q' field.",
          "metavar": "Q",
          "name": "q",
          "required": false,
          "type": "str"
        }
      ],
      "request_model": "SupportSearchRequest",
      "result_model": "SupportSearchResult",
      "runnable_example": "mammoth support search acme"
    },
    "support subscription create": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "customer_id",
          "required": false,
          "type": "str"
        },
        {
          "default": null,
          "enum": null,
          "name": "first_name",
          "required": false,
          "type": "str"
        },
        {
          "default": null,
          "enum": null,
          "name": "last_name",
          "required": false,
          "type": "str"
        },
        {
          "default": null,
          "enum": null,
          "name": "email",
          "required": false,
          "type": "str"
        },
        {
          "default": null,
          "enum": null,
          "name": "company_name",
          "required": false,
          "type": "str"
        }
      ],
      "agent_example": "mammoth support subscription create 123 resource-123 --yes --confirm 123",
      "command_id": "support.subscription.create",
      "contract_level": "typed",
      "description": "Register a workspace's Chargebee subscription. Workspace id is positional.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth support subscription create WORKSPACE_ID PLAN_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the workspace.",
          "metavar": "WORKSPACE_ID",
          "name": "workspace_id",
          "required": true,
          "type": "int"
        },
        {
          "falls_back_to_field": null,
          "help": "ID of the plan.",
          "metavar": "PLAN_ID",
          "name": "plan_id",
          "required": true,
          "type": "str"
        }
      ],
      "request_model": "SupportSubscriptionCreateRequest",
      "result_model": "SupportSubscriptionCreateResult",
      "runnable_example": "mammoth support subscription create 123 resource-123 --yes --confirm 123"
    },
    "support subscription get": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "fields",
          "required": false,
          "type": "str"
        }
      ],
      "agent_example": "mammoth support subscription get 123",
      "command_id": "support.subscription.get",
      "contract_level": "typed",
      "description": "Get a workspace's Chargebee subscription details. Workspace id is positional.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth support subscription get WORKSPACE_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the workspace.",
          "metavar": "WORKSPACE_ID",
          "name": "workspace_id",
          "required": true,
          "type": "int"
        }
      ],
      "request_model": "SupportSubscriptionGetRequest",
      "result_model": "SupportSubscriptionGetResult",
      "runnable_example": "mammoth support subscription get 123"
    },
    "support subscription update": {
      "accepted_fields": [],
      "agent_example": "mammoth support subscription update 123 resource-123 --yes --confirm 123",
      "command_id": "support.subscription.update",
      "contract_level": "typed",
      "description": "Update a workspace's Chargebee subscription id. Workspace id is positional.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth support subscription update WORKSPACE_ID SUBSCRIPTION_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the workspace.",
          "metavar": "WORKSPACE_ID",
          "name": "workspace_id",
          "required": true,
          "type": "int"
        },
        {
          "falls_back_to_field": null,
          "help": "ID of the subscription.",
          "metavar": "SUBSCRIPTION_ID",
          "name": "subscription_id",
          "required": true,
          "type": "str"
        }
      ],
      "request_model": "SupportSubscriptionUpdateRequest",
      "result_model": "SupportSubscriptionUpdateResult",
      "runnable_example": "mammoth support subscription update 123 resource-123 --yes --confirm 123"
    },
    "support template audit": {
      "accepted_fields": [],
      "agent_example": "mammoth support template audit",
      "command_id": "support.template.audit",
      "contract_level": "typed",
      "description": "Platform admin only: re-run every curated-catalog gate (read-only).",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth support template audit --help",
      "notes": [],
      "positionals": [],
      "request_model": "SupportTemplateAuditRequest",
      "result_model": "SupportTemplateAuditResult",
      "runnable_example": "mammoth support template audit"
    },
    "support template canvas": {
      "accepted_fields": [],
      "agent_example": "mammoth support template canvas revenue-overview",
      "command_id": "support.template.canvas",
      "contract_level": "typed",
      "description": "Platform admin only: read a curated template's canvas, drafts included.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth support template canvas SLUG --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "Curated template slug.",
          "metavar": "SLUG",
          "name": "slug",
          "required": true,
          "type": "str"
        }
      ],
      "request_model": "SupportTemplateCanvasRequest",
      "result_model": "SupportTemplateCanvasResult",
      "runnable_example": "mammoth support template canvas revenue-overview"
    },
    "support template data-preview": {
      "accepted_fields": [],
      "agent_example": "mammoth support template data-preview revenue-overview",
      "command_id": "support.template.data-preview",
      "contract_level": "typed",
      "description": "Platform admin only: read up to 50 rows of the data a curated template opens on.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth support template data-preview SLUG --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "Curated template slug.",
          "metavar": "SLUG",
          "name": "slug",
          "required": true,
          "type": "str"
        }
      ],
      "request_model": "SupportTemplateDataPreviewRequest",
      "result_model": "SupportTemplateDataPreviewResult",
      "runnable_example": "mammoth support template data-preview revenue-overview"
    },
    "support template discard": {
      "accepted_fields": [],
      "agent_example": "mammoth support template discard revenue-overview --yes --confirm revenue-overview",
      "command_id": "support.template.discard",
      "contract_level": "typed",
      "description": "Platform admin only: permanently remove a curated draft, its board and its data.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth support template discard SLUG --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "Curated template slug.",
          "metavar": "SLUG",
          "name": "slug",
          "required": true,
          "type": "str"
        }
      ],
      "request_model": "SupportTemplateDiscardRequest",
      "result_model": "SupportTemplateDiscardResult",
      "runnable_example": "mammoth support template discard revenue-overview --yes --confirm revenue-overview"
    },
    "support template edit": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "changes",
          "required": true,
          "type": "dict[str, any]"
        }
      ],
      "agent_example": "mammoth support template edit revenue-overview --input '{\"changes\": {\"name\": \"Status\"}}' --yes --confirm revenue-overview",
      "command_id": "support.template.edit",
      "contract_level": "typed",
      "description": "Platform admin only: edit a curated template's filing ('changes' from '--input').",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth support template edit SLUG --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "Curated template slug.",
          "metavar": "SLUG",
          "name": "slug",
          "required": true,
          "type": "str"
        }
      ],
      "request_model": "SupportTemplateEditRequest",
      "result_model": "SupportTemplateEditResult",
      "runnable_example": "mammoth support template edit revenue-overview --input '{\"changes\": {\"name\": \"Status\"}}' --yes --confirm revenue-overview"
    },
    "support template export": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "output_path",
          "required": false,
          "type": "str | pathlib.Path | None"
        },
        {
          "default": false,
          "enum": null,
          "name": "with_data",
          "required": false,
          "type": "bool"
        }
      ],
      "agent_example": "mammoth support template export revenue-overview",
      "command_id": "support.template.export",
      "contract_level": "typed",
      "description": "Platform admin only: download a curated template as a .zip template file.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth support template export SLUG --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "Curated template slug.",
          "metavar": "SLUG",
          "name": "slug",
          "required": true,
          "type": "str"
        }
      ],
      "request_model": "SupportTemplateExportRequest",
      "result_model": "SupportTemplateExportResult",
      "runnable_example": "mammoth support template export revenue-overview"
    },
    "support template export-dashboard": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "slug",
          "required": true,
          "type": "str"
        },
        {
          "default": null,
          "enum": null,
          "name": "output_path",
          "required": false,
          "type": "str | pathlib.Path | None"
        },
        {
          "default": true,
          "enum": null,
          "name": "with_data",
          "required": false,
          "type": "bool"
        }
      ],
      "agent_example": "mammoth support template export-dashboard 123 --input '{\"slug\": \"revenue-overview\"}'",
      "command_id": "support.template.export-dashboard",
      "contract_level": "typed",
      "description": "Platform admin only: download a dashboard you can edit as a .zip template file.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth support template export-dashboard DASHBOARD_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the dashboard.",
          "metavar": "DASHBOARD_ID",
          "name": "dashboard_id",
          "required": true,
          "type": "int"
        }
      ],
      "request_model": "SupportTemplateExportDashboardRequest",
      "result_model": "SupportTemplateExportDashboardResult",
      "runnable_example": "mammoth support template export-dashboard 123 --input '{\"slug\": \"revenue-overview\"}'"
    },
    "support template import": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "dataset",
          "required": false,
          "type": "str"
        }
      ],
      "agent_example": "mammoth support template import template.zip --yes",
      "command_id": "support.template.import",
      "contract_level": "typed",
      "description": "Platform admin only: import a template file (.zip) as a curated draft. '--yes' required.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth support template import FILE --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "Path to a local template file (.zip).",
          "kind": "local_path",
          "metavar": "FILE",
          "name": "file",
          "required": true,
          "type": "str"
        }
      ],
      "request_model": "SupportTemplateImportRequest",
      "result_model": "SupportTemplateImportResult",
      "runnable_example": "mammoth support template import template.zip --yes"
    },
    "support template inspect": {
      "accepted_fields": [],
      "agent_example": "mammoth support template inspect template.zip",
      "command_id": "support.template.inspect",
      "contract_level": "typed",
      "description": "Platform admin only: read a template file (.zip) without importing it.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth support template inspect FILE --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "Path to a local template file (.zip).",
          "kind": "local_path",
          "metavar": "FILE",
          "name": "file",
          "required": true,
          "type": "str"
        }
      ],
      "request_model": "SupportTemplateInspectRequest",
      "result_model": "SupportTemplateInspectResult",
      "runnable_example": "mammoth support template inspect template.zip"
    },
    "support template list": {
      "accepted_fields": [],
      "agent_example": "mammoth support template list",
      "command_id": "support.template.list",
      "contract_level": "typed",
      "description": "Platform admin only: list every curated template, drafts and faults first.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth support template list --help",
      "notes": [],
      "positionals": [],
      "request_model": "SupportTemplateListRequest",
      "result_model": "SupportTemplateListResult",
      "runnable_example": "mammoth support template list"
    },
    "support template publish": {
      "accepted_fields": [],
      "agent_example": "mammoth support template publish revenue-overview --yes --confirm revenue-overview",
      "command_id": "support.template.publish",
      "contract_level": "typed",
      "description": "Platform admin only: take a curated draft live in every customer's gallery.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth support template publish SLUG --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "Curated template slug.",
          "metavar": "SLUG",
          "name": "slug",
          "required": true,
          "type": "str"
        }
      ],
      "request_model": "SupportTemplatePublishRequest",
      "result_model": "SupportTemplatePublishResult",
      "runnable_example": "mammoth support template publish revenue-overview --yes --confirm revenue-overview"
    },
    "support template retire": {
      "accepted_fields": [],
      "agent_example": "mammoth support template retire revenue-overview --yes --confirm revenue-overview",
      "command_id": "support.template.retire",
      "contract_level": "typed",
      "description": "Platform admin only: retire a curated template (kept, no longer offered).",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth support template retire SLUG --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "Curated template slug.",
          "metavar": "SLUG",
          "name": "slug",
          "required": true,
          "type": "str"
        }
      ],
      "request_model": "SupportTemplateRetireRequest",
      "result_model": "SupportTemplateRetireResult",
      "runnable_example": "mammoth support template retire revenue-overview --yes --confirm revenue-overview"
    },
    "support template snapshots": {
      "accepted_fields": [],
      "agent_example": "mammoth support template snapshots",
      "command_id": "support.template.snapshots",
      "contract_level": "typed",
      "description": "Platform admin only: list every stored dataset the template catalog holds.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth support template snapshots --help",
      "notes": [],
      "positionals": [],
      "request_model": "SupportTemplateSnapshotsRequest",
      "result_model": "SupportTemplateSnapshotsResult",
      "runnable_example": "mammoth support template snapshots"
    },
    "support template thumbnail clear": {
      "accepted_fields": [],
      "agent_example": "mammoth support template thumbnail clear revenue-overview --yes --confirm revenue-overview",
      "command_id": "support.template.thumbnail.clear",
      "contract_level": "typed",
      "description": "Platform admin only: remove a curated template's picture.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth support template thumbnail clear SLUG --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "Curated template slug.",
          "metavar": "SLUG",
          "name": "slug",
          "required": true,
          "type": "str"
        }
      ],
      "request_model": "SupportTemplateThumbnailClearRequest",
      "result_model": "SupportTemplateThumbnailClearResult",
      "runnable_example": "mammoth support template thumbnail clear revenue-overview --yes --confirm revenue-overview"
    },
    "support template thumbnail set": {
      "accepted_fields": [],
      "agent_example": "mammoth support template thumbnail set revenue-overview card.png --yes --confirm revenue-overview",
      "command_id": "support.template.thumbnail.set",
      "contract_level": "typed",
      "description": "Platform admin only: upload or replace a curated template's picture from FILE.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth support template thumbnail set SLUG FILE --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "Curated template slug.",
          "metavar": "SLUG",
          "name": "slug",
          "required": true,
          "type": "str"
        },
        {
          "falls_back_to_field": null,
          "help": "Path to a local PNG, JPEG or WebP image (1 MB at most).",
          "kind": "local_path",
          "metavar": "FILE",
          "name": "file",
          "required": true,
          "type": "str"
        }
      ],
      "request_model": "SupportTemplateThumbnailSetRequest",
      "result_model": "SupportTemplateThumbnailSetResult",
      "runnable_example": "mammoth support template thumbnail set revenue-overview card.png --yes --confirm revenue-overview"
    },
    "support template unpublish": {
      "accepted_fields": [],
      "agent_example": "mammoth support template unpublish revenue-overview --yes --confirm revenue-overview",
      "command_id": "support.template.unpublish",
      "contract_level": "typed",
      "description": "Platform admin only: take a live or retired curated template back to draft.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth support template unpublish SLUG --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "Curated template slug.",
          "metavar": "SLUG",
          "name": "slug",
          "required": true,
          "type": "str"
        }
      ],
      "request_model": "SupportTemplateUnpublishRequest",
      "result_model": "SupportTemplateUnpublishResult",
      "runnable_example": "mammoth support template unpublish revenue-overview --yes --confirm revenue-overview"
    },
    "support triage": {
      "accepted_fields": [],
      "agent_example": "mammoth support triage",
      "command_id": "support.triage",
      "contract_level": "typed",
      "description": "Show the triage queue: what needs attention.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth support triage --help",
      "notes": [],
      "positionals": [],
      "request_model": "SupportTriageRequest",
      "result_model": "SupportTriageResult",
      "runnable_example": "mammoth support triage"
    },
    "support usage-tiles": {
      "accepted_fields": [],
      "agent_example": "mammoth support usage-tiles",
      "command_id": "support.usage-tiles",
      "contract_level": "typed",
      "description": "Show the usage tiles.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth support usage-tiles --help",
      "notes": [],
      "positionals": [],
      "request_model": "SupportUsageTilesRequest",
      "result_model": "SupportUsageTilesResult",
      "runnable_example": "mammoth support usage-tiles"
    },
    "support user list-all": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "fields",
          "required": false,
          "type": "str"
        },
        {
          "default": null,
          "enum": null,
          "name": "sort",
          "required": false,
          "type": "str"
        },
        {
          "default": null,
          "enum": null,
          "name": "offset",
          "required": false,
          "type": "int"
        },
        {
          "default": null,
          "enum": null,
          "name": "limit",
          "required": false,
          "type": "int"
        }
      ],
      "agent_example": "mammoth support user list-all",
      "command_id": "support.user.list-all",
      "contract_level": "typed",
      "description": "List users across workspaces.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth support user list-all --help",
      "notes": [],
      "positionals": [],
      "request_model": "SupportUserListAllRequest",
      "result_model": "SupportUserListAllResult",
      "runnable_example": "mammoth support user list-all"
    },
    "support user register": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "email",
          "required": false,
          "type": "str"
        },
        {
          "default": null,
          "enum": null,
          "name": "first_name",
          "required": true,
          "type": "str"
        },
        {
          "default": null,
          "enum": null,
          "name": "last_name",
          "required": true,
          "type": "str"
        },
        {
          "default": null,
          "enum": null,
          "name": "verified",
          "required": true,
          "type": "bool"
        },
        {
          "default": null,
          "enum": null,
          "name": "is_registration",
          "required": false,
          "type": "bool"
        }
      ],
      "agent_example": "mammoth support user register analyst@example.com --input '{\"first_name\": \"Revenue report\", \"last_name\": \"Revenue report\", \"verified\": true}' --yes --confirm analyst@example.com",
      "command_id": "support.user.register",
      "contract_level": "typed",
      "description": "Register a new user. Email is positional; required fields from '--input'.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth support user register --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": "email",
          "help": "Email of the user to register; or pass it via the 'email' input field.",
          "metavar": "EMAIL",
          "name": "email",
          "required": false,
          "type": "str"
        }
      ],
      "request_model": "SupportUserRegisterRequest",
      "result_model": "SupportUserRegisterResult",
      "runnable_example": "mammoth support user register analyst@example.com --input '{\"first_name\": \"Revenue report\", \"last_name\": \"Revenue report\", \"verified\": true}' --yes --confirm analyst@example.com"
    },
    "support user update": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "email",
          "required": false,
          "type": "str"
        },
        {
          "default": null,
          "enum": null,
          "name": "verified",
          "required": true,
          "type": "bool"
        },
        {
          "default": null,
          "enum": null,
          "name": "is_registration",
          "required": false,
          "type": "bool"
        }
      ],
      "agent_example": "mammoth support user update analyst@example.com --input '{\"verified\": true}' --yes --confirm analyst@example.com",
      "command_id": "support.user.update",
      "contract_level": "typed",
      "description": "Update a user's verification status. Email is positional.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth support user update --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": "email",
          "help": "Email of the user to update; or pass it via the 'email' input field.",
          "metavar": "EMAIL",
          "name": "email",
          "required": false,
          "type": "str"
        }
      ],
      "request_model": "SupportUserUpdateRequest",
      "result_model": "SupportUserUpdateResult",
      "runnable_example": "mammoth support user update analyst@example.com --input '{\"verified\": true}' --yes --confirm analyst@example.com"
    },
    "support workspace activity": {
      "accepted_fields": [],
      "agent_example": "mammoth support workspace activity 123",
      "command_id": "support.workspace.activity",
      "contract_level": "typed",
      "description": "List a workspace's activity log.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth support workspace activity WORKSPACE_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the workspace.",
          "metavar": "WORKSPACE_ID",
          "name": "workspace_id",
          "required": true,
          "type": "int"
        }
      ],
      "request_model": "SupportWorkspaceActivityRequest",
      "result_model": "SupportWorkspaceActivityResult",
      "runnable_example": "mammoth support workspace activity 123"
    },
    "support workspace archive": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "storage_class",
          "required": true,
          "type": "str"
        },
        {
          "default": null,
          "enum": null,
          "name": "confirm_name",
          "required": true,
          "type": "str"
        },
        {
          "default": null,
          "enum": null,
          "name": "reason",
          "required": false,
          "type": "str"
        },
        {
          "default": false,
          "enum": null,
          "name": "cancel_billing",
          "required": false,
          "type": "bool"
        }
      ],
      "agent_example": "mammoth support workspace archive 123 --input '{\"storage_class\": \"GLACIER_IR\", \"confirm_name\": \"Revenue report\", \"reason\": \"Customer left\"}' --yes --confirm 123",
      "command_id": "support.workspace.archive",
      "contract_level": "typed",
      "description": "Archive a workspace to cold storage. `confirm_name` must be the workspace's name.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth support workspace archive WORKSPACE_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the workspace.",
          "metavar": "WORKSPACE_ID",
          "name": "workspace_id",
          "required": true,
          "type": "int"
        }
      ],
      "request_model": "SupportWorkspaceArchiveRequest",
      "result_model": "SupportWorkspaceArchiveResult",
      "runnable_example": "mammoth support workspace archive 123 --input '{\"storage_class\": \"GLACIER_IR\", \"confirm_name\": \"Revenue report\", \"reason\": \"Customer left\"}' --yes --confirm 123"
    },
    "support workspace archive-info": {
      "accepted_fields": [],
      "agent_example": "mammoth support workspace archive-info 123",
      "command_id": "support.workspace.archive-info",
      "contract_level": "typed",
      "description": "Show what archiving a workspace would do, and its archive state.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth support workspace archive-info WORKSPACE_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the workspace.",
          "metavar": "WORKSPACE_ID",
          "name": "workspace_id",
          "required": true,
          "type": "int"
        }
      ],
      "request_model": "SupportWorkspaceArchiveInfoRequest",
      "result_model": "SupportWorkspaceArchiveInfoResult",
      "runnable_example": "mammoth support workspace archive-info 123"
    },
    "support workspace chargebee-cancelled": {
      "accepted_fields": [],
      "agent_example": "mammoth support workspace chargebee-cancelled 123 --yes --confirm 123",
      "command_id": "support.workspace.chargebee-cancelled",
      "contract_level": "typed",
      "description": "Record a workspace's Chargebee subscription as cancelled. Workspace id is positional.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth support workspace chargebee-cancelled WORKSPACE_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the workspace.",
          "metavar": "WORKSPACE_ID",
          "name": "workspace_id",
          "required": true,
          "type": "int"
        }
      ],
      "request_model": "SupportWorkspaceChargebeeCancelledRequest",
      "result_model": "SupportWorkspaceChargebeeCancelledResult",
      "runnable_example": "mammoth support workspace chargebee-cancelled 123 --yes --confirm 123"
    },
    "support workspace create": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "name",
          "required": false,
          "type": "str"
        },
        {
          "default": null,
          "enum": null,
          "name": "user_email",
          "required": true,
          "type": "str"
        },
        {
          "default": null,
          "enum": null,
          "name": "payment_frequency",
          "required": true,
          "type": "str"
        },
        {
          "default": null,
          "enum": null,
          "name": "plan_id",
          "required": false,
          "type": "int"
        },
        {
          "default": null,
          "enum": null,
          "name": "origin",
          "required": false,
          "type": "str"
        },
        {
          "default": true,
          "enum": null,
          "name": "is_verified",
          "required": false,
          "type": "bool"
        },
        {
          "default": false,
          "enum": null,
          "name": "is_registration",
          "required": false,
          "type": "bool"
        },
        {
          "default": null,
          "enum": null,
          "name": "file_id",
          "required": false,
          "type": "str"
        },
        {
          "default": null,
          "enum": null,
          "name": "table_number",
          "required": false,
          "type": "int"
        },
        {
          "default": null,
          "enum": null,
          "name": "plan_create",
          "required": false,
          "type": "dict[str, any]"
        }
      ],
      "agent_example": "mammoth support workspace create 'Revenue report' --input '{\"user_email\": \"analyst@example.com\", \"payment_frequency\": \"monthly\"}' --yes --confirm 'Revenue report'",
      "command_id": "support.workspace.create",
      "contract_level": "typed",
      "description": "Create a workspace. Name is positional; required fields from '--input'.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth support workspace create --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": "name",
          "help": "Name of the new workspace; or pass it via the 'name' input field.",
          "metavar": "NAME",
          "name": "name",
          "required": false,
          "type": "str"
        }
      ],
      "request_model": "SupportWorkspaceCreateRequest",
      "result_model": "SupportWorkspaceCreateResult",
      "runnable_example": "mammoth support workspace create 'Revenue report' --input '{\"user_email\": \"analyst@example.com\", \"payment_frequency\": \"monthly\"}' --yes --confirm 'Revenue report'"
    },
    "support workspace deal-seed": {
      "accepted_fields": [],
      "agent_example": "mammoth support workspace deal-seed 123",
      "command_id": "support.workspace.deal-seed",
      "contract_level": "typed",
      "description": "Show the deal terms a workspace's current subscription would seed.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth support workspace deal-seed WORKSPACE_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the workspace.",
          "metavar": "WORKSPACE_ID",
          "name": "workspace_id",
          "required": true,
          "type": "int"
        }
      ],
      "request_model": "SupportWorkspaceDealSeedRequest",
      "result_model": "SupportWorkspaceDealSeedResult",
      "runnable_example": "mammoth support workspace deal-seed 123"
    },
    "support workspace delete": {
      "accepted_fields": [],
      "agent_example": "mammoth support workspace delete 123 --yes --confirm 123",
      "command_id": "support.workspace.delete",
      "contract_level": "typed",
      "description": "Delete one workspace by id.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth support workspace delete WORKSPACE_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the workspace.",
          "metavar": "WORKSPACE_ID",
          "name": "workspace_id",
          "required": true,
          "type": "int"
        }
      ],
      "request_model": "SupportWorkspaceDeleteRequest",
      "result_model": "SupportWorkspaceDeleteResult",
      "runnable_example": "mammoth support workspace delete 123 --yes --confirm 123"
    },
    "support workspace entitlement": {
      "accepted_fields": [],
      "agent_example": "mammoth support workspace entitlement 123",
      "command_id": "support.workspace.entitlement",
      "contract_level": "typed",
      "description": "Show the entitlements a workspace resolves to.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth support workspace entitlement WORKSPACE_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the workspace.",
          "metavar": "WORKSPACE_ID",
          "name": "workspace_id",
          "required": true,
          "type": "int"
        }
      ],
      "request_model": "SupportWorkspaceEntitlementRequest",
      "result_model": "SupportWorkspaceEntitlementResult",
      "runnable_example": "mammoth support workspace entitlement 123"
    },
    "support workspace get": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "fields",
          "required": false,
          "type": "str"
        }
      ],
      "agent_example": "mammoth support workspace get 123",
      "command_id": "support.workspace.get",
      "contract_level": "typed",
      "description": "Get details of a workspace. Workspace id is positional.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth support workspace get WORKSPACE_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the workspace.",
          "metavar": "WORKSPACE_ID",
          "name": "workspace_id",
          "required": true,
          "type": "int"
        }
      ],
      "request_model": "SupportWorkspaceGetRequest",
      "result_model": "SupportWorkspaceGetResult",
      "runnable_example": "mammoth support workspace get 123"
    },
    "support workspace invite cancel": {
      "accepted_fields": [],
      "agent_example": "mammoth support workspace invite cancel 123 456 --yes --confirm 123",
      "command_id": "support.workspace.invite.cancel",
      "contract_level": "typed",
      "description": "Cancel a pending workspace invite. Workspace id and invite id are positional.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth support workspace invite cancel WORKSPACE_ID INVITE_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the workspace.",
          "metavar": "WORKSPACE_ID",
          "name": "workspace_id",
          "required": true,
          "type": "int"
        },
        {
          "falls_back_to_field": null,
          "help": "ID of the invite.",
          "metavar": "INVITE_ID",
          "name": "invite_id",
          "required": true,
          "type": "int"
        }
      ],
      "request_model": "SupportWorkspaceInviteCancelRequest",
      "result_model": "SupportWorkspaceInviteCancelResult",
      "runnable_example": "mammoth support workspace invite cancel 123 456 --yes --confirm 123"
    },
    "support workspace invite resend": {
      "accepted_fields": [],
      "agent_example": "mammoth support workspace invite resend 123 456 --yes --confirm 123",
      "command_id": "support.workspace.invite.resend",
      "contract_level": "typed",
      "description": "Resend a pending workspace invite. Workspace id and invite id are positional.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth support workspace invite resend WORKSPACE_ID INVITE_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the workspace.",
          "metavar": "WORKSPACE_ID",
          "name": "workspace_id",
          "required": true,
          "type": "int"
        },
        {
          "falls_back_to_field": null,
          "help": "ID of the invite.",
          "metavar": "INVITE_ID",
          "name": "invite_id",
          "required": true,
          "type": "int"
        }
      ],
      "request_model": "SupportWorkspaceInviteResendRequest",
      "result_model": "SupportWorkspaceInviteResendResult",
      "runnable_example": "mammoth support workspace invite resend 123 456 --yes --confirm 123"
    },
    "support workspace list": {
      "accepted_fields": [],
      "agent_example": "mammoth support workspace list",
      "command_id": "support.workspace.list",
      "contract_level": "typed",
      "description": "List all workspaces visible to the current admin/support user.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth support workspace list --help",
      "notes": [],
      "positionals": [],
      "request_model": "SupportWorkspaceListRequest",
      "result_model": "SupportWorkspaceListResult",
      "runnable_example": "mammoth support workspace list"
    },
    "support workspace project list": {
      "accepted_fields": [],
      "agent_example": "mammoth support workspace project list 123",
      "command_id": "support.workspace.project.list",
      "contract_level": "typed",
      "description": "List a workspace's projects with their unfinished project moves.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth support workspace project list WORKSPACE_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the workspace.",
          "metavar": "WORKSPACE_ID",
          "name": "workspace_id",
          "required": true,
          "type": "int"
        }
      ],
      "request_model": "SupportWorkspaceProjectListRequest",
      "result_model": "SupportWorkspaceProjectListResult",
      "runnable_example": "mammoth support workspace project list 123"
    },
    "support workspace project move-check": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "target_workspace_id",
          "required": true,
          "type": "int"
        }
      ],
      "agent_example": "mammoth support workspace project move-check 123 456 --input '{\"target_workspace_id\": 1}'",
      "command_id": "support.workspace.project.move-check",
      "contract_level": "typed",
      "description": "Check, read-only, moving a project to another workspace.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth support workspace project move-check WORKSPACE_ID PROJECT_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the workspace.",
          "metavar": "WORKSPACE_ID",
          "name": "workspace_id",
          "required": true,
          "type": "int"
        },
        {
          "falls_back_to_field": null,
          "help": "ID of the project.",
          "metavar": "PROJECT_ID",
          "name": "project_id",
          "required": true,
          "type": "int"
        }
      ],
      "request_model": "SupportWorkspaceProjectMoveCheckRequest",
      "result_model": "SupportWorkspaceProjectMoveCheckResult",
      "runnable_example": "mammoth support workspace project move-check 123 456 --input '{\"target_workspace_id\": 1}'"
    },
    "support workspace project move-start": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "target_workspace_id",
          "required": true,
          "type": "int"
        },
        {
          "default": null,
          "enum": null,
          "name": "acknowledged_warnings",
          "required": false,
          "type": "list[str]"
        }
      ],
      "agent_example": "mammoth support workspace project move-start 123 456 --input '{\"target_workspace_id\": 1}' --yes --confirm 123",
      "command_id": "support.workspace.project.move-start",
      "contract_level": "typed",
      "description": "Start moving a project to another workspace, or resume its unfinished move.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth support workspace project move-start WORKSPACE_ID PROJECT_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the workspace.",
          "metavar": "WORKSPACE_ID",
          "name": "workspace_id",
          "required": true,
          "type": "int"
        },
        {
          "falls_back_to_field": null,
          "help": "ID of the project.",
          "metavar": "PROJECT_ID",
          "name": "project_id",
          "required": true,
          "type": "int"
        }
      ],
      "request_model": "SupportWorkspaceProjectMoveStartRequest",
      "result_model": "SupportWorkspaceProjectMoveStartResult",
      "runnable_example": "mammoth support workspace project move-start 123 456 --input '{\"target_workspace_id\": 1}' --yes --confirm 123"
    },
    "support workspace restore-access": {
      "accepted_fields": [],
      "agent_example": "mammoth support workspace restore-access 123 --yes --confirm 123",
      "command_id": "support.workspace.restore-access",
      "contract_level": "typed",
      "description": "Restore user access to a suspended workspace. Workspace id is positional.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth support workspace restore-access WORKSPACE_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the workspace.",
          "metavar": "WORKSPACE_ID",
          "name": "workspace_id",
          "required": true,
          "type": "int"
        }
      ],
      "request_model": "SupportWorkspaceRestoreAccessRequest",
      "result_model": "SupportWorkspaceRestoreAccessResult",
      "runnable_example": "mammoth support workspace restore-access 123 --yes --confirm 123"
    },
    "support workspace restore-archive": {
      "accepted_fields": [],
      "agent_example": "mammoth support workspace restore-archive 123 --yes --confirm 123",
      "command_id": "support.workspace.restore-archive",
      "contract_level": "typed",
      "description": "Restore an archived workspace from cold storage. Workspace id is positional.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth support workspace restore-archive WORKSPACE_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the workspace.",
          "metavar": "WORKSPACE_ID",
          "name": "workspace_id",
          "required": true,
          "type": "int"
        }
      ],
      "request_model": "SupportWorkspaceRestoreArchiveRequest",
      "result_model": "SupportWorkspaceRestoreArchiveResult",
      "runnable_example": "mammoth support workspace restore-archive 123 --yes --confirm 123"
    },
    "support workspace suspend-access": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "reason",
          "required": false,
          "type": "str"
        }
      ],
      "agent_example": "mammoth support workspace suspend-access 123 --yes --confirm 123",
      "command_id": "support.workspace.suspend-access",
      "contract_level": "typed",
      "description": "Suspend user access to a workspace. Workspace id is positional.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth support workspace suspend-access WORKSPACE_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the workspace.",
          "metavar": "WORKSPACE_ID",
          "name": "workspace_id",
          "required": true,
          "type": "int"
        }
      ],
      "request_model": "SupportWorkspaceSuspendAccessRequest",
      "result_model": "SupportWorkspaceSuspendAccessResult",
      "runnable_example": "mammoth support workspace suspend-access 123 --yes --confirm 123"
    },
    "support workspace update": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "name",
          "required": true,
          "type": "str"
        },
        {
          "default": null,
          "enum": null,
          "name": "payment_frequency",
          "required": true,
          "type": "str"
        },
        {
          "default": null,
          "enum": null,
          "name": "plan_id",
          "required": true,
          "type": "int"
        },
        {
          "default": null,
          "enum": null,
          "name": "plan_create",
          "required": false,
          "type": "dict[str, any]"
        },
        {
          "default": null,
          "enum": null,
          "name": "plan_update",
          "required": false,
          "type": "dict[str, any]"
        }
      ],
      "agent_example": "mammoth support workspace update 123 --input '{\"name\": \"Revenue report\", \"payment_frequency\": \"monthly\", \"plan_id\": 1}' --yes --confirm 123",
      "command_id": "support.workspace.update",
      "contract_level": "typed",
      "description": "Update a workspace's details/subscription. Workspace id is positional.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth support workspace update WORKSPACE_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the workspace.",
          "metavar": "WORKSPACE_ID",
          "name": "workspace_id",
          "required": true,
          "type": "int"
        }
      ],
      "request_model": "SupportWorkspaceUpdateRequest",
      "result_model": "SupportWorkspaceUpdateResult",
      "runnable_example": "mammoth support workspace update 123 --input '{\"name\": \"Revenue report\", \"payment_frequency\": \"monthly\", \"plan_id\": 1}' --yes --confirm 123"
    },
    "support workspace user add": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "email",
          "required": true,
          "type": "str"
        },
        {
          "default": null,
          "enum": null,
          "name": "role",
          "required": true,
          "type": "str"
        },
        {
          "default": null,
          "enum": null,
          "name": "first_name",
          "required": false,
          "type": "str"
        },
        {
          "default": null,
          "enum": null,
          "name": "last_name",
          "required": false,
          "type": "str"
        }
      ],
      "agent_example": "mammoth support workspace user add 123 --input '{\"email\": \"analyst@example.com\", \"role\": \"workspace_member\"}' --yes --confirm 123",
      "command_id": "support.workspace.user.add",
      "contract_level": "typed",
      "description": "Add a user to a workspace. Workspace id is positional.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth support workspace user add WORKSPACE_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the workspace.",
          "metavar": "WORKSPACE_ID",
          "name": "workspace_id",
          "required": true,
          "type": "int"
        }
      ],
      "request_model": "SupportWorkspaceUserAddRequest",
      "result_model": "SupportWorkspaceUserAddResult",
      "runnable_example": "mammoth support workspace user add 123 --input '{\"email\": \"analyst@example.com\", \"role\": \"workspace_member\"}' --yes --confirm 123"
    },
    "support workspace user list": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "limit",
          "required": false,
          "type": "int"
        },
        {
          "default": null,
          "enum": null,
          "name": "offset",
          "required": false,
          "type": "int"
        },
        {
          "default": null,
          "enum": null,
          "name": "fields",
          "required": false,
          "type": "str"
        },
        {
          "default": null,
          "enum": null,
          "name": "sort",
          "required": false,
          "type": "str"
        }
      ],
      "agent_example": "mammoth support workspace user list 123",
      "command_id": "support.workspace.user.list",
      "contract_level": "typed",
      "description": "List users in a workspace. Workspace id is positional.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth support workspace user list WORKSPACE_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the workspace.",
          "metavar": "WORKSPACE_ID",
          "name": "workspace_id",
          "required": true,
          "type": "int"
        }
      ],
      "request_model": "SupportWorkspaceUserListRequest",
      "result_model": "SupportWorkspaceUserListResult",
      "runnable_example": "mammoth support workspace user list 123"
    },
    "support workspace user remove": {
      "accepted_fields": [],
      "agent_example": "mammoth support workspace user remove 123 456 --yes --confirm 123",
      "command_id": "support.workspace.user.remove",
      "contract_level": "typed",
      "description": "Remove a user from a workspace. Workspace id is positional.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth support workspace user remove WORKSPACE_ID USER_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the workspace.",
          "metavar": "WORKSPACE_ID",
          "name": "workspace_id",
          "required": true,
          "type": "int"
        },
        {
          "falls_back_to_field": null,
          "help": "ID of the user.",
          "metavar": "USER_ID",
          "name": "user_id",
          "required": true,
          "type": "int"
        }
      ],
      "request_model": "SupportWorkspaceUserRemoveRequest",
      "result_model": "SupportWorkspaceUserRemoveResult",
      "runnable_example": "mammoth support workspace user remove 123 456 --yes --confirm 123"
    },
    "support workspace user transfer": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "role",
          "required": true,
          "type": "str"
        },
        {
          "default": null,
          "enum": null,
          "name": "remove_role",
          "required": false,
          "type": "str"
        }
      ],
      "agent_example": "mammoth support workspace user transfer 123 456 --input '{\"role\": \"workspace_admin\"}' --yes --confirm 123",
      "command_id": "support.workspace.user.transfer",
      "contract_level": "typed",
      "description": "Transfer/change a user's role within a workspace. Workspace id is positional.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth support workspace user transfer WORKSPACE_ID USER_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the workspace.",
          "metavar": "WORKSPACE_ID",
          "name": "workspace_id",
          "required": true,
          "type": "int"
        },
        {
          "falls_back_to_field": null,
          "help": "ID of the user.",
          "metavar": "USER_ID",
          "name": "user_id",
          "required": true,
          "type": "int"
        }
      ],
      "request_model": "SupportWorkspaceUserTransferRequest",
      "result_model": "SupportWorkspaceUserTransferResult",
      "runnable_example": "mammoth support workspace user transfer 123 456 --input '{\"role\": \"workspace_admin\"}' --yes --confirm 123"
    },
    "template create": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "body",
          "required": true,
          "type": "dict[str, any]"
        }
      ],
      "agent_example": "mammoth template create --input '{\"body\": {\"name\": \"Revenue report\"}}'",
      "command_id": "template.create",
      "contract_level": "partially_typed",
      "description": "Create a template. Payload comes from the 'body' input field.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth template create --help",
      "notes": [],
      "positionals": [],
      "request_model": "TemplateCreateRequest",
      "result_model": "TemplateCreateResult",
      "runnable_example": "mammoth template create --input '{\"body\": {\"name\": \"Revenue report\"}}'"
    },
    "template delete": {
      "accepted_fields": [],
      "agent_example": "mammoth template delete 123 --yes",
      "command_id": "template.delete",
      "contract_level": "typed",
      "description": "Delete a template by id. Prompt or '--yes' required.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth template delete TEMPLATE_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the template.",
          "metavar": "TEMPLATE_ID",
          "name": "template_id",
          "required": true,
          "type": "int"
        }
      ],
      "request_model": "TemplateDeleteRequest",
      "result_model": "TemplateDeleteResult",
      "runnable_example": "mammoth template delete 123 --yes"
    },
    "template get": {
      "accepted_fields": [],
      "agent_example": "mammoth template get 123",
      "command_id": "template.get",
      "contract_level": "typed",
      "description": "Get one template by id.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth template get TEMPLATE_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the template.",
          "metavar": "TEMPLATE_ID",
          "name": "template_id",
          "required": true,
          "type": "int"
        }
      ],
      "request_model": "TemplateGetRequest",
      "result_model": "TemplateGetResult",
      "runnable_example": "mammoth template get 123"
    },
    "template list": {
      "accepted_fields": [],
      "agent_example": "mammoth template list",
      "command_id": "template.list",
      "contract_level": "typed",
      "description": "List the legacy workspace templates (not the workflow template catalog).",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth template list --help",
      "notes": [],
      "positionals": [],
      "request_model": "TemplateListRequest",
      "result_model": "TemplateListResult",
      "runnable_example": "mammoth template list"
    },
    "template update": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "body",
          "required": true,
          "type": "dict[str, any]"
        }
      ],
      "agent_example": "mammoth template update 123 --input '{\"body\": {\"name\": \"Revenue report\"}}'",
      "command_id": "template.update",
      "contract_level": "partially_typed",
      "description": "Update a template. Template id is positional; payload is the 'body' field.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth template update TEMPLATE_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the template.",
          "metavar": "TEMPLATE_ID",
          "name": "template_id",
          "required": true,
          "type": "int"
        }
      ],
      "request_model": "TemplateUpdateRequest",
      "result_model": "TemplateUpdateResult",
      "runnable_example": "mammoth template update 123 --input '{\"body\": {\"name\": \"Revenue report\"}}'"
    },
    "token create": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "app_name",
          "required": false,
          "type": "str"
        },
        {
          "default": null,
          "enum": null,
          "name": "description",
          "required": false,
          "type": "str"
        }
      ],
      "agent_example": "mammoth token create 'Revenue report' --yes --confirm 'Revenue report'",
      "command_id": "token.create",
      "contract_level": "typed",
      "description": "Create a client app. Name comes from a positional or the 'app_name' field.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth token create --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": "app_name",
          "help": "Name of the new API key; or pass it via the 'app_name' input field.",
          "metavar": "APP_NAME",
          "name": "app_name",
          "required": false,
          "type": "str"
        }
      ],
      "request_model": "ClientAppCreateRequest",
      "result_model": "ClientAppCreateResult",
      "runnable_example": "mammoth token create 'Revenue report' --yes --confirm 'Revenue report'"
    },
    "token list": {
      "accepted_fields": [
        {
          "default": 10,
          "enum": null,
          "name": "limit",
          "required": false,
          "type": "int"
        },
        {
          "default": 0,
          "enum": null,
          "name": "offset",
          "required": false,
          "type": "int"
        },
        {
          "default": null,
          "enum": null,
          "name": "fields",
          "required": false,
          "type": "str"
        },
        {
          "default": null,
          "enum": null,
          "name": "sort",
          "required": false,
          "type": "str"
        }
      ],
      "agent_example": "mammoth token list",
      "command_id": "token.list",
      "contract_level": "typed",
      "description": "List the workspace's API keys (client apps). Requires an admin role.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth token list --help",
      "notes": [],
      "positionals": [],
      "request_model": "ClientAppListRequest",
      "result_model": "ClientAppListResult",
      "runnable_example": "mammoth token list"
    },
    "token revoke": {
      "accepted_fields": [],
      "agent_example": "mammoth token revoke web-client --yes",
      "command_id": "token.revoke",
      "contract_level": "typed",
      "description": "Permanently delete one client app by its client key. Prompt or '--yes' required.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth token revoke CLIENT_KEY --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "Key identifying the client.",
          "metavar": "CLIENT_KEY",
          "name": "client_key",
          "required": true,
          "type": "str"
        }
      ],
      "request_model": "ClientAppDeleteRequest",
      "result_model": "ClientAppDeleteResult",
      "runnable_example": "mammoth token revoke web-client --yes"
    },
    "trash add": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "items",
          "required": true,
          "type": "list[dict[str, any]]"
        }
      ],
      "agent_example": "mammoth trash add --input '{\"items\": [{\"name\": \"Status\"}]}'",
      "command_id": "trash.add",
      "contract_level": "typed",
      "description": "Move resources to trash in bulk. 'items' is required via '--input'.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth trash add --help",
      "notes": [],
      "positionals": [],
      "request_model": "TrashAddRequest",
      "result_model": "TrashAddResult",
      "runnable_example": "mammoth trash add --input '{\"items\": [{\"name\": \"Status\"}]}'"
    },
    "trash list": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "type",
          "required": false,
          "type": "str"
        },
        {
          "default": null,
          "enum": null,
          "name": "sort",
          "required": false,
          "type": "str"
        },
        {
          "default": null,
          "enum": null,
          "name": "order",
          "required": false,
          "type": "str"
        },
        {
          "default": null,
          "enum": null,
          "name": "limit",
          "required": false,
          "type": "int"
        },
        {
          "default": null,
          "enum": null,
          "name": "offset",
          "required": false,
          "type": "int"
        },
        {
          "default": null,
          "enum": null,
          "name": "q",
          "required": false,
          "type": "str"
        },
        {
          "default": null,
          "enum": null,
          "name": "trashed_by",
          "required": false,
          "type": "int"
        },
        {
          "default": null,
          "enum": null,
          "name": "trashed_after",
          "required": false,
          "type": "str"
        },
        {
          "default": null,
          "enum": null,
          "name": "trashed_before",
          "required": false,
          "type": "str"
        },
        {
          "default": null,
          "enum": null,
          "name": "expiring_within_days",
          "required": false,
          "type": "int"
        },
        {
          "default": null,
          "enum": null,
          "name": "folder_path",
          "required": false,
          "type": "str"
        },
        {
          "default": null,
          "enum": null,
          "name": "folder_root",
          "required": false,
          "type": "str"
        }
      ],
      "agent_example": "mammoth trash list",
      "command_id": "trash.list",
      "contract_level": "typed",
      "description": "List trashed resources in the active project, with optional filters.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth trash list --help",
      "notes": [],
      "positionals": [],
      "request_model": "TrashListRequest",
      "result_model": "TrashListResult",
      "runnable_example": "mammoth trash list"
    },
    "trash restore": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "items",
          "required": true,
          "type": "list[dict[str, any]]"
        }
      ],
      "agent_example": "mammoth trash restore --input '{\"items\": [{\"name\": \"Status\"}]}'",
      "command_id": "trash.restore",
      "contract_level": "typed",
      "description": "Restore resources from trash in bulk. 'items' is required via '--input'.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth trash restore --help",
      "notes": [],
      "positionals": [],
      "request_model": "TrashRestoreRequest",
      "result_model": "TrashRestoreResult",
      "runnable_example": "mammoth trash restore --input '{\"items\": [{\"name\": \"Status\"}]}'"
    },
    "upgrade": {
      "accepted_fields": [],
      "agent_example": "mammoth upgrade --yes",
      "command_id": "upgrade",
      "contract_level": "typed",
      "description": "Upgrade the mammoth CLI to the latest (or a specified) version from PyPI.",
      "flags": [
        {
          "choices": null,
          "default": false,
          "help": "Report installed vs latest version; make no changes.",
          "is_flag": true,
          "opts": [
            "--check"
          ],
          "required": false,
          "secondary_opts": [],
          "type": "boolean"
        },
        {
          "choices": null,
          "default": null,
          "help": "Upgrade to this exact version instead of the latest.",
          "is_flag": false,
          "opts": [
            "--version"
          ],
          "required": false,
          "secondary_opts": [],
          "type": "str"
        }
      ],
      "hidden": false,
      "human_example": "mammoth upgrade --help",
      "notes": [],
      "positionals": [],
      "request_model": "UpgradeRequest",
      "result_model": "UpgradeResult",
      "runnable_example": "mammoth upgrade --yes"
    },
    "user avatar delete": {
      "accepted_fields": [],
      "agent_example": "mammoth user avatar delete --yes",
      "command_id": "user.avatar.delete",
      "contract_level": "typed",
      "description": "Delete the current user's avatar. Prompt or '--yes' required.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth user avatar delete --help",
      "notes": [],
      "positionals": [],
      "request_model": "UserAvatarDeleteRequest",
      "result_model": "UserAvatarDeleteResult",
      "runnable_example": "mammoth user avatar delete --yes"
    },
    "user avatar upload": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "file",
          "required": false,
          "type": "str | pathlib.Path | typing.BinaryIO"
        }
      ],
      "agent_example": "mammoth user avatar upload ./sales.csv",
      "command_id": "user.avatar.upload",
      "contract_level": "typed",
      "description": "Upload the current user's avatar. File comes from a positional or 'file'.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth user avatar upload --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": "file",
          "help": "Path to a local image to upload; or pass it via the 'file' input field.",
          "kind": "local_path",
          "metavar": "FILE",
          "name": "file",
          "required": false,
          "type": "str"
        }
      ],
      "request_model": "UserAvatarUploadRequest",
      "result_model": "UserAvatarUploadResult",
      "runnable_example": "mammoth user avatar upload ./sales.csv"
    },
    "user delete-account": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "validate_only",
          "required": false,
          "type": "bool"
        }
      ],
      "agent_example": "mammoth user delete-account --yes",
      "command_id": "user.delete-account",
      "contract_level": "typed",
      "description": "Delete the current user's account. High-impact: '--yes --confirm WORKSPACE_ID'.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth user delete-account --help",
      "notes": [],
      "positionals": [],
      "request_model": "UserDeleteAccountRequest",
      "result_model": "UserDeleteAccountResult",
      "runnable_example": "mammoth user delete-account --yes"
    },
    "user get": {
      "accepted_fields": [],
      "agent_example": "mammoth user get",
      "command_id": "user.get",
      "contract_level": "typed",
      "description": "Get the current user's profile.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth user get --help",
      "notes": [],
      "positionals": [],
      "request_model": "UserGetRequest",
      "result_model": "UserGetResult",
      "runnable_example": "mammoth user get"
    },
    "user preference get": {
      "accepted_fields": [],
      "agent_example": "mammoth user preference get",
      "command_id": "user.preference.get",
      "contract_level": "typed",
      "description": "Get the current user's preferences.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth user preference get --help",
      "notes": [],
      "positionals": [],
      "request_model": "UserPreferenceGetRequest",
      "result_model": "UserPreferenceGetResult",
      "runnable_example": "mammoth user preference get"
    },
    "user preference update": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "patch",
          "required": false,
          "type": "list[dict[str, any]]"
        }
      ],
      "agent_example": "mammoth user preference update --input '{\"patch\": [{\"op\": \"replace\", \"path\": \"GLOBAL.PREFERENCES.TOP_TABS\", \"value\": []}]}'",
      "command_id": "user.preference.update",
      "contract_level": "typed",
      "description": "Update the current user's preferences from the '--input' document.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth user preference update --help",
      "notes": [],
      "positionals": [],
      "request_model": "UserPreferenceUpdateRequest",
      "result_model": "UserPreferenceUpdateResult",
      "runnable_example": "mammoth user preference update --input '{\"patch\": [{\"op\": \"replace\", \"path\": \"GLOBAL.PREFERENCES.TOP_TABS\", \"value\": []}]}'"
    },
    "user update": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "first_name",
          "required": false,
          "type": "str"
        },
        {
          "default": null,
          "enum": null,
          "name": "last_name",
          "required": false,
          "type": "str"
        }
      ],
      "agent_example": "mammoth user update --input '{\"first_name\": \"Jane\"}'",
      "command_id": "user.update",
      "contract_level": "typed",
      "description": "Change the current user's own display name (first and/or last name).",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth user update --help",
      "notes": [],
      "positionals": [],
      "request_model": "UserUpdateRequest",
      "result_model": "UserUpdateResult",
      "runnable_example": "mammoth user update --input '{\"first_name\": \"Jane\"}'"
    },
    "version": {
      "accepted_fields": [],
      "agent_example": "mammoth version",
      "command_id": "version",
      "contract_level": "typed",
      "description": null,
      "flags": [],
      "hidden": false,
      "human_example": "mammoth version --help",
      "notes": [],
      "positionals": [],
      "request_model": "VersionRequest",
      "result_model": "VersionResult",
      "runnable_example": "mammoth version"
    },
    "view active-user list": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "dataset_id",
          "required": false,
          "type": "int"
        }
      ],
      "agent_example": "mammoth view active-user list 123 456",
      "command_id": "view.active-user.list",
      "contract_level": "typed",
      "description": "List the active users on a dataview.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth view active-user list VIEW_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the view to act on.",
          "metavar": "VIEW_ID",
          "name": "view_id",
          "required": true,
          "type": "int"
        },
        {
          "falls_back_to_field": "dataset_id",
          "help": "ID of the dataset the view belongs to; resolved from the view when omitted.",
          "metavar": "DATASET_ID",
          "name": "dataset_id",
          "required": false,
          "type": "int"
        }
      ],
      "request_model": "ViewActiveUserListRequest",
      "result_model": "ViewActiveUserListResult",
      "runnable_example": "mammoth view active-user list 123 456"
    },
    "view active-user mark": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "dataset_id",
          "required": false,
          "type": "int"
        }
      ],
      "agent_example": "mammoth view active-user mark 123 456",
      "command_id": "view.active-user.mark",
      "contract_level": "typed",
      "description": "Mark the caller as an active user on a dataview.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth view active-user mark VIEW_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the view to act on.",
          "metavar": "VIEW_ID",
          "name": "view_id",
          "required": true,
          "type": "int"
        },
        {
          "falls_back_to_field": "dataset_id",
          "help": "Exact parent dataset ID. Required for this command: pass it here or as the 'dataset_id' input field; only read commands may omit it and discover the parent.",
          "metavar": "DATASET_ID",
          "name": "dataset_id",
          "required": false,
          "type": "int"
        }
      ],
      "request_model": "ViewActiveUserMarkRequest",
      "result_model": "ViewActiveUserMarkResult",
      "runnable_example": "mammoth view active-user mark 123 456"
    },
    "view ai generate-data": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "prompt",
          "required": true,
          "type": "str"
        },
        {
          "default": 10,
          "enum": null,
          "name": "no_of_rows",
          "required": false,
          "type": "int"
        },
        {
          "default": null,
          "enum": null,
          "name": "columns",
          "required": false,
          "type": "list[str]"
        },
        {
          "default": null,
          "enum": null,
          "name": "dataset_id",
          "required": false,
          "type": "int"
        }
      ],
      "agent_example": "mammoth view ai generate-data 123 --input '{\"prompt\": \"Summarize revenue by region\"}'",
      "command_id": "view.ai.generate-data",
      "contract_level": "typed",
      "description": "Generate synthetic data for a dataview with an AI prompt. 'prompt' required.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth view ai generate-data DATAVIEW_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the dataview.",
          "metavar": "DATAVIEW_ID",
          "name": "dataview_id",
          "required": true,
          "type": "int"
        }
      ],
      "request_model": "ViewAiGenerateDataRequest",
      "result_model": "ViewAiGenerateDataResult",
      "runnable_example": "mammoth view ai generate-data 123 --input '{\"prompt\": \"Summarize revenue by region\"}'"
    },
    "view ai generation-info": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "dataset_id",
          "required": false,
          "type": "int"
        }
      ],
      "agent_example": "mammoth view ai generation-info 123",
      "command_id": "view.ai.generation-info",
      "contract_level": "typed",
      "description": "Get the status/info of an AI data-generation run for a dataview.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth view ai generation-info DATAVIEW_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the dataview.",
          "metavar": "DATAVIEW_ID",
          "name": "dataview_id",
          "required": true,
          "type": "int"
        }
      ],
      "request_model": "ViewAiGenerationInfoRequest",
      "result_model": "ViewAiGenerationInfoResult",
      "runnable_example": "mammoth view ai generation-info 123"
    },
    "view ai profile": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "dataset_id",
          "required": false,
          "type": "int"
        },
        {
          "default": "insights",
          "enum": null,
          "name": "action",
          "required": false,
          "type": "str"
        }
      ],
      "agent_example": "mammoth view ai profile 123 --input '{\"dataset_id\": 456, \"action\": \"insights\"}'",
      "command_id": "view.ai.profile",
      "contract_level": "typed",
      "description": "Generate an AI profile for a dataview.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth view ai profile DATAVIEW_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the dataview.",
          "metavar": "DATAVIEW_ID",
          "name": "dataview_id",
          "required": true,
          "type": "int"
        }
      ],
      "request_model": "ViewAiProfileRequest",
      "result_model": "ViewAiProfileResult",
      "runnable_example": "mammoth view ai profile 123 --input '{\"dataset_id\": 456, \"action\": \"insights\"}'"
    },
    "view analyze": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "dataset_id",
          "required": false,
          "type": "int"
        }
      ],
      "agent_example": "mammoth view analyze 123 456",
      "command_id": "view.analyze",
      "contract_level": "typed",
      "description": "List pipeline steps that can be dropped or moved without changing the result (read-only).",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth view analyze VIEW_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the view to analyze; join several with commas (5000,5001) for one result with all of them.",
          "metavar": "VIEW_ID",
          "name": "view_id",
          "required": true,
          "type": "str"
        },
        {
          "falls_back_to_field": "dataset_id",
          "help": "ID of the dataset the view belongs to; resolved from the view when omitted.",
          "metavar": "DATASET_ID",
          "name": "dataset_id",
          "required": false,
          "type": "int"
        }
      ],
      "request_model": "ViewAnalyzeRequest",
      "result_model": "ViewAnalyzeResult",
      "runnable_example": "mammoth view analyze 123 456"
    },
    "view bulk-delete": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "dataview_ids",
          "required": true,
          "type": "list[int] | str"
        }
      ],
      "agent_example": "mammoth view bulk-delete 123 --input '{\"dataview_ids\": [1]}' --yes",
      "command_id": "view.bulk-delete",
      "contract_level": "typed",
      "description": "Permanently delete several dataviews by id. Prompt or '--yes' required.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth view bulk-delete DATASET_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the dataset.",
          "metavar": "DATASET_ID",
          "name": "dataset_id",
          "required": true,
          "type": "int"
        }
      ],
      "request_model": "ViewBulkDeleteRequest",
      "result_model": "ViewBulkDeleteResult",
      "runnable_example": "mammoth view bulk-delete 123 --input '{\"dataview_ids\": [1]}' --yes"
    },
    "view checkpoint create": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "dataset_id",
          "required": false,
          "type": "int"
        },
        {
          "default": null,
          "enum": null,
          "name": "body",
          "required": true,
          "type": "dict[str, any]"
        }
      ],
      "agent_example": "mammoth view checkpoint create 123 456 --input '{\"body\": {\"checkpoint_name\": \"Revenue report\", \"checkpoint_type\": \"alert\", \"pinned_to_end\": true}}'",
      "command_id": "view.checkpoint.create",
      "contract_level": "partially_typed",
      "description": "Create a checkpoint on a dataview. 'body' is required.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth view checkpoint create VIEW_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the view to act on.",
          "metavar": "VIEW_ID",
          "name": "view_id",
          "required": true,
          "type": "int"
        },
        {
          "falls_back_to_field": "dataset_id",
          "help": "Exact parent dataset ID. Required for this command: pass it here or as the 'dataset_id' input field; only read commands may omit it and discover the parent.",
          "metavar": "DATASET_ID",
          "name": "dataset_id",
          "required": false,
          "type": "int"
        }
      ],
      "request_model": "ViewCheckpointCreateRequest",
      "result_model": "ViewCheckpointCreateResult",
      "runnable_example": "mammoth view checkpoint create 123 456 --input '{\"body\": {\"checkpoint_name\": \"Revenue report\", \"checkpoint_type\": \"alert\", \"pinned_to_end\": true}}'"
    },
    "view checkpoint delete": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "dataset_id",
          "required": false,
          "type": "int"
        }
      ],
      "agent_example": "mammoth view checkpoint delete 123 456 789 --yes",
      "command_id": "view.checkpoint.delete",
      "contract_level": "typed",
      "description": "Delete one checkpoint by id. Prompt or '--yes' required.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth view checkpoint delete VIEW_ID CHECKPOINT_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the view to act on.",
          "metavar": "VIEW_ID",
          "name": "view_id",
          "required": true,
          "type": "int"
        },
        {
          "falls_back_to_field": null,
          "help": "ID of the checkpoint.",
          "metavar": "CHECKPOINT_ID",
          "name": "checkpoint_id",
          "required": true,
          "type": "int"
        },
        {
          "falls_back_to_field": "dataset_id",
          "help": "Exact parent dataset ID. Required for this command: pass it here or as the 'dataset_id' input field; only read commands may omit it and discover the parent.",
          "metavar": "DATASET_ID",
          "name": "dataset_id",
          "required": false,
          "type": "int"
        }
      ],
      "request_model": "ViewCheckpointDeleteRequest",
      "result_model": "ViewCheckpointDeleteResult",
      "runnable_example": "mammoth view checkpoint delete 123 456 789 --yes"
    },
    "view checkpoint get": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "dataset_id",
          "required": false,
          "type": "int"
        },
        {
          "default": null,
          "enum": null,
          "name": "fields",
          "required": false,
          "type": "str"
        }
      ],
      "agent_example": "mammoth view checkpoint get 123 456 789",
      "command_id": "view.checkpoint.get",
      "contract_level": "typed",
      "description": "Get one checkpoint by id.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth view checkpoint get VIEW_ID CHECKPOINT_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the view to act on.",
          "metavar": "VIEW_ID",
          "name": "view_id",
          "required": true,
          "type": "int"
        },
        {
          "falls_back_to_field": null,
          "help": "ID of the checkpoint.",
          "metavar": "CHECKPOINT_ID",
          "name": "checkpoint_id",
          "required": true,
          "type": "int"
        },
        {
          "falls_back_to_field": "dataset_id",
          "help": "ID of the dataset the view belongs to; resolved from the view when omitted.",
          "metavar": "DATASET_ID",
          "name": "dataset_id",
          "required": false,
          "type": "int"
        }
      ],
      "request_model": "ViewCheckpointGetRequest",
      "result_model": "ViewCheckpointGetResult",
      "runnable_example": "mammoth view checkpoint get 123 456 789"
    },
    "view checkpoint list": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "dataset_id",
          "required": false,
          "type": "int"
        },
        {
          "default": null,
          "enum": null,
          "name": "fields",
          "required": false,
          "type": "str"
        },
        {
          "default": null,
          "enum": null,
          "name": "sort",
          "required": false,
          "type": "str"
        },
        {
          "default": null,
          "enum": null,
          "name": "sequence",
          "required": false,
          "type": "str"
        },
        {
          "default": null,
          "enum": null,
          "name": "status",
          "required": false,
          "type": "str"
        }
      ],
      "agent_example": "mammoth view checkpoint list 123 456",
      "command_id": "view.checkpoint.list",
      "contract_level": "typed",
      "description": "List checkpoints on a dataview, with optional filters from '--input'.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth view checkpoint list VIEW_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the view to act on.",
          "metavar": "VIEW_ID",
          "name": "view_id",
          "required": true,
          "type": "int"
        },
        {
          "falls_back_to_field": "dataset_id",
          "help": "ID of the dataset the view belongs to; resolved from the view when omitted.",
          "metavar": "DATASET_ID",
          "name": "dataset_id",
          "required": false,
          "type": "int"
        }
      ],
      "request_model": "ViewCheckpointListRequest",
      "result_model": "ViewCheckpointListResult",
      "runnable_example": "mammoth view checkpoint list 123 456"
    },
    "view checkpoint update": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "dataset_id",
          "required": false,
          "type": "int"
        },
        {
          "default": null,
          "enum": null,
          "name": "body",
          "required": true,
          "type": "dict[str, any]"
        }
      ],
      "agent_example": "mammoth view checkpoint update 123 456 789 --input '{\"body\": {\"patches\": [{\"op\": \"command\", \"path\": \"approve\", \"value\": null}]}}'",
      "command_id": "view.checkpoint.update",
      "contract_level": "partially_typed",
      "description": "Update one checkpoint by id. 'body' is required.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth view checkpoint update VIEW_ID CHECKPOINT_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the view to act on.",
          "metavar": "VIEW_ID",
          "name": "view_id",
          "required": true,
          "type": "int"
        },
        {
          "falls_back_to_field": null,
          "help": "ID of the checkpoint.",
          "metavar": "CHECKPOINT_ID",
          "name": "checkpoint_id",
          "required": true,
          "type": "int"
        },
        {
          "falls_back_to_field": "dataset_id",
          "help": "Exact parent dataset ID. Required for this command: pass it here or as the 'dataset_id' input field; only read commands may omit it and discover the parent.",
          "metavar": "DATASET_ID",
          "name": "dataset_id",
          "required": false,
          "type": "int"
        }
      ],
      "request_model": "ViewCheckpointUpdateRequest",
      "result_model": "ViewCheckpointUpdateResult",
      "runnable_example": "mammoth view checkpoint update 123 456 789 --input '{\"body\": {\"patches\": [{\"op\": \"command\", \"path\": \"approve\", \"value\": null}]}}'"
    },
    "view column format set": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "formats",
          "required": true,
          "type": "dict[str, dict[str, any]]"
        },
        {
          "default": null,
          "enum": null,
          "name": "dataset_id",
          "required": false,
          "type": "int"
        }
      ],
      "agent_example": "mammoth view column format set 123 --input '{\"formats\": {\"Admitted\": {\"date_format\": \"%d-%b-%Y\"}, \"Revenue\": {\"decimal_spec\": 2}}, \"dataset_id\": 456}'",
      "command_id": "view.column.format.set",
      "contract_level": "typed",
      "description": "Set how columns display (date or number format; a view display setting, not a task).",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth view column format set VIEW_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the view to act on.",
          "metavar": "VIEW_ID",
          "name": "view_id",
          "required": true,
          "type": "int"
        }
      ],
      "request_model": "ViewColumnFormatSetRequest",
      "result_model": "ViewColumnFormatSetResult",
      "runnable_example": "mammoth view column format set 123 --input '{\"formats\": {\"Admitted\": {\"date_format\": \"%d-%b-%Y\"}, \"Revenue\": {\"decimal_spec\": 2}}, \"dataset_id\": 456}'"
    },
    "view compare": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "pairs",
          "required": true,
          "type": "list[list[int]]"
        }
      ],
      "agent_example": "mammoth view compare --input '{\"pairs\": [[1, 2]]}'",
      "command_id": "view.compare",
      "contract_level": "typed",
      "description": "Compare dataviews pairwise: rows, column differences and checksums (read-only).",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth view compare --help",
      "notes": [],
      "positionals": [],
      "request_model": "ViewCompareRequest",
      "result_model": "ViewCompareResult",
      "runnable_example": "mammoth view compare --input '{\"pairs\": [[1, 2]]}'"
    },
    "view conditional-format create": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "dataset_id",
          "required": false,
          "type": "int"
        },
        {
          "default": null,
          "enum": null,
          "name": "rule",
          "required": false,
          "type": "dict[str, any]"
        },
        {
          "default": null,
          "enum": null,
          "name": "columns",
          "required": false,
          "type": "list[str]"
        },
        {
          "default": null,
          "enum": null,
          "name": "operator",
          "required": false,
          "type": "str"
        },
        {
          "default": null,
          "enum": null,
          "name": "value",
          "required": false,
          "type": "any"
        },
        {
          "default": null,
          "enum": null,
          "name": "color",
          "required": false,
          "type": "str"
        },
        {
          "default": null,
          "enum": null,
          "name": "name",
          "required": false,
          "type": "str"
        },
        {
          "default": null,
          "enum": [
            "row",
            "columns"
          ],
          "name": "applies_to",
          "required": false,
          "type": "typing.Literal['row', 'columns']"
        },
        {
          "default": null,
          "enum": [
            "any",
            "all"
          ],
          "name": "match",
          "required": false,
          "type": "typing.Literal['any', 'all']"
        }
      ],
      "agent_example": "mammoth view conditional-format create 123 456 --input '{\"columns\": [\"Q1\", \"Q2\", \"Q3\"], \"operator\": \"<\", \"value\": 55, \"color\": \"red\"}'",
      "command_id": "view.conditional-format.create",
      "contract_level": "typed",
      "description": "Colour cells in many columns by one threshold in a single command (columns + operator + value + color): each cell is judged by its own value. applies_to=row colours whole rows when any/all of the columns match.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth view conditional-format create VIEW_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the view to act on.",
          "metavar": "VIEW_ID",
          "name": "view_id",
          "required": true,
          "type": "int"
        },
        {
          "falls_back_to_field": "dataset_id",
          "help": "Exact parent dataset ID. Required for this command: pass it here or as the 'dataset_id' input field; only read commands may omit it and discover the parent.",
          "metavar": "DATASET_ID",
          "name": "dataset_id",
          "required": false,
          "type": "int"
        }
      ],
      "request_model": "ViewConditionalFormatCreateRequest",
      "result_model": "ViewConditionalFormatCreateResult",
      "runnable_example": "mammoth view conditional-format create 123 456 --input '{\"columns\": [\"Q1\", \"Q2\", \"Q3\"], \"operator\": \"<\", \"value\": 55, \"color\": \"red\"}'"
    },
    "view conditional-format delete-all": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "dataset_id",
          "required": false,
          "type": "int"
        },
        {
          "default": null,
          "enum": null,
          "name": "rule_id",
          "required": false,
          "type": "str | int | None"
        }
      ],
      "agent_example": "mammoth view conditional-format delete-all 123 456 --input '{\"rule_id\": \"bca0ff33bd6f8ed1\"}' --yes",
      "command_id": "view.conditional-format.delete-all",
      "contract_level": "typed",
      "description": "Delete a conditional-format rule on a dataview. Prompt or '--yes'.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth view conditional-format delete-all VIEW_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the view to act on.",
          "metavar": "VIEW_ID",
          "name": "view_id",
          "required": true,
          "type": "int"
        },
        {
          "falls_back_to_field": "dataset_id",
          "help": "Exact parent dataset ID. Required for this command: pass it here or as the 'dataset_id' input field; only read commands may omit it and discover the parent.",
          "metavar": "DATASET_ID",
          "name": "dataset_id",
          "required": false,
          "type": "int"
        }
      ],
      "request_model": "ViewConditionalFormatDeleteAllRequest",
      "result_model": "ViewConditionalFormatDeleteAllResult",
      "runnable_example": "mammoth view conditional-format delete-all 123 456 --input '{\"rule_id\": \"bca0ff33bd6f8ed1\"}' --yes"
    },
    "view conditional-format list": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "dataset_id",
          "required": false,
          "type": "int"
        }
      ],
      "agent_example": "mammoth view conditional-format list 123 456",
      "command_id": "view.conditional-format.list",
      "contract_level": "typed",
      "description": "List conditional-format rules on a dataview.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth view conditional-format list VIEW_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the view to act on.",
          "metavar": "VIEW_ID",
          "name": "view_id",
          "required": true,
          "type": "int"
        },
        {
          "falls_back_to_field": "dataset_id",
          "help": "ID of the dataset the view belongs to; resolved from the view when omitted.",
          "metavar": "DATASET_ID",
          "name": "dataset_id",
          "required": false,
          "type": "int"
        }
      ],
      "request_model": "ViewConditionalFormatListRequest",
      "result_model": "ViewConditionalFormatListResult",
      "runnable_example": "mammoth view conditional-format list 123 456"
    },
    "view conditional-format replace": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "dataset_id",
          "required": false,
          "type": "int"
        },
        {
          "default": null,
          "enum": null,
          "name": "rule",
          "required": false,
          "type": "dict[str, any]"
        },
        {
          "default": null,
          "enum": null,
          "name": "columns",
          "required": false,
          "type": "list[str]"
        },
        {
          "default": null,
          "enum": null,
          "name": "operator",
          "required": false,
          "type": "str"
        },
        {
          "default": null,
          "enum": null,
          "name": "value",
          "required": false,
          "type": "any"
        },
        {
          "default": null,
          "enum": null,
          "name": "color",
          "required": false,
          "type": "str"
        },
        {
          "default": null,
          "enum": null,
          "name": "name",
          "required": false,
          "type": "str"
        },
        {
          "default": null,
          "enum": [
            "row",
            "columns"
          ],
          "name": "applies_to",
          "required": false,
          "type": "typing.Literal['row', 'columns']"
        },
        {
          "default": null,
          "enum": [
            "any",
            "all"
          ],
          "name": "match",
          "required": false,
          "type": "typing.Literal['any', 'all']"
        }
      ],
      "agent_example": "mammoth view conditional-format replace 123 456 --input '{\"columns\": [\"Q1\", \"Q2\", \"Q3\"], \"operator\": \"<\", \"value\": 55, \"color\": \"red\"}' --yes",
      "command_id": "view.conditional-format.replace",
      "contract_level": "typed",
      "description": "Replace every conditional-format rule on a view with new ones in one call.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth view conditional-format replace VIEW_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the view to act on.",
          "metavar": "VIEW_ID",
          "name": "view_id",
          "required": true,
          "type": "int"
        },
        {
          "falls_back_to_field": "dataset_id",
          "help": "Exact parent dataset ID. Required for this command: pass it here or as the 'dataset_id' input field; only read commands may omit it and discover the parent.",
          "metavar": "DATASET_ID",
          "name": "dataset_id",
          "required": false,
          "type": "int"
        }
      ],
      "request_model": "ViewConditionalFormatReplaceRequest",
      "result_model": "ViewConditionalFormatReplaceResult",
      "runnable_example": "mammoth view conditional-format replace 123 456 --input '{\"columns\": [\"Q1\", \"Q2\", \"Q3\"], \"operator\": \"<\", \"value\": 55, \"color\": \"red\"}' --yes"
    },
    "view conditional-format update": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "dataset_id",
          "required": false,
          "type": "int"
        },
        {
          "default": null,
          "enum": null,
          "name": "rule",
          "required": true,
          "type": "dict[str, any]"
        }
      ],
      "agent_example": "mammoth view conditional-format update 123 456 --input '{\"rule\": {\"name\": \"Status\"}}'",
      "command_id": "view.conditional-format.update",
      "contract_level": "typed",
      "description": "Update a conditional-format rule on a dataview. 'rule' is required.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth view conditional-format update VIEW_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the view to act on.",
          "metavar": "VIEW_ID",
          "name": "view_id",
          "required": true,
          "type": "int"
        },
        {
          "falls_back_to_field": "dataset_id",
          "help": "Exact parent dataset ID. Required for this command: pass it here or as the 'dataset_id' input field; only read commands may omit it and discover the parent.",
          "metavar": "DATASET_ID",
          "name": "dataset_id",
          "required": false,
          "type": "int"
        }
      ],
      "request_model": "ViewConditionalFormatUpdateRequest",
      "result_model": "ViewConditionalFormatUpdateResult",
      "runnable_example": "mammoth view conditional-format update 123 456 --input '{\"rule\": {\"name\": \"Status\"}}'"
    },
    "view create": {
      "accepted_fields": [
        {
          "default": "View",
          "enum": null,
          "name": "name",
          "required": false,
          "type": "str"
        },
        {
          "default": null,
          "enum": null,
          "name": "clone_from",
          "required": false,
          "type": "int"
        }
      ],
      "agent_example": "mammoth view create 123",
      "command_id": "view.create",
      "contract_level": "typed",
      "description": "Create a view from a dataset. Dataset id is positional; name/clone_from optional.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth view create DATASET_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the dataset.",
          "metavar": "DATASET_ID",
          "name": "dataset_id",
          "required": true,
          "type": "int"
        }
      ],
      "request_model": "ViewCreateRequest",
      "result_model": "ViewCreateResult",
      "runnable_example": "mammoth view create 123"
    },
    "view data aggregate": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "dataset_id",
          "required": false,
          "type": "int"
        },
        {
          "default": null,
          "enum": null,
          "name": "aggregations",
          "required": false,
          "type": "list[dict[str, any]]"
        },
        {
          "default": null,
          "enum": null,
          "name": "group_by",
          "required": false,
          "type": "list[str | dict[str, typing.Any]]"
        },
        {
          "default": null,
          "enum": null,
          "name": "metric",
          "required": false,
          "type": "dict[str, any]"
        },
        {
          "default": null,
          "enum": null,
          "name": "condition",
          "required": false,
          "type": "dict[str, any]"
        },
        {
          "default": null,
          "enum": null,
          "name": "sequence",
          "required": false,
          "type": "int"
        },
        {
          "default": null,
          "enum": null,
          "name": "limit",
          "required": false,
          "type": "int"
        },
        {
          "default": null,
          "enum": null,
          "name": "timeout",
          "required": false,
          "type": "int"
        },
        {
          "default": 2,
          "enum": null,
          "name": "poll_interval",
          "required": false,
          "type": "int"
        },
        {
          "default": null,
          "enum": null,
          "name": "order_by",
          "required": false,
          "type": "list[any]"
        },
        {
          "default": null,
          "enum": null,
          "name": "top",
          "required": false,
          "type": "int"
        },
        {
          "default": null,
          "enum": null,
          "name": "text_date_format",
          "required": false,
          "type": "str"
        }
      ],
      "agent_example": "mammoth view data aggregate 123 456 --input '{\"group_by\": [\"Channel\"], \"aggregations\": [{\"column\": \"Spend\", \"function\": \"SUM\", \"as_name\": \"Total Spend\"}]}'",
      "command_id": "view.data.aggregate",
      "contract_level": "typed",
      "description": "'view data aggregate' as the user reads it: floats rounded (2 decimals; 4 below 1).",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth view data aggregate VIEW_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the view to act on.",
          "metavar": "VIEW_ID",
          "name": "view_id",
          "required": true,
          "type": "int"
        },
        {
          "falls_back_to_field": "dataset_id",
          "help": "ID of the dataset the view belongs to; resolved from the view when omitted.",
          "metavar": "DATASET_ID",
          "name": "dataset_id",
          "required": false,
          "type": "int"
        }
      ],
      "request_model": "ViewDataAggregateRequest",
      "result_model": "ViewDataAggregateResult",
      "runnable_example": "mammoth view data aggregate 123 456 --input '{\"group_by\": [\"Channel\"], \"aggregations\": [{\"column\": \"Spend\", \"function\": \"SUM\", \"as_name\": \"Total Spend\"}]}'"
    },
    "view data compare": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "aggregations",
          "required": false,
          "type": "list[any]"
        },
        {
          "default": null,
          "enum": null,
          "name": "group_by",
          "required": false,
          "type": "list[any]"
        },
        {
          "default": null,
          "enum": null,
          "name": "metric",
          "required": false,
          "type": "dict[str, any]"
        },
        {
          "default": null,
          "enum": null,
          "name": "condition",
          "required": false,
          "type": "dict[str, any]"
        },
        {
          "default": null,
          "enum": null,
          "name": "sequence",
          "required": false,
          "type": "int"
        },
        {
          "default": null,
          "enum": null,
          "name": "limit",
          "required": false,
          "type": "int"
        }
      ],
      "agent_example": "mammoth view data compare 111 222 --input '{\"group_by\": [\"Campaign\"], \"aggregations\": [{\"column\": \"Spend\", \"function\": \"SUM\", \"as_name\": \"Spend\"}]}'",
      "command_id": "view.data.compare",
      "contract_level": "typed",
      "description": "Compare the same PIVOT/METRIC aggregate across two views, joined by key.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth view data compare VIEW_ID_A VIEW_ID_B --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the first view to compare.",
          "metavar": "VIEW_ID_A",
          "name": "view_id_a",
          "required": true,
          "type": "int"
        },
        {
          "falls_back_to_field": null,
          "help": "ID of the second view to compare.",
          "metavar": "VIEW_ID_B",
          "name": "view_id_b",
          "required": true,
          "type": "int"
        }
      ],
      "request_model": "ViewDataCompareRequest",
      "result_model": "ViewDataCompareResult",
      "runnable_example": "mammoth view data compare 111 222 --input '{\"group_by\": [\"Campaign\"], \"aggregations\": [{\"column\": \"Spend\", \"function\": \"SUM\", \"as_name\": \"Spend\"}]}'"
    },
    "view data drivers": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "measure",
          "required": true,
          "type": "dict[str, any]"
        },
        {
          "default": null,
          "enum": null,
          "name": "date_column",
          "required": true,
          "type": "str"
        },
        {
          "default": null,
          "enum": null,
          "name": "compare",
          "required": true,
          "type": "list[any]"
        },
        {
          "default": null,
          "enum": null,
          "name": "by",
          "required": true,
          "type": "list[str]"
        },
        {
          "default": null,
          "enum": null,
          "name": "conditions",
          "required": false,
          "type": "dict[str, any]"
        }
      ],
      "agent_example": "mammoth view data drivers 123 --input '{\"measure\": {\"column\": \"revenue\", \"function\": \"SUM\"}, \"date_column\": \"sale_date\", \"compare\": [\"2026-07\", \"2026-08\"], \"by\": [\"store\", \"category\"]}'",
      "command_id": "view.data.drivers",
      "contract_level": "typed",
      "description": "Explain a measure's change between two periods: totals, volume vs value, top contributors.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth view data drivers VIEW_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the view whose figures rose or dropped: the change to explain.",
          "metavar": "VIEW_ID",
          "name": "view_id",
          "required": true,
          "type": "int"
        },
        {
          "falls_back_to_field": null,
          "help": "ID of the dataset the view belongs to; resolved from the view when omitted.",
          "metavar": "DATASET_ID",
          "name": "dataset_id",
          "required": false,
          "type": "int"
        }
      ],
      "request_model": "ViewDataDriversRequest",
      "result_model": "ViewDataDriversResult",
      "runnable_example": "mammoth view data drivers 123 --input '{\"measure\": {\"column\": \"revenue\", \"function\": \"SUM\"}, \"date_column\": \"sale_date\", \"compare\": [\"2026-07\", \"2026-08\"], \"by\": [\"store\", \"category\"]}'"
    },
    "view data explore": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "dataset_id",
          "required": false,
          "type": "int"
        },
        {
          "default": null,
          "enum": null,
          "name": "column_type",
          "required": false,
          "type": "str"
        },
        {
          "default": null,
          "enum": null,
          "name": "level",
          "required": false,
          "type": "str"
        },
        {
          "default": null,
          "enum": null,
          "name": "metric",
          "required": false,
          "type": "dict[str, any]"
        },
        {
          "default": null,
          "enum": null,
          "name": "condition",
          "required": false,
          "type": "dict[str, any]"
        },
        {
          "default": null,
          "enum": null,
          "name": "sequence",
          "required": false,
          "type": "int"
        },
        {
          "default": null,
          "enum": null,
          "name": "limit",
          "required": false,
          "type": "int"
        },
        {
          "default": null,
          "enum": null,
          "name": "offset",
          "required": false,
          "type": "int"
        },
        {
          "default": null,
          "enum": null,
          "name": "sort",
          "required": false,
          "type": "str"
        },
        {
          "default": false,
          "enum": null,
          "name": "cumulative",
          "required": false,
          "type": "bool"
        },
        {
          "default": null,
          "enum": null,
          "name": "percentage_of",
          "required": false,
          "type": "str"
        },
        {
          "default": null,
          "enum": null,
          "name": "timeout",
          "required": false,
          "type": "int"
        },
        {
          "default": 2,
          "enum": null,
          "name": "poll_interval",
          "required": false,
          "type": "int"
        },
        {
          "default": null,
          "enum": null,
          "name": "text_date_format",
          "required": false,
          "type": "str"
        },
        {
          "default": false,
          "enum": null,
          "name": "range",
          "required": false,
          "type": "bool"
        }
      ],
      "agent_example": "mammoth view data explore 123 Status 456",
      "command_id": "view.data.explore",
      "contract_level": "typed",
      "description": "Read one column's values: top values, distribution, trend over time, date range (read-only; this is not an Explore card, it opens and changes no card in the UI, that is 'view explore-panel set'): DATE counts per 'level' bucket (AUTO, SECOND to MILLENNIUM), NUMERIC per power-of-10 'level', TEXT top values ('limit' 20), each with 'count' and 'percentage'; 'metric' (a column plus SUM/AVG/MIN/MAX/STDDEV/COUNT/DISTINCT_COUNT) adds a per-bucket value, 'percentage_of' \"metric\" shares by it, 'sort' count_/value_/metric_ + asc/desc, 'condition' filters first (include, exclude, blanks, range, contains; an exclude drops blank rows the card keeps, so or it with IS_EMPTY; drill down = finer 'level' + 'condition' on the bucket), 'limit'/'offset' page, 'range' true adds the exact earliest and latest value, 'cumulative' a running total; '-o csv' saves the values; to put it on a dashboard say it in words to 'dashboard chat edit'.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth view data explore VIEW_ID COLUMN --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the view to act on.",
          "metavar": "VIEW_ID",
          "name": "view_id",
          "required": true,
          "type": "int"
        },
        {
          "falls_back_to_field": null,
          "help": "Display name of the column to explore.",
          "metavar": "COLUMN",
          "name": "column",
          "required": true,
          "type": "str"
        },
        {
          "falls_back_to_field": "dataset_id",
          "help": "ID of the dataset the view belongs to; resolved from the view when omitted.",
          "metavar": "DATASET_ID",
          "name": "dataset_id",
          "required": false,
          "type": "int"
        }
      ],
      "request_model": "ViewDataExploreRequest",
      "result_model": "ViewDataExploreResult",
      "runnable_example": "mammoth view data explore 123 Status 456"
    },
    "view data forecast": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "measure",
          "required": true,
          "type": "dict[str, any]"
        },
        {
          "default": null,
          "enum": null,
          "name": "date_column",
          "required": true,
          "type": "str"
        },
        {
          "default": "month",
          "enum": [
            "month",
            "quarter",
            "week"
          ],
          "name": "unit",
          "required": false,
          "type": "typing.Literal['month', 'quarter', 'week']"
        },
        {
          "default": 1,
          "enum": null,
          "name": "periods",
          "required": false,
          "type": "int"
        },
        {
          "default": null,
          "enum": null,
          "name": "conditions",
          "required": false,
          "type": "dict[str, any]"
        }
      ],
      "agent_example": "mammoth view data forecast 123 --input '{\"measure\": {\"column\": \"revenue\", \"function\": \"SUM\"}, \"date_column\": \"sale_date\", \"unit\": \"month\", \"periods\": 2}'",
      "command_id": "view.data.forecast",
      "contract_level": "typed",
      "description": "Forecast a measure's next months, quarters or weeks: linear trend with a 95% range.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth view data forecast VIEW_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the view to forecast from, e.g. to estimate what revenue will be next month or in October.",
          "metavar": "VIEW_ID",
          "name": "view_id",
          "required": true,
          "type": "int"
        },
        {
          "falls_back_to_field": null,
          "help": "ID of the dataset the view belongs to; resolved from the view when omitted.",
          "metavar": "DATASET_ID",
          "name": "dataset_id",
          "required": false,
          "type": "int"
        }
      ],
      "request_model": "ViewDataForecastRequest",
      "result_model": "ViewDataForecastResult",
      "runnable_example": "mammoth view data forecast 123 --input '{\"measure\": {\"column\": \"revenue\", \"function\": \"SUM\"}, \"date_column\": \"sale_date\", \"unit\": \"month\", \"periods\": 2}'"
    },
    "view data get": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "dataset_id",
          "required": false,
          "type": "int"
        },
        {
          "default": null,
          "enum": null,
          "name": "timeout",
          "required": false,
          "type": "int"
        },
        {
          "default": null,
          "enum": null,
          "name": "poll_interval",
          "required": false,
          "type": "float"
        },
        {
          "default": null,
          "enum": null,
          "name": "sequence",
          "required": false,
          "type": "int"
        },
        {
          "default": false,
          "enum": null,
          "name": "raw",
          "required": false,
          "type": "bool"
        },
        {
          "default": 50,
          "enum": null,
          "name": "limit",
          "required": false,
          "type": "int"
        },
        {
          "default": 0,
          "enum": null,
          "name": "offset",
          "required": false,
          "type": "int"
        },
        {
          "default": null,
          "enum": null,
          "name": "columns",
          "required": false,
          "type": "list[str]"
        }
      ],
      "agent_example": "mammoth view data get 123 456",
      "command_id": "view.data.get",
      "contract_level": "typed",
      "description": "Fetch a dataview's data, waiting for the backing job to complete.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth view data get VIEW_ID --help",
      "notes": [
        "Input field raw: true returns DATE values with their time, not the date alone."
      ],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the view to act on.",
          "metavar": "VIEW_ID",
          "name": "view_id",
          "required": true,
          "type": "int"
        },
        {
          "falls_back_to_field": "dataset_id",
          "help": "ID of the dataset the view belongs to; resolved from the view when omitted.",
          "metavar": "DATASET_ID",
          "name": "dataset_id",
          "required": false,
          "type": "int"
        }
      ],
      "request_model": "ViewDataGetRequest",
      "result_model": "ViewDataGetResult",
      "runnable_example": "mammoth view data get 123 456"
    },
    "view data profile": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "target",
          "required": false,
          "type": "str"
        },
        {
          "default": null,
          "enum": null,
          "name": "columns",
          "required": false,
          "type": "list[str]"
        },
        {
          "default": 5,
          "enum": null,
          "name": "top",
          "required": false,
          "type": "int"
        },
        {
          "default": 50,
          "enum": null,
          "name": "limit",
          "required": false,
          "type": "int"
        }
      ],
      "agent_example": "mammoth view data profile 123 --input '{\"target\": \"Churn\"}'",
      "command_id": "view.data.profile",
      "contract_level": "typed",
      "description": "Profile a view's columns over all its rows; 'target' ranks columns against an outcome.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth view data profile VIEW_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the view to act on.",
          "metavar": "VIEW_ID",
          "name": "view_id",
          "required": true,
          "type": "int"
        },
        {
          "falls_back_to_field": "dataset_id",
          "help": "ID of the dataset the view belongs to; resolved from the view when omitted.",
          "metavar": "DATASET_ID",
          "name": "dataset_id",
          "required": false,
          "type": "int"
        }
      ],
      "request_model": "ViewDataProfileRequest",
      "result_model": "ViewDataProfileResult",
      "runnable_example": "mammoth view data profile 123 --input '{\"target\": \"Churn\"}'"
    },
    "view data query": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "dataset_id",
          "required": false,
          "type": "int"
        },
        {
          "default": null,
          "enum": null,
          "name": "sequence",
          "required": false,
          "type": "int"
        },
        {
          "default": 1,
          "enum": null,
          "name": "offset",
          "required": false,
          "type": "int"
        },
        {
          "default": 400,
          "enum": null,
          "name": "limit",
          "required": false,
          "type": "int"
        },
        {
          "default": null,
          "enum": null,
          "name": "columns",
          "required": false,
          "type": "list[str]"
        },
        {
          "default": null,
          "enum": null,
          "name": "condition",
          "required": false,
          "type": "dict[str, any]"
        },
        {
          "default": null,
          "enum": null,
          "name": "sort",
          "required": false,
          "type": "str"
        },
        {
          "default": false,
          "enum": null,
          "name": "raw",
          "required": false,
          "type": "bool"
        },
        {
          "default": null,
          "enum": null,
          "name": "text_date_format",
          "required": false,
          "type": "str"
        }
      ],
      "agent_example": "mammoth view data query 123 456",
      "command_id": "view.data.query",
      "contract_level": "typed",
      "description": "Query a dataview's data with optional filtering, sorting, and paging.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth view data query VIEW_ID --help",
      "notes": [
        "Input field raw: true returns DATE values with their time, not the date alone."
      ],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the view to act on.",
          "metavar": "VIEW_ID",
          "name": "view_id",
          "required": true,
          "type": "int"
        },
        {
          "falls_back_to_field": "dataset_id",
          "help": "ID of the dataset the view belongs to; resolved from the view when omitted.",
          "metavar": "DATASET_ID",
          "name": "dataset_id",
          "required": false,
          "type": "int"
        }
      ],
      "request_model": "ViewDataQueryRequest",
      "result_model": "ViewDataQueryResult",
      "runnable_example": "mammoth view data query 123 456"
    },
    "view data-check create": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "dataset_id",
          "required": false,
          "type": "int"
        },
        {
          "default": null,
          "enum": null,
          "name": "body",
          "required": true,
          "type": "dict[str, any]"
        }
      ],
      "agent_example": "mammoth view data-check create 123 456 --input '{\"body\": {\"checks\": [{\"check_type\": \"null_percentage\", \"config\": {\"column\": \"Status\", \"condition\": \"lt\"}}], \"name\": \"Revenue report\", \"pinned_to_end\": true}}'",
      "command_id": "view.data-check.create",
      "contract_level": "partially_typed",
      "description": "Create a data check on a dataview. 'body' is required.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth view data-check create VIEW_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the view to act on.",
          "metavar": "VIEW_ID",
          "name": "view_id",
          "required": true,
          "type": "int"
        },
        {
          "falls_back_to_field": "dataset_id",
          "help": "Exact parent dataset ID. Required for this command: pass it here or as the 'dataset_id' input field; only read commands may omit it and discover the parent.",
          "metavar": "DATASET_ID",
          "name": "dataset_id",
          "required": false,
          "type": "int"
        }
      ],
      "request_model": "ViewDataCheckCreateRequest",
      "result_model": "ViewDataCheckCreateResult",
      "runnable_example": "mammoth view data-check create 123 456 --input '{\"body\": {\"checks\": [{\"check_type\": \"null_percentage\", \"config\": {\"column\": \"Status\", \"condition\": \"lt\"}}], \"name\": \"Revenue report\", \"pinned_to_end\": true}}'"
    },
    "view data-check delete": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "dataset_id",
          "required": false,
          "type": "int"
        }
      ],
      "agent_example": "mammoth view data-check delete 123 456 789 --yes",
      "command_id": "view.data-check.delete",
      "contract_level": "typed",
      "description": "Delete one data check by id. Prompt or '--yes' required.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth view data-check delete VIEW_ID DATA_CHECK_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the view to act on.",
          "metavar": "VIEW_ID",
          "name": "view_id",
          "required": true,
          "type": "int"
        },
        {
          "falls_back_to_field": null,
          "help": "ID of the data check.",
          "metavar": "DATA_CHECK_ID",
          "name": "data_check_id",
          "required": true,
          "type": "int"
        },
        {
          "falls_back_to_field": "dataset_id",
          "help": "Exact parent dataset ID. Required for this command: pass it here or as the 'dataset_id' input field; only read commands may omit it and discover the parent.",
          "metavar": "DATASET_ID",
          "name": "dataset_id",
          "required": false,
          "type": "int"
        }
      ],
      "request_model": "ViewDataCheckDeleteRequest",
      "result_model": "ViewDataCheckDeleteResult",
      "runnable_example": "mammoth view data-check delete 123 456 789 --yes"
    },
    "view data-check get": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "dataset_id",
          "required": false,
          "type": "int"
        },
        {
          "default": null,
          "enum": null,
          "name": "fields",
          "required": false,
          "type": "str"
        }
      ],
      "agent_example": "mammoth view data-check get 123 456 789",
      "command_id": "view.data-check.get",
      "contract_level": "typed",
      "description": "Get one data check by id.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth view data-check get VIEW_ID DATA_CHECK_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the view to act on.",
          "metavar": "VIEW_ID",
          "name": "view_id",
          "required": true,
          "type": "int"
        },
        {
          "falls_back_to_field": null,
          "help": "ID of the data check.",
          "metavar": "DATA_CHECK_ID",
          "name": "data_check_id",
          "required": true,
          "type": "int"
        },
        {
          "falls_back_to_field": "dataset_id",
          "help": "ID of the dataset the view belongs to; resolved from the view when omitted.",
          "metavar": "DATASET_ID",
          "name": "dataset_id",
          "required": false,
          "type": "int"
        }
      ],
      "request_model": "ViewDataCheckGetRequest",
      "result_model": "ViewDataCheckGetResult",
      "runnable_example": "mammoth view data-check get 123 456 789"
    },
    "view data-check list": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "dataset_id",
          "required": false,
          "type": "int"
        },
        {
          "default": null,
          "enum": null,
          "name": "fields",
          "required": false,
          "type": "str"
        },
        {
          "default": null,
          "enum": null,
          "name": "sort",
          "required": false,
          "type": "str"
        },
        {
          "default": null,
          "enum": null,
          "name": "sequence",
          "required": false,
          "type": "str"
        },
        {
          "default": null,
          "enum": null,
          "name": "status",
          "required": false,
          "type": "str"
        }
      ],
      "agent_example": "mammoth view data-check list 123 456",
      "command_id": "view.data-check.list",
      "contract_level": "typed",
      "description": "List data checks on a dataview, with optional filters from '--input'.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth view data-check list VIEW_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the view to act on.",
          "metavar": "VIEW_ID",
          "name": "view_id",
          "required": true,
          "type": "int"
        },
        {
          "falls_back_to_field": "dataset_id",
          "help": "ID of the dataset the view belongs to; resolved from the view when omitted.",
          "metavar": "DATASET_ID",
          "name": "dataset_id",
          "required": false,
          "type": "int"
        }
      ],
      "request_model": "ViewDataCheckListRequest",
      "result_model": "ViewDataCheckListResult",
      "runnable_example": "mammoth view data-check list 123 456"
    },
    "view data-check update": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "dataset_id",
          "required": false,
          "type": "int"
        },
        {
          "default": null,
          "enum": null,
          "name": "body",
          "required": true,
          "type": "dict[str, any]"
        }
      ],
      "agent_example": "mammoth view data-check update 123 456 789 --input '{\"body\": {\"patches\": [{\"op\": \"command\", \"path\": \"disable\", \"value\": null}]}}'",
      "command_id": "view.data-check.update",
      "contract_level": "partially_typed",
      "description": "Update one data check by id. 'body' is required.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth view data-check update VIEW_ID DATA_CHECK_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the view to act on.",
          "metavar": "VIEW_ID",
          "name": "view_id",
          "required": true,
          "type": "int"
        },
        {
          "falls_back_to_field": null,
          "help": "ID of the data check.",
          "metavar": "DATA_CHECK_ID",
          "name": "data_check_id",
          "required": true,
          "type": "int"
        },
        {
          "falls_back_to_field": "dataset_id",
          "help": "Exact parent dataset ID. Required for this command: pass it here or as the 'dataset_id' input field; only read commands may omit it and discover the parent.",
          "metavar": "DATASET_ID",
          "name": "dataset_id",
          "required": false,
          "type": "int"
        }
      ],
      "request_model": "ViewDataCheckUpdateRequest",
      "result_model": "ViewDataCheckUpdateResult",
      "runnable_example": "mammoth view data-check update 123 456 789 --input '{\"body\": {\"patches\": [{\"op\": \"command\", \"path\": \"disable\", \"value\": null}]}}'"
    },
    "view delete": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "dataset_id",
          "required": false,
          "type": "int"
        }
      ],
      "agent_example": "mammoth view delete 123 456 --yes",
      "command_id": "view.delete",
      "contract_level": "typed",
      "description": "Permanently delete one view by id. Prompt or '--yes' required.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth view delete VIEW_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the view.",
          "metavar": "VIEW_ID",
          "name": "view_id",
          "required": true,
          "type": "int"
        },
        {
          "falls_back_to_field": "dataset_id",
          "help": "Exact parent dataset ID. Required for this command: pass it here or as the 'dataset_id' input field; only read commands may omit it and discover the parent.",
          "metavar": "DATASET_ID",
          "name": "dataset_id",
          "required": false,
          "type": "int"
        }
      ],
      "request_model": "ViewDeleteRequest",
      "result_model": "ViewDeleteResult",
      "runnable_example": "mammoth view delete 123 456 --yes"
    },
    "view derivative create": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "dataset_id",
          "required": false,
          "type": "int"
        },
        {
          "default": null,
          "enum": null,
          "name": "body",
          "required": true,
          "type": "dict[str, any]"
        }
      ],
      "agent_example": "mammoth view derivative create 123 456 --input '{\"body\": {\"param\": {\"METRIC\": {\"AS\": \"total\", \"EXPRESSION\": [{\"TYPE\": \"FUNCTION\", \"VALUE\": {\"ARGUMENT\": \"column_1\", \"FUNCTION\": \"SUM\"}}]}}}}'",
      "command_id": "view.derivative.create",
      "contract_level": "partially_typed",
      "description": "Create a derivative on a dataview. 'body' is required.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth view derivative create VIEW_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the view to act on.",
          "metavar": "VIEW_ID",
          "name": "view_id",
          "required": true,
          "type": "int"
        },
        {
          "falls_back_to_field": "dataset_id",
          "help": "Exact parent dataset ID. Required for this command: pass it here or as the 'dataset_id' input field; only read commands may omit it and discover the parent.",
          "metavar": "DATASET_ID",
          "name": "dataset_id",
          "required": false,
          "type": "int"
        }
      ],
      "request_model": "ViewDerivativeCreateRequest",
      "result_model": "ViewDerivativeCreateResult",
      "runnable_example": "mammoth view derivative create 123 456 --input '{\"body\": {\"param\": {\"METRIC\": {\"AS\": \"total\", \"EXPRESSION\": [{\"TYPE\": \"FUNCTION\", \"VALUE\": {\"ARGUMENT\": \"column_1\", \"FUNCTION\": \"SUM\"}}]}}}}'"
    },
    "view derivative data": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "dataset_id",
          "required": false,
          "type": "int"
        },
        {
          "default": null,
          "enum": null,
          "name": "body",
          "required": true,
          "type": "dict[str, any]"
        }
      ],
      "agent_example": "mammoth view derivative data 123 456 789 --input '{\"body\": {\"limit\": null}}'",
      "command_id": "view.derivative.data",
      "contract_level": "partially_typed",
      "description": "Fetch data for one derivative by id. 'body' is required.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth view derivative data VIEW_ID DERIVATIVE_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the view to act on.",
          "metavar": "VIEW_ID",
          "name": "view_id",
          "required": true,
          "type": "int"
        },
        {
          "falls_back_to_field": null,
          "help": "ID of the derivative.",
          "metavar": "DERIVATIVE_ID",
          "name": "derivative_id",
          "required": true,
          "type": "int"
        },
        {
          "falls_back_to_field": "dataset_id",
          "help": "Exact parent dataset ID. Required for this command: pass it here or as the 'dataset_id' input field; only read commands may omit it and discover the parent.",
          "metavar": "DATASET_ID",
          "name": "dataset_id",
          "required": false,
          "type": "int"
        }
      ],
      "request_model": "ViewDerivativeDataRequest",
      "result_model": "ViewDerivativeDataResult",
      "runnable_example": "mammoth view derivative data 123 456 789 --input '{\"body\": {\"limit\": null}}'"
    },
    "view derivative delete": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "dataset_id",
          "required": false,
          "type": "int"
        }
      ],
      "agent_example": "mammoth view derivative delete 123 456 789 --yes",
      "command_id": "view.derivative.delete",
      "contract_level": "typed",
      "description": "Delete one derivative by id. Prompt or '--yes' required.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth view derivative delete VIEW_ID DERIVATIVE_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the view to act on.",
          "metavar": "VIEW_ID",
          "name": "view_id",
          "required": true,
          "type": "int"
        },
        {
          "falls_back_to_field": null,
          "help": "ID of the derivative.",
          "metavar": "DERIVATIVE_ID",
          "name": "derivative_id",
          "required": true,
          "type": "int"
        },
        {
          "falls_back_to_field": "dataset_id",
          "help": "Exact parent dataset ID. Required for this command: pass it here or as the 'dataset_id' input field; only read commands may omit it and discover the parent.",
          "metavar": "DATASET_ID",
          "name": "dataset_id",
          "required": false,
          "type": "int"
        }
      ],
      "request_model": "ViewDerivativeDeleteRequest",
      "result_model": "ViewDerivativeDeleteResult",
      "runnable_example": "mammoth view derivative delete 123 456 789 --yes"
    },
    "view derivative list": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "dataset_id",
          "required": false,
          "type": "int"
        }
      ],
      "agent_example": "mammoth view derivative list 123 456",
      "command_id": "view.derivative.list",
      "contract_level": "typed",
      "description": "List derivatives on a dataview.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth view derivative list VIEW_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the view to act on.",
          "metavar": "VIEW_ID",
          "name": "view_id",
          "required": true,
          "type": "int"
        },
        {
          "falls_back_to_field": "dataset_id",
          "help": "ID of the dataset the view belongs to; resolved from the view when omitted.",
          "metavar": "DATASET_ID",
          "name": "dataset_id",
          "required": false,
          "type": "int"
        }
      ],
      "request_model": "ViewDerivativeListRequest",
      "result_model": "ViewDerivativeListResult",
      "runnable_example": "mammoth view derivative list 123 456"
    },
    "view derivative update": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "dataset_id",
          "required": false,
          "type": "int"
        },
        {
          "default": null,
          "enum": null,
          "name": "body",
          "required": true,
          "type": "dict[str, any]"
        }
      ],
      "agent_example": "mammoth view derivative update 123 456 789 --input '{\"body\": {\"patches\": [{\"op\": \"replace\", \"path\": \"param\", \"value\": {\"METRIC\": {\"AS\": \"Total revenue\", \"EXPRESSION\": [{\"TYPE\": \"FUNCTION\", \"VALUE\": {\"FUNCTION\": \"SUM\"}}]}}}]}}'",
      "command_id": "view.derivative.update",
      "contract_level": "partially_typed",
      "description": "Update one derivative by id. 'body' is required.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth view derivative update VIEW_ID DERIVATIVE_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the view to act on.",
          "metavar": "VIEW_ID",
          "name": "view_id",
          "required": true,
          "type": "int"
        },
        {
          "falls_back_to_field": null,
          "help": "ID of the derivative.",
          "metavar": "DERIVATIVE_ID",
          "name": "derivative_id",
          "required": true,
          "type": "int"
        },
        {
          "falls_back_to_field": "dataset_id",
          "help": "Exact parent dataset ID. Required for this command: pass it here or as the 'dataset_id' input field; only read commands may omit it and discover the parent.",
          "metavar": "DATASET_ID",
          "name": "dataset_id",
          "required": false,
          "type": "int"
        }
      ],
      "request_model": "ViewDerivativeUpdateRequest",
      "result_model": "ViewDerivativeUpdateResult",
      "runnable_example": "mammoth view derivative update 123 456 789 --input '{\"body\": {\"patches\": [{\"op\": \"replace\", \"path\": \"param\", \"value\": {\"METRIC\": {\"AS\": \"Total revenue\", \"EXPRESSION\": [{\"TYPE\": \"FUNCTION\", \"VALUE\": {\"FUNCTION\": \"SUM\"}}]}}}]}}'"
    },
    "view draft auto-run": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "enabled",
          "required": true,
          "type": "bool"
        },
        {
          "default": null,
          "enum": null,
          "name": "dataset_id",
          "required": false,
          "type": "int"
        }
      ],
      "agent_example": "mammoth view draft auto-run 123 --input '{\"enabled\": true, \"dataset_id\": 456}'",
      "command_id": "view.draft.auto-run",
      "contract_level": "typed",
      "description": "Set whether a view's draft pipeline auto-runs. 'enabled' is required.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth view draft auto-run VIEW_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the view to act on.",
          "metavar": "VIEW_ID",
          "name": "view_id",
          "required": true,
          "type": "int"
        }
      ],
      "request_model": "ViewDraftAutoRunRequest",
      "result_model": "ViewDraftAutoRunResult",
      "runnable_example": "mammoth view draft auto-run 123 --input '{\"enabled\": true, \"dataset_id\": 456}'"
    },
    "view draft command": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "command",
          "required": true,
          "type": "str"
        },
        {
          "default": null,
          "enum": null,
          "name": "dataset_id",
          "required": false,
          "type": "int"
        }
      ],
      "agent_example": "mammoth view draft command 123 --input '{\"command\": \"enter\", \"dataset_id\": 456}'",
      "command_id": "view.draft.command",
      "contract_level": "typed",
      "description": "Run a release-valid draft operation against a dataview.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth view draft command DATAVIEW_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the dataview.",
          "metavar": "DATAVIEW_ID",
          "name": "dataview_id",
          "required": true,
          "type": "int"
        }
      ],
      "request_model": "ViewDraftCommandRequest",
      "result_model": "ViewDraftCommandResult",
      "runnable_example": "mammoth view draft command 123 --input '{\"command\": \"enter\", \"dataset_id\": 456}'"
    },
    "view draft discard": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "dataset_id",
          "required": false,
          "type": "int"
        }
      ],
      "agent_example": "mammoth view draft discard 123 --input '{\"dataset_id\": 456}' --yes",
      "command_id": "view.draft.discard",
      "contract_level": "typed",
      "description": "Discard a view's draft pipeline changes. Prompt or '--yes' required.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth view draft discard VIEW_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the view to act on.",
          "metavar": "VIEW_ID",
          "name": "view_id",
          "required": true,
          "type": "int"
        }
      ],
      "request_model": "ViewDraftDiscardRequest",
      "result_model": "ViewDraftDiscardResult",
      "runnable_example": "mammoth view draft discard 123 --input '{\"dataset_id\": 456}' --yes"
    },
    "view draft enter": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "dataset_id",
          "required": false,
          "type": "int"
        }
      ],
      "agent_example": "mammoth view draft enter 123 --input '{\"dataset_id\": 456}'",
      "command_id": "view.draft.enter",
      "contract_level": "typed",
      "description": "Enter draft mode on a view's pipeline.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth view draft enter VIEW_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the view to act on.",
          "metavar": "VIEW_ID",
          "name": "view_id",
          "required": true,
          "type": "int"
        }
      ],
      "request_model": "ViewDraftEnterRequest",
      "result_model": "ViewDraftEnterResult",
      "runnable_example": "mammoth view draft enter 123 --input '{\"dataset_id\": 456}'"
    },
    "view draft status": {
      "accepted_fields": [],
      "agent_example": "mammoth view draft status 123",
      "command_id": "view.draft.status",
      "contract_level": "typed",
      "description": "Report whether a view's pipeline is currently in draft mode.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth view draft status DATAVIEW_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the dataview.",
          "metavar": "DATAVIEW_ID",
          "name": "dataview_id",
          "required": true,
          "type": "int"
        }
      ],
      "request_model": "ViewDraftStatusRequest",
      "result_model": "ViewDraftStatusResult",
      "runnable_example": "mammoth view draft status 123"
    },
    "view draft submit": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "dataset_id",
          "required": false,
          "type": "int"
        }
      ],
      "agent_example": "mammoth view draft submit 123 --input '{\"dataset_id\": 456}'",
      "command_id": "view.draft.submit",
      "contract_level": "typed",
      "description": "Submit a view's draft pipeline changes.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth view draft submit VIEW_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the view to act on.",
          "metavar": "VIEW_ID",
          "name": "view_id",
          "required": true,
          "type": "int"
        }
      ],
      "request_model": "ViewDraftSubmitRequest",
      "result_model": "ViewDraftSubmitResult",
      "runnable_example": "mammoth view draft submit 123 --input '{\"dataset_id\": 456}'"
    },
    "view explore-panel add-to-dashboard": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "card",
          "required": true,
          "type": "str"
        },
        {
          "default": null,
          "enum": null,
          "name": "new_dashboard_title",
          "required": false,
          "type": "str"
        },
        {
          "default": null,
          "enum": null,
          "name": "page",
          "required": false,
          "type": "dict[str, any]"
        }
      ],
      "agent_example": "mammoth view explore-panel add-to-dashboard 123 --input '{\"card\": \"Region\", \"new_dashboard_title\": \"Regions\"}'",
      "command_id": "view.explore-panel.add-to-dashboard",
      "contract_level": "typed",
      "description": "Put an Explore card on a dashboard as a figure, like the card menu's Add to dashboard.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth view explore-panel add-to-dashboard VIEW_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the view to act on.",
          "metavar": "VIEW_ID",
          "name": "view_id",
          "required": true,
          "type": "int"
        },
        {
          "falls_back_to_field": "dataset_id",
          "help": "Optional parent dataset ID. Leave it out and the CLI looks up the view's dataset. A value that is not the view's dataset is refused before the write.",
          "metavar": "DATASET_ID",
          "name": "dataset_id",
          "required": false,
          "type": "int"
        }
      ],
      "request_model": "ViewExplorePanelAddToDashboardRequest",
      "result_model": "ViewExplorePanelAddToDashboardResult",
      "runnable_example": "mammoth view explore-panel add-to-dashboard 123 --input '{\"card\": \"Region\", \"new_dashboard_title\": \"Regions\"}'"
    },
    "view explore-panel edit": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "dataset_id",
          "required": false,
          "type": "int"
        },
        {
          "default": null,
          "enum": null,
          "name": "edits",
          "required": true,
          "type": "list[dict[str, any]]"
        }
      ],
      "agent_example": "mammoth view explore-panel edit 123 456 --input '{\"edits\": [{\"op\": \"metric\", \"card\": \"Region\", \"agg\": \"SUM\", \"of\": \"Amount\"}]}'",
      "command_id": "view.explore-panel.edit",
      "contract_level": "typed",
      "description": "Change Explore cards as the card menus do; the result carries the panel read back.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth view explore-panel edit VIEW_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the view to act on.",
          "metavar": "VIEW_ID",
          "name": "view_id",
          "required": true,
          "type": "int"
        },
        {
          "falls_back_to_field": "dataset_id",
          "help": "Optional parent dataset ID. Leave it out and the CLI looks up the view's dataset. A value that is not the view's dataset is refused before the write.",
          "metavar": "DATASET_ID",
          "name": "dataset_id",
          "required": false,
          "type": "int"
        }
      ],
      "request_model": "ViewExplorePanelEditRequest",
      "result_model": "ViewExplorePanelEditResult",
      "runnable_example": "mammoth view explore-panel edit 123 456 --input '{\"edits\": [{\"op\": \"metric\", \"card\": \"Region\", \"agg\": \"SUM\", \"of\": \"Amount\"}]}'"
    },
    "view explore-panel export-image": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "style_id",
          "required": false,
          "type": "str"
        },
        {
          "default": null,
          "enum": null,
          "name": "card",
          "required": true,
          "type": "str"
        },
        {
          "default": null,
          "enum": null,
          "name": "output_path",
          "required": false,
          "type": "str"
        }
      ],
      "agent_example": "mammoth view explore-panel export-image 123 --input '{\"card\": \"Region\", \"output_path\": \"card.svg\", \"style_id\": null}'",
      "command_id": "view.explore-panel.export-image",
      "contract_level": "typed",
      "description": "Write one open Explore card as an SVG image file (a bar chart or a table of its rows).",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth view explore-panel export-image VIEW_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the view to act on.",
          "metavar": "VIEW_ID",
          "name": "view_id",
          "required": true,
          "type": "int"
        },
        {
          "falls_back_to_field": "dataset_id",
          "help": "ID of the dataset the view belongs to; resolved from the view when omitted.",
          "metavar": "DATASET_ID",
          "name": "dataset_id",
          "required": false,
          "type": "int"
        }
      ],
      "request_model": "ViewExplorePanelExportImageRequest",
      "result_model": "ViewExplorePanelExportImageResult",
      "runnable_example": "mammoth view explore-panel export-image 123 --input '{\"card\": \"Region\", \"output_path\": \"card.svg\", \"style_id\": null}'"
    },
    "view explore-panel get": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "dataset_id",
          "required": false,
          "type": "int"
        }
      ],
      "agent_example": "mammoth view explore-panel get 123 456",
      "command_id": "view.explore-panel.get",
      "contract_level": "typed",
      "description": "Read the Explore panel the caller saved on a view (empty when none is saved).",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth view explore-panel get VIEW_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the view to act on.",
          "metavar": "VIEW_ID",
          "name": "view_id",
          "required": true,
          "type": "int"
        },
        {
          "falls_back_to_field": "dataset_id",
          "help": "ID of the dataset the view belongs to; resolved from the view when omitted.",
          "metavar": "DATASET_ID",
          "name": "dataset_id",
          "required": false,
          "type": "int"
        }
      ],
      "request_model": "ViewExplorePanelGetRequest",
      "result_model": "ViewExplorePanelGetResult",
      "runnable_example": "mammoth view explore-panel get 123 456"
    },
    "view explore-panel set": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "dataset_id",
          "required": false,
          "type": "int"
        },
        {
          "default": null,
          "enum": null,
          "name": "panel",
          "required": true,
          "type": "dict[str, any]"
        }
      ],
      "agent_example": "mammoth view explore-panel set 123 456 --input '{\"panel\": {\"columns\": \"all\"}}'",
      "command_id": "view.explore-panel.set",
      "contract_level": "typed",
      "description": "Replace the caller's saved Explore panel; the result carries the panel read back after.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth view explore-panel set VIEW_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the view to act on.",
          "metavar": "VIEW_ID",
          "name": "view_id",
          "required": true,
          "type": "int"
        },
        {
          "falls_back_to_field": "dataset_id",
          "help": "Optional parent dataset ID. Leave it out and the CLI looks up the view's dataset. A value that is not the view's dataset is refused before the write.",
          "metavar": "DATASET_ID",
          "name": "dataset_id",
          "required": false,
          "type": "int"
        }
      ],
      "request_model": "ViewExplorePanelSetRequest",
      "result_model": "ViewExplorePanelSetResult",
      "runnable_example": "mammoth view explore-panel set 123 456 --input '{\"panel\": {\"columns\": \"all\"}}'"
    },
    "view export azure-blob": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "storage_account_name",
          "required": true,
          "type": "str"
        },
        {
          "default": null,
          "enum": null,
          "name": "tenant_id",
          "required": true,
          "type": "str"
        },
        {
          "default": null,
          "enum": null,
          "name": "client_id",
          "required": true,
          "type": "str"
        },
        {
          "default": null,
          "enum": null,
          "name": "client_secret",
          "required": true,
          "type": "str"
        },
        {
          "default": null,
          "enum": null,
          "name": "container_name",
          "required": true,
          "type": "str"
        },
        {
          "default": "",
          "enum": null,
          "name": "folder_path",
          "required": false,
          "type": "str"
        },
        {
          "default": "",
          "enum": null,
          "name": "file_name",
          "required": false,
          "type": "str"
        },
        {
          "default": null,
          "enum": null,
          "name": "dataset_id",
          "required": false,
          "type": "int"
        },
        {
          "default": null,
          "enum": null,
          "name": "trigger_type",
          "required": false,
          "type": "any"
        },
        {
          "default": null,
          "enum": null,
          "name": "run_immediately",
          "required": false,
          "type": "bool"
        },
        {
          "default": null,
          "enum": null,
          "name": "validate_only",
          "required": false,
          "type": "bool"
        },
        {
          "default": null,
          "enum": null,
          "name": "end_of_pipeline",
          "required": false,
          "type": "bool"
        },
        {
          "default": null,
          "enum": null,
          "name": "additional_properties",
          "required": false,
          "type": "dict[str, any]"
        },
        {
          "default": null,
          "enum": null,
          "name": "condition",
          "required": false,
          "type": "any"
        }
      ],
      "agent_example": "mammoth view export azure-blob 123 456 --input /private/path/request.json --yes",
      "command_id": "view.export.azure-blob",
      "contract_level": "typed",
      "description": "Run one of the SDK's typed 'View.export' destination helpers.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth view export azure-blob VIEW_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the view to export.",
          "metavar": "VIEW_ID",
          "name": "view_id",
          "required": true,
          "type": "int"
        },
        {
          "falls_back_to_field": "dataset_id",
          "help": "Exact parent dataset ID. Required for this command: pass it here or as the 'dataset_id' input field; only read commands may omit it and discover the parent.",
          "metavar": "DATASET_ID",
          "name": "dataset_id",
          "required": false,
          "type": "int"
        }
      ],
      "request_model": "ViewExportAzureBlobRequest",
      "result_model": "ViewExportAzureBlobResult",
      "runnable_example": "mammoth view export azure-blob 123 456 --input /private/path/request.json --yes"
    },
    "view export bigquery": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "selected_profile",
          "required": true,
          "type": "dict[str, any]"
        },
        {
          "default": null,
          "enum": null,
          "name": "selected_identity",
          "required": true,
          "type": "dict[str, any]"
        },
        {
          "default": null,
          "enum": null,
          "name": "table",
          "required": true,
          "type": "str"
        },
        {
          "default": "REPLACE",
          "enum": [
            "REPLACE",
            "COMBINE",
            "UPSERT"
          ],
          "name": "export_type",
          "required": false,
          "type": "BigQueryExportType"
        },
        {
          "default": null,
          "enum": null,
          "name": "upsert_keys",
          "required": false,
          "type": "list[dict[str, any]]"
        },
        {
          "default": null,
          "enum": null,
          "name": "partition",
          "required": false,
          "type": "dict[str, any]"
        },
        {
          "default": null,
          "enum": null,
          "name": "dataset_id",
          "required": false,
          "type": "int"
        },
        {
          "default": null,
          "enum": null,
          "name": "trigger_type",
          "required": false,
          "type": "any"
        },
        {
          "default": null,
          "enum": null,
          "name": "run_immediately",
          "required": false,
          "type": "bool"
        },
        {
          "default": null,
          "enum": null,
          "name": "validate_only",
          "required": false,
          "type": "bool"
        },
        {
          "default": null,
          "enum": null,
          "name": "end_of_pipeline",
          "required": false,
          "type": "bool"
        },
        {
          "default": null,
          "enum": null,
          "name": "additional_properties",
          "required": false,
          "type": "dict[str, any]"
        },
        {
          "default": null,
          "enum": null,
          "name": "condition",
          "required": false,
          "type": "any"
        },
        {
          "default": false,
          "enum": null,
          "name": "replace_table",
          "required": false,
          "type": "bool"
        }
      ],
      "agent_example": "mammoth view export bigquery 123 456 --input '{\"selected_profile\": {}, \"selected_identity\": {}, \"table\": \"exports\"}' --yes",
      "command_id": "view.export.bigquery",
      "contract_level": "typed",
      "description": "Run one of the SDK's typed 'View.export' destination helpers.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth view export bigquery VIEW_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the view to export.",
          "metavar": "VIEW_ID",
          "name": "view_id",
          "required": true,
          "type": "int"
        },
        {
          "falls_back_to_field": "dataset_id",
          "help": "Exact parent dataset ID. Required for this command: pass it here or as the 'dataset_id' input field; only read commands may omit it and discover the parent.",
          "metavar": "DATASET_ID",
          "name": "dataset_id",
          "required": false,
          "type": "int"
        }
      ],
      "request_model": "ViewExportBigqueryRequest",
      "result_model": "ViewExportBigqueryResult",
      "runnable_example": "mammoth view export bigquery 123 456 --input '{\"selected_profile\": {}, \"selected_identity\": {}, \"table\": \"exports\"}' --yes"
    },
    "view export create": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "export_spec",
          "required": true,
          "type": "AddExportSpec"
        },
        {
          "default": null,
          "enum": null,
          "name": "dataset_id",
          "required": false,
          "type": "int"
        }
      ],
      "agent_example": "mammoth view export create 123 --input '{\"export_spec\": {\"DATAVIEW_ID\": 1, \"handler_type\": \"postgres\", \"trigger_type\": \"none\", \"run_immediately\": true}}' --yes",
      "command_id": "view.export.create",
      "contract_level": "typed",
      "description": "Create an export for a dataview. 'export_spec' required. Always '--yes'.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth view export create DATAVIEW_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the dataview.",
          "metavar": "DATAVIEW_ID",
          "name": "dataview_id",
          "required": true,
          "type": "int"
        }
      ],
      "request_model": "ViewExportCreateRequest",
      "result_model": "ViewExportCreateResult",
      "runnable_example": "mammoth view export create 123 --input '{\"export_spec\": {\"DATAVIEW_ID\": 1, \"handler_type\": \"postgres\", \"trigger_type\": \"none\", \"run_immediately\": true}}' --yes"
    },
    "view export csv": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "output_path",
          "required": false,
          "type": "str | pathlib.Path | None"
        },
        {
          "default": 300,
          "enum": null,
          "name": "timeout",
          "required": false,
          "type": "int"
        },
        {
          "default": null,
          "enum": null,
          "name": "dataset_id",
          "required": false,
          "type": "int"
        }
      ],
      "agent_example": "mammoth view export csv 123",
      "command_id": "view.export.csv",
      "contract_level": "typed",
      "description": "Export a dataview to a local CSV file.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth view export csv DATAVIEW_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the dataview.",
          "metavar": "DATAVIEW_ID",
          "name": "dataview_id",
          "required": true,
          "type": "int"
        }
      ],
      "request_model": "ViewExportCsvRequest",
      "result_model": "ViewExportCsvResult",
      "runnable_example": "mammoth view export csv 123"
    },
    "view export dataset": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "dataset_name",
          "required": false,
          "type": "str"
        },
        {
          "default": null,
          "enum": null,
          "name": "target_ds_id",
          "required": false,
          "type": "int"
        },
        {
          "default": "REPLACE_IN_DS",
          "enum": [
            "REPLACE_IN_DS",
            "APPEND_TO_DS"
          ],
          "name": "save_as_mode",
          "required": false,
          "type": "SaveAsDatasetMode"
        },
        {
          "default": null,
          "enum": null,
          "name": "column_mapping",
          "required": false,
          "type": "dict[str, str]"
        },
        {
          "default": null,
          "enum": null,
          "name": "label_ids",
          "required": false,
          "type": "list[int]"
        },
        {
          "default": null,
          "enum": null,
          "name": "condition",
          "required": false,
          "type": "mammoth.condition.Condition | mammoth.condition.CompoundCondition | mammoth.condition.NotCondition | None"
        },
        {
          "default": null,
          "enum": null,
          "name": "timeout",
          "required": false,
          "type": "int"
        },
        {
          "default": null,
          "enum": null,
          "name": "target_project_id",
          "required": false,
          "type": "int"
        },
        {
          "default": null,
          "enum": null,
          "name": "dataset_id",
          "required": false,
          "type": "int"
        },
        {
          "default": null,
          "enum": null,
          "name": "trigger_type",
          "required": false,
          "type": "any"
        },
        {
          "default": null,
          "enum": null,
          "name": "run_immediately",
          "required": false,
          "type": "bool"
        },
        {
          "default": null,
          "enum": null,
          "name": "validate_only",
          "required": false,
          "type": "bool"
        },
        {
          "default": null,
          "enum": null,
          "name": "end_of_pipeline",
          "required": false,
          "type": "bool"
        },
        {
          "default": null,
          "enum": null,
          "name": "additional_properties",
          "required": false,
          "type": "dict[str, any]"
        },
        {
          "default": null,
          "enum": null,
          "name": "blank_columns",
          "required": false,
          "type": "list[str]"
        }
      ],
      "agent_example": "mammoth view export dataset 123 456",
      "command_id": "view.export.dataset",
      "contract_level": "typed",
      "description": "Run one of the SDK's typed 'View.export' destination helpers.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth view export dataset VIEW_ID --help",
      "notes": [
        "Omit dataset_name unless the user gave one; the product default 'Result Dataset' is used."
      ],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the view to export.",
          "metavar": "VIEW_ID",
          "name": "view_id",
          "required": true,
          "type": "int"
        },
        {
          "falls_back_to_field": "dataset_id",
          "help": "Exact parent dataset ID of the SOURCE view being exported -- not the destination. Required for this command: pass it here or as the 'dataset_id' input field. To write into an existing destination dataset instead of creating one, use the 'target_ds_id' input field, not this positional.",
          "metavar": "DATASET_ID",
          "name": "dataset_id",
          "required": false,
          "type": "int"
        }
      ],
      "request_model": "ViewExportDatasetRequest",
      "result_model": "ViewExportDatasetResult",
      "runnable_example": "mammoth view export dataset 123 456"
    },
    "view export delete": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "skip_validation",
          "required": false,
          "type": "bool"
        },
        {
          "default": null,
          "enum": null,
          "name": "dataset_id",
          "required": false,
          "type": "int"
        }
      ],
      "agent_example": "mammoth view export delete 123 456 --yes",
      "command_id": "view.export.delete",
      "contract_level": "typed",
      "description": "Delete one export by id. Always requires '--yes'.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth view export delete DATAVIEW_ID EXPORT_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the dataview.",
          "metavar": "DATAVIEW_ID",
          "name": "dataview_id",
          "required": true,
          "type": "int"
        },
        {
          "falls_back_to_field": null,
          "help": "ID of the export.",
          "metavar": "EXPORT_ID",
          "name": "export_id",
          "required": true,
          "type": "int"
        }
      ],
      "request_model": "ViewExportDeleteRequest",
      "result_model": "ViewExportDeleteResult",
      "runnable_example": "mammoth view export delete 123 456 --yes"
    },
    "view export download": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "output_path",
          "required": false,
          "type": "str | pathlib.Path | None"
        },
        {
          "default": "csv",
          "enum": [
            "csv",
            "xlsx",
            "json",
            "ndjson",
            "xml",
            "yaml",
            "parquet"
          ],
          "name": "file_type",
          "required": false,
          "type": "typing.Literal['csv', 'xlsx', 'json', 'ndjson', 'xml', 'yaml', 'parquet']"
        },
        {
          "default": 300,
          "enum": null,
          "name": "timeout",
          "required": false,
          "type": "int"
        },
        {
          "default": null,
          "enum": null,
          "name": "dataset_id",
          "required": false,
          "type": "int"
        }
      ],
      "agent_example": "mammoth view export download 123 --input '{\"file_type\": \"xml\"}'",
      "command_id": "view.export.download",
      "contract_level": "typed",
      "description": "Download a dataview to a local file as csv, xlsx, json, ndjson, xml, yaml or parquet.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth view export download DATAVIEW_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the dataview.",
          "metavar": "DATAVIEW_ID",
          "name": "dataview_id",
          "required": true,
          "type": "int"
        }
      ],
      "request_model": "ViewExportDownloadRequest",
      "result_model": "ViewExportDownloadResult",
      "runnable_example": "mammoth view export download 123 --input '{\"file_type\": \"xml\"}'"
    },
    "view export elasticsearch": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "host",
          "required": true,
          "type": "str"
        },
        {
          "default": null,
          "enum": null,
          "name": "username",
          "required": true,
          "type": "str"
        },
        {
          "default": null,
          "enum": null,
          "name": "password",
          "required": true,
          "type": "str"
        },
        {
          "default": null,
          "enum": null,
          "name": "index",
          "required": true,
          "type": "str"
        },
        {
          "default": 9243,
          "enum": null,
          "name": "port",
          "required": false,
          "type": "int"
        },
        {
          "default": "https",
          "enum": null,
          "name": "connection",
          "required": false,
          "type": "str"
        },
        {
          "default": 200,
          "enum": null,
          "name": "chunksize",
          "required": false,
          "type": "int"
        },
        {
          "default": null,
          "enum": null,
          "name": "dataset_id",
          "required": false,
          "type": "int"
        },
        {
          "default": null,
          "enum": null,
          "name": "trigger_type",
          "required": false,
          "type": "any"
        },
        {
          "default": null,
          "enum": null,
          "name": "run_immediately",
          "required": false,
          "type": "bool"
        },
        {
          "default": null,
          "enum": null,
          "name": "validate_only",
          "required": false,
          "type": "bool"
        },
        {
          "default": null,
          "enum": null,
          "name": "end_of_pipeline",
          "required": false,
          "type": "bool"
        },
        {
          "default": null,
          "enum": null,
          "name": "additional_properties",
          "required": false,
          "type": "dict[str, any]"
        },
        {
          "default": null,
          "enum": null,
          "name": "condition",
          "required": false,
          "type": "any"
        }
      ],
      "agent_example": "mammoth view export elasticsearch 123 456 --input /private/path/request.json --yes",
      "command_id": "view.export.elasticsearch",
      "contract_level": "typed",
      "description": "Run one of the SDK's typed 'View.export' destination helpers.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth view export elasticsearch VIEW_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the view to export.",
          "metavar": "VIEW_ID",
          "name": "view_id",
          "required": true,
          "type": "int"
        },
        {
          "falls_back_to_field": "dataset_id",
          "help": "Exact parent dataset ID. Required for this command: pass it here or as the 'dataset_id' input field; only read commands may omit it and discover the parent.",
          "metavar": "DATASET_ID",
          "name": "dataset_id",
          "required": false,
          "type": "int"
        }
      ],
      "request_model": "ViewExportElasticsearchRequest",
      "result_model": "ViewExportElasticsearchResult",
      "runnable_example": "mammoth view export elasticsearch 123 456 --input /private/path/request.json --yes"
    },
    "view export email": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "emails",
          "required": true,
          "type": "list[str]"
        },
        {
          "default": "",
          "enum": null,
          "name": "subject",
          "required": false,
          "type": "str"
        },
        {
          "default": "",
          "enum": null,
          "name": "message",
          "required": false,
          "type": "str"
        },
        {
          "default": "",
          "enum": null,
          "name": "resource",
          "required": false,
          "type": "str"
        },
        {
          "default": null,
          "enum": null,
          "name": "dataset_id",
          "required": false,
          "type": "int"
        },
        {
          "default": null,
          "enum": null,
          "name": "trigger_type",
          "required": false,
          "type": "any"
        },
        {
          "default": null,
          "enum": null,
          "name": "run_immediately",
          "required": false,
          "type": "bool"
        },
        {
          "default": null,
          "enum": null,
          "name": "validate_only",
          "required": false,
          "type": "bool"
        },
        {
          "default": null,
          "enum": null,
          "name": "end_of_pipeline",
          "required": false,
          "type": "bool"
        },
        {
          "default": null,
          "enum": null,
          "name": "additional_properties",
          "required": false,
          "type": "dict[str, any]"
        },
        {
          "default": null,
          "enum": null,
          "name": "condition",
          "required": false,
          "type": "any"
        }
      ],
      "agent_example": "mammoth view export email 123 456 --input '{\"emails\": [\"recipient@example.com\"]}' --yes",
      "command_id": "view.export.email",
      "contract_level": "typed",
      "description": "Run one of the SDK's typed 'View.export' destination helpers.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth view export email VIEW_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the view to export.",
          "metavar": "VIEW_ID",
          "name": "view_id",
          "required": true,
          "type": "int"
        },
        {
          "falls_back_to_field": "dataset_id",
          "help": "Exact parent dataset ID. Required for this command: pass it here or as the 'dataset_id' input field; only read commands may omit it and discover the parent.",
          "metavar": "DATASET_ID",
          "name": "dataset_id",
          "required": false,
          "type": "int"
        }
      ],
      "request_model": "ViewExportEmailRequest",
      "result_model": "ViewExportEmailResult",
      "runnable_example": "mammoth view export email 123 456 --input '{\"emails\": [\"recipient@example.com\"]}' --yes"
    },
    "view export ftp": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "domain",
          "required": true,
          "type": "str"
        },
        {
          "default": null,
          "enum": null,
          "name": "directory",
          "required": true,
          "type": "str"
        },
        {
          "default": null,
          "enum": null,
          "name": "file",
          "required": true,
          "type": "str"
        },
        {
          "default": null,
          "enum": null,
          "name": "username",
          "required": true,
          "type": "str"
        },
        {
          "default": null,
          "enum": null,
          "name": "password",
          "required": true,
          "type": "str"
        },
        {
          "default": 21,
          "enum": null,
          "name": "port",
          "required": false,
          "type": "int"
        },
        {
          "default": null,
          "enum": null,
          "name": "dataset_id",
          "required": false,
          "type": "int"
        },
        {
          "default": null,
          "enum": null,
          "name": "trigger_type",
          "required": false,
          "type": "any"
        },
        {
          "default": null,
          "enum": null,
          "name": "run_immediately",
          "required": false,
          "type": "bool"
        },
        {
          "default": null,
          "enum": null,
          "name": "validate_only",
          "required": false,
          "type": "bool"
        },
        {
          "default": null,
          "enum": null,
          "name": "end_of_pipeline",
          "required": false,
          "type": "bool"
        },
        {
          "default": null,
          "enum": null,
          "name": "additional_properties",
          "required": false,
          "type": "dict[str, any]"
        },
        {
          "default": null,
          "enum": null,
          "name": "condition",
          "required": false,
          "type": "any"
        }
      ],
      "agent_example": "mammoth view export ftp 123 456 --input /private/path/request.json --yes",
      "command_id": "view.export.ftp",
      "contract_level": "typed",
      "description": "Run one of the SDK's typed 'View.export' destination helpers.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth view export ftp VIEW_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the view to export.",
          "metavar": "VIEW_ID",
          "name": "view_id",
          "required": true,
          "type": "int"
        },
        {
          "falls_back_to_field": "dataset_id",
          "help": "Exact parent dataset ID. Required for this command: pass it here or as the 'dataset_id' input field; only read commands may omit it and discover the parent.",
          "metavar": "DATASET_ID",
          "name": "dataset_id",
          "required": false,
          "type": "int"
        }
      ],
      "request_model": "ViewExportFtpRequest",
      "result_model": "ViewExportFtpResult",
      "runnable_example": "mammoth view export ftp 123 456 --input /private/path/request.json --yes"
    },
    "view export get": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "fields",
          "required": false,
          "type": "str"
        },
        {
          "default": null,
          "enum": null,
          "name": "dataset_id",
          "required": false,
          "type": "int"
        }
      ],
      "agent_example": "mammoth view export get 123 456",
      "command_id": "view.export.get",
      "contract_level": "typed",
      "description": "Get one export by id.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth view export get DATAVIEW_ID EXPORT_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the dataview.",
          "metavar": "DATAVIEW_ID",
          "name": "dataview_id",
          "required": true,
          "type": "int"
        },
        {
          "falls_back_to_field": null,
          "help": "ID of the export.",
          "metavar": "EXPORT_ID",
          "name": "export_id",
          "required": true,
          "type": "int"
        }
      ],
      "request_model": "ViewExportGetRequest",
      "result_model": "ViewExportGetResult",
      "runnable_example": "mammoth view export get 123 456"
    },
    "view export list": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "fields",
          "required": false,
          "type": "str"
        },
        {
          "default": 50,
          "enum": null,
          "name": "limit",
          "required": false,
          "type": "int"
        },
        {
          "default": 0,
          "enum": null,
          "name": "offset",
          "required": false,
          "type": "int"
        },
        {
          "default": null,
          "enum": null,
          "name": "sort",
          "required": false,
          "type": "str"
        },
        {
          "default": null,
          "enum": null,
          "name": "sequence",
          "required": false,
          "type": "int"
        },
        {
          "default": null,
          "enum": [
            "deleted",
            "executed",
            "executing",
            "edited",
            "added",
            "suspended",
            "suspending"
          ],
          "name": "status",
          "required": false,
          "type": "ExportStatus"
        },
        {
          "default": null,
          "enum": null,
          "name": "reordered",
          "required": false,
          "type": "bool"
        },
        {
          "default": null,
          "enum": [
            "postgres",
            "csv_file",
            "s3",
            "mysql",
            "mssql",
            "ftp",
            "sftp",
            "email",
            "elasticsearch",
            "powerbi",
            "redshift",
            "bigquery",
            "internal_dataset",
            "publishdb",
            "azure_blob",
            "sharepoint",
            "onedrive",
            "tableau_server",
            "generic_rest_api_export"
          ],
          "name": "handler_type",
          "required": false,
          "type": "HandlerType"
        },
        {
          "default": null,
          "enum": null,
          "name": "end_of_pipeline",
          "required": false,
          "type": "bool"
        },
        {
          "default": null,
          "enum": null,
          "name": "runnable",
          "required": false,
          "type": "bool"
        },
        {
          "default": null,
          "enum": null,
          "name": "dataset_id",
          "required": false,
          "type": "int"
        }
      ],
      "agent_example": "mammoth view export list 123 456",
      "command_id": "view.export.list",
      "contract_level": "typed",
      "description": "List exports for a dataview, with optional filters from '--input'.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth view export list DATAVIEW_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the dataview.",
          "metavar": "DATAVIEW_ID",
          "name": "dataview_id",
          "required": true,
          "type": "int"
        },
        {
          "falls_back_to_field": "dataset_id",
          "help": "Optional parent dataset ID; avoids parent discovery when supplied.",
          "metavar": "DATASET_ID",
          "name": "dataset_id",
          "required": false,
          "type": "int"
        }
      ],
      "request_model": "ViewExportListRequest",
      "result_model": "ViewExportListResult",
      "runnable_example": "mammoth view export list 123 456"
    },
    "view export live-link": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "file_name",
          "required": false,
          "type": "str"
        },
        {
          "default": "csv",
          "enum": [
            "csv",
            "json",
            "parquet"
          ],
          "name": "file_type",
          "required": false,
          "type": "ExportFileType"
        },
        {
          "default": false,
          "enum": null,
          "name": "include_hidden",
          "required": false,
          "type": "bool"
        },
        {
          "default": null,
          "enum": null,
          "name": "timeout",
          "required": false,
          "type": "int"
        },
        {
          "default": null,
          "enum": null,
          "name": "dataset_id",
          "required": false,
          "type": "int"
        },
        {
          "default": null,
          "enum": null,
          "name": "trigger_type",
          "required": false,
          "type": "any"
        },
        {
          "default": null,
          "enum": null,
          "name": "run_immediately",
          "required": false,
          "type": "bool"
        },
        {
          "default": null,
          "enum": null,
          "name": "validate_only",
          "required": false,
          "type": "bool"
        },
        {
          "default": null,
          "enum": null,
          "name": "end_of_pipeline",
          "required": false,
          "type": "bool"
        },
        {
          "default": null,
          "enum": null,
          "name": "additional_properties",
          "required": false,
          "type": "dict[str, any]"
        },
        {
          "default": null,
          "enum": null,
          "name": "condition",
          "required": false,
          "type": "any"
        }
      ],
      "agent_example": "mammoth view export live-link 123 456 --input '{\"file_name\": \"report_share.csv\"}' --yes",
      "command_id": "view.export.live-link",
      "contract_level": "typed",
      "description": "Run one of the SDK's typed 'View.export' destination helpers.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth view export live-link VIEW_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the view to export.",
          "metavar": "VIEW_ID",
          "name": "view_id",
          "required": true,
          "type": "int"
        },
        {
          "falls_back_to_field": "dataset_id",
          "help": "Exact parent dataset ID. Required for this command: pass it here or as the 'dataset_id' input field; only read commands may omit it and discover the parent.",
          "metavar": "DATASET_ID",
          "name": "dataset_id",
          "required": false,
          "type": "int"
        }
      ],
      "request_model": "ViewExportLiveLinkRequest",
      "result_model": "ViewExportLiveLinkResult",
      "runnable_example": "mammoth view export live-link 123 456 --input '{\"file_name\": \"report_share.csv\"}' --yes"
    },
    "view export managed-s3": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "file_name",
          "required": false,
          "type": "str"
        },
        {
          "default": "csv",
          "enum": [
            "csv",
            "json",
            "parquet"
          ],
          "name": "file_type",
          "required": false,
          "type": "ExportFileType"
        },
        {
          "default": false,
          "enum": null,
          "name": "include_hidden",
          "required": false,
          "type": "bool"
        },
        {
          "default": null,
          "enum": null,
          "name": "dataset_id",
          "required": false,
          "type": "int"
        },
        {
          "default": null,
          "enum": null,
          "name": "trigger_type",
          "required": false,
          "type": "any"
        },
        {
          "default": null,
          "enum": null,
          "name": "run_immediately",
          "required": false,
          "type": "bool"
        },
        {
          "default": null,
          "enum": null,
          "name": "validate_only",
          "required": false,
          "type": "bool"
        },
        {
          "default": null,
          "enum": null,
          "name": "end_of_pipeline",
          "required": false,
          "type": "bool"
        },
        {
          "default": null,
          "enum": null,
          "name": "additional_properties",
          "required": false,
          "type": "dict[str, any]"
        },
        {
          "default": null,
          "enum": null,
          "name": "condition",
          "required": false,
          "type": "any"
        }
      ],
      "agent_example": "mammoth view export managed-s3 123 456 --input '{\"file_name\": \"report.csv\"}' --yes",
      "command_id": "view.export.managed-s3",
      "contract_level": "typed",
      "description": "Run one of the SDK's typed 'View.export' destination helpers.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth view export managed-s3 VIEW_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the view to export.",
          "metavar": "VIEW_ID",
          "name": "view_id",
          "required": true,
          "type": "int"
        },
        {
          "falls_back_to_field": "dataset_id",
          "help": "Exact parent dataset ID. Required for this command: pass it here or as the 'dataset_id' input field; only read commands may omit it and discover the parent.",
          "metavar": "DATASET_ID",
          "name": "dataset_id",
          "required": false,
          "type": "int"
        }
      ],
      "request_model": "ViewExportManagedS3Request",
      "result_model": "ViewExportManagedS3Result",
      "runnable_example": "mammoth view export managed-s3 123 456 --input '{\"file_name\": \"report.csv\"}' --yes"
    },
    "view export mssql": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "host",
          "required": true,
          "type": "str"
        },
        {
          "default": null,
          "enum": null,
          "name": "port",
          "required": true,
          "type": "int"
        },
        {
          "default": null,
          "enum": null,
          "name": "database",
          "required": true,
          "type": "str"
        },
        {
          "default": null,
          "enum": null,
          "name": "table",
          "required": true,
          "type": "str"
        },
        {
          "default": null,
          "enum": null,
          "name": "username",
          "required": true,
          "type": "str"
        },
        {
          "default": null,
          "enum": null,
          "name": "password",
          "required": true,
          "type": "str"
        },
        {
          "default": null,
          "enum": null,
          "name": "dataset_id",
          "required": false,
          "type": "int"
        },
        {
          "default": null,
          "enum": null,
          "name": "trigger_type",
          "required": false,
          "type": "any"
        },
        {
          "default": null,
          "enum": null,
          "name": "run_immediately",
          "required": false,
          "type": "bool"
        },
        {
          "default": null,
          "enum": null,
          "name": "validate_only",
          "required": false,
          "type": "bool"
        },
        {
          "default": null,
          "enum": null,
          "name": "end_of_pipeline",
          "required": false,
          "type": "bool"
        },
        {
          "default": null,
          "enum": null,
          "name": "additional_properties",
          "required": false,
          "type": "dict[str, any]"
        },
        {
          "default": null,
          "enum": null,
          "name": "condition",
          "required": false,
          "type": "any"
        },
        {
          "default": false,
          "enum": null,
          "name": "replace_table",
          "required": false,
          "type": "bool"
        }
      ],
      "agent_example": "mammoth view export mssql 123 456 --input /private/path/request.json --yes",
      "command_id": "view.export.mssql",
      "contract_level": "typed",
      "description": "Run one of the SDK's typed 'View.export' destination helpers.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth view export mssql VIEW_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the view to export.",
          "metavar": "VIEW_ID",
          "name": "view_id",
          "required": true,
          "type": "int"
        },
        {
          "falls_back_to_field": "dataset_id",
          "help": "Exact parent dataset ID. Required for this command: pass it here or as the 'dataset_id' input field; only read commands may omit it and discover the parent.",
          "metavar": "DATASET_ID",
          "name": "dataset_id",
          "required": false,
          "type": "int"
        }
      ],
      "request_model": "ViewExportMssqlRequest",
      "result_model": "ViewExportMssqlResult",
      "runnable_example": "mammoth view export mssql 123 456 --input /private/path/request.json --yes"
    },
    "view export mysql": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "host",
          "required": true,
          "type": "str"
        },
        {
          "default": null,
          "enum": null,
          "name": "port",
          "required": true,
          "type": "int"
        },
        {
          "default": null,
          "enum": null,
          "name": "database",
          "required": true,
          "type": "str"
        },
        {
          "default": null,
          "enum": null,
          "name": "table",
          "required": true,
          "type": "str"
        },
        {
          "default": null,
          "enum": null,
          "name": "username",
          "required": true,
          "type": "str"
        },
        {
          "default": null,
          "enum": null,
          "name": "password",
          "required": true,
          "type": "str"
        },
        {
          "default": null,
          "enum": null,
          "name": "dataset_id",
          "required": false,
          "type": "int"
        },
        {
          "default": null,
          "enum": null,
          "name": "trigger_type",
          "required": false,
          "type": "any"
        },
        {
          "default": null,
          "enum": null,
          "name": "run_immediately",
          "required": false,
          "type": "bool"
        },
        {
          "default": null,
          "enum": null,
          "name": "validate_only",
          "required": false,
          "type": "bool"
        },
        {
          "default": null,
          "enum": null,
          "name": "end_of_pipeline",
          "required": false,
          "type": "bool"
        },
        {
          "default": null,
          "enum": null,
          "name": "additional_properties",
          "required": false,
          "type": "dict[str, any]"
        },
        {
          "default": null,
          "enum": null,
          "name": "condition",
          "required": false,
          "type": "any"
        },
        {
          "default": false,
          "enum": null,
          "name": "replace_table",
          "required": false,
          "type": "bool"
        }
      ],
      "agent_example": "mammoth view export mysql 123 456 --input /private/path/request.json --yes",
      "command_id": "view.export.mysql",
      "contract_level": "typed",
      "description": "Run one of the SDK's typed 'View.export' destination helpers.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth view export mysql VIEW_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the view to export.",
          "metavar": "VIEW_ID",
          "name": "view_id",
          "required": true,
          "type": "int"
        },
        {
          "falls_back_to_field": "dataset_id",
          "help": "Exact parent dataset ID. Required for this command: pass it here or as the 'dataset_id' input field; only read commands may omit it and discover the parent.",
          "metavar": "DATASET_ID",
          "name": "dataset_id",
          "required": false,
          "type": "int"
        }
      ],
      "request_model": "ViewExportMysqlRequest",
      "result_model": "ViewExportMysqlResult",
      "runnable_example": "mammoth view export mysql 123 456 --input /private/path/request.json --yes"
    },
    "view export onedrive": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "tenant_id",
          "required": true,
          "type": "str"
        },
        {
          "default": null,
          "enum": null,
          "name": "client_id",
          "required": true,
          "type": "str"
        },
        {
          "default": null,
          "enum": null,
          "name": "client_secret",
          "required": true,
          "type": "str"
        },
        {
          "default": null,
          "enum": null,
          "name": "user_id",
          "required": true,
          "type": "str"
        },
        {
          "default": "",
          "enum": null,
          "name": "folder_path",
          "required": false,
          "type": "str"
        },
        {
          "default": "",
          "enum": null,
          "name": "file_name",
          "required": false,
          "type": "str"
        },
        {
          "default": null,
          "enum": null,
          "name": "dataset_id",
          "required": false,
          "type": "int"
        },
        {
          "default": null,
          "enum": null,
          "name": "trigger_type",
          "required": false,
          "type": "any"
        },
        {
          "default": null,
          "enum": null,
          "name": "run_immediately",
          "required": false,
          "type": "bool"
        },
        {
          "default": null,
          "enum": null,
          "name": "validate_only",
          "required": false,
          "type": "bool"
        },
        {
          "default": null,
          "enum": null,
          "name": "end_of_pipeline",
          "required": false,
          "type": "bool"
        },
        {
          "default": null,
          "enum": null,
          "name": "additional_properties",
          "required": false,
          "type": "dict[str, any]"
        },
        {
          "default": null,
          "enum": null,
          "name": "condition",
          "required": false,
          "type": "any"
        }
      ],
      "agent_example": "mammoth view export onedrive 123 456 --input /private/path/request.json --yes",
      "command_id": "view.export.onedrive",
      "contract_level": "typed",
      "description": "Run one of the SDK's typed 'View.export' destination helpers.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth view export onedrive VIEW_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the view to export.",
          "metavar": "VIEW_ID",
          "name": "view_id",
          "required": true,
          "type": "int"
        },
        {
          "falls_back_to_field": "dataset_id",
          "help": "Exact parent dataset ID. Required for this command: pass it here or as the 'dataset_id' input field; only read commands may omit it and discover the parent.",
          "metavar": "DATASET_ID",
          "name": "dataset_id",
          "required": false,
          "type": "int"
        }
      ],
      "request_model": "ViewExportOnedriveRequest",
      "result_model": "ViewExportOnedriveResult",
      "runnable_example": "mammoth view export onedrive 123 456 --input /private/path/request.json --yes"
    },
    "view export postgres": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "host",
          "required": true,
          "type": "str"
        },
        {
          "default": null,
          "enum": null,
          "name": "port",
          "required": true,
          "type": "int"
        },
        {
          "default": null,
          "enum": null,
          "name": "database",
          "required": true,
          "type": "str"
        },
        {
          "default": null,
          "enum": null,
          "name": "table",
          "required": true,
          "type": "str"
        },
        {
          "default": null,
          "enum": null,
          "name": "username",
          "required": true,
          "type": "str"
        },
        {
          "default": null,
          "enum": null,
          "name": "password",
          "required": true,
          "type": "str"
        },
        {
          "default": null,
          "enum": null,
          "name": "dataset_id",
          "required": false,
          "type": "int"
        },
        {
          "default": null,
          "enum": null,
          "name": "trigger_type",
          "required": false,
          "type": "any"
        },
        {
          "default": null,
          "enum": null,
          "name": "run_immediately",
          "required": false,
          "type": "bool"
        },
        {
          "default": null,
          "enum": null,
          "name": "validate_only",
          "required": false,
          "type": "bool"
        },
        {
          "default": null,
          "enum": null,
          "name": "end_of_pipeline",
          "required": false,
          "type": "bool"
        },
        {
          "default": null,
          "enum": null,
          "name": "additional_properties",
          "required": false,
          "type": "dict[str, any]"
        },
        {
          "default": null,
          "enum": null,
          "name": "condition",
          "required": false,
          "type": "any"
        },
        {
          "default": false,
          "enum": null,
          "name": "replace_table",
          "required": false,
          "type": "bool"
        }
      ],
      "agent_example": "mammoth view export postgres 123 456 --input /private/path/request.json --yes",
      "command_id": "view.export.postgres",
      "contract_level": "typed",
      "description": "Run one of the SDK's typed 'View.export' destination helpers.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth view export postgres VIEW_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the view to export.",
          "metavar": "VIEW_ID",
          "name": "view_id",
          "required": true,
          "type": "int"
        },
        {
          "falls_back_to_field": "dataset_id",
          "help": "Exact parent dataset ID. Required for this command: pass it here or as the 'dataset_id' input field; only read commands may omit it and discover the parent.",
          "metavar": "DATASET_ID",
          "name": "dataset_id",
          "required": false,
          "type": "int"
        }
      ],
      "request_model": "ViewExportPostgresRequest",
      "result_model": "ViewExportPostgresResult",
      "runnable_example": "mammoth view export postgres 123 456 --input /private/path/request.json --yes"
    },
    "view export powerbi": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "username",
          "required": true,
          "type": "str"
        },
        {
          "default": null,
          "enum": null,
          "name": "password",
          "required": true,
          "type": "str"
        },
        {
          "default": null,
          "enum": null,
          "name": "client_id",
          "required": true,
          "type": "str"
        },
        {
          "default": null,
          "enum": null,
          "name": "dataset",
          "required": true,
          "type": "str"
        },
        {
          "default": null,
          "enum": null,
          "name": "table",
          "required": true,
          "type": "str"
        },
        {
          "default": null,
          "enum": null,
          "name": "dataset_id",
          "required": false,
          "type": "int"
        },
        {
          "default": null,
          "enum": null,
          "name": "trigger_type",
          "required": false,
          "type": "any"
        },
        {
          "default": null,
          "enum": null,
          "name": "run_immediately",
          "required": false,
          "type": "bool"
        },
        {
          "default": null,
          "enum": null,
          "name": "validate_only",
          "required": false,
          "type": "bool"
        },
        {
          "default": null,
          "enum": null,
          "name": "end_of_pipeline",
          "required": false,
          "type": "bool"
        },
        {
          "default": null,
          "enum": null,
          "name": "additional_properties",
          "required": false,
          "type": "dict[str, any]"
        },
        {
          "default": null,
          "enum": null,
          "name": "condition",
          "required": false,
          "type": "any"
        }
      ],
      "agent_example": "mammoth view export powerbi 123 456 --input /private/path/request.json --yes",
      "command_id": "view.export.powerbi",
      "contract_level": "typed",
      "description": "Run one of the SDK's typed 'View.export' destination helpers.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth view export powerbi VIEW_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the view to export.",
          "metavar": "VIEW_ID",
          "name": "view_id",
          "required": true,
          "type": "int"
        },
        {
          "falls_back_to_field": "dataset_id",
          "help": "Exact parent dataset ID. Required for this command: pass it here or as the 'dataset_id' input field; only read commands may omit it and discover the parent.",
          "metavar": "DATASET_ID",
          "name": "dataset_id",
          "required": false,
          "type": "int"
        }
      ],
      "request_model": "ViewExportPowerbiRequest",
      "result_model": "ViewExportPowerbiResult",
      "runnable_example": "mammoth view export powerbi 123 456 --input /private/path/request.json --yes"
    },
    "view export publish-db": {
      "accepted_fields": [
        {
          "default": null,
          "enum": [
            "postgres",
            "bigquery"
          ],
          "name": "odbc_type",
          "required": true,
          "type": "OdbcType"
        },
        {
          "default": null,
          "enum": null,
          "name": "target_properties",
          "required": true,
          "type": "dict[str, any]"
        },
        {
          "default": null,
          "enum": null,
          "name": "dataset_id",
          "required": false,
          "type": "int"
        },
        {
          "default": false,
          "enum": null,
          "name": "replace_table",
          "required": false,
          "type": "bool"
        }
      ],
      "agent_example": "mammoth view export publish-db 123 --input '{\"odbc_type\": \"postgres\", \"target_properties\": {\"name\": \"Status\"}}' --yes",
      "command_id": "view.export.publish-db",
      "contract_level": "typed",
      "description": "Publish a dataview to a database endpoint. Always requires '--yes'.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth view export publish-db DATAVIEW_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the dataview.",
          "metavar": "DATAVIEW_ID",
          "name": "dataview_id",
          "required": true,
          "type": "int"
        }
      ],
      "request_model": "ViewExportPublishDbRequest",
      "result_model": "ViewExportPublishDbResult",
      "runnable_example": "mammoth view export publish-db 123 --input '{\"odbc_type\": \"postgres\", \"target_properties\": {\"name\": \"Status\"}}' --yes"
    },
    "view export publish-db-update": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "patch",
          "required": true,
          "type": "list[dict[str, any]]"
        },
        {
          "default": null,
          "enum": null,
          "name": "dataset_id",
          "required": false,
          "type": "int"
        }
      ],
      "agent_example": "mammoth view export publish-db-update 123 --input '{\"patch\": [{\"op\": \"replace\", \"path\": \"credentials\", \"value\": {\"odbc_type\": \"postgres\"}}]}' --yes",
      "command_id": "view.export.publish-db-update",
      "contract_level": "typed",
      "description": "Patch a dataview's published database endpoint. Always requires '--yes'.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth view export publish-db-update DATAVIEW_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the dataview.",
          "metavar": "DATAVIEW_ID",
          "name": "dataview_id",
          "required": true,
          "type": "int"
        }
      ],
      "request_model": "ViewExportPublishDbUpdateRequest",
      "result_model": "ViewExportPublishDbUpdateResult",
      "runnable_example": "mammoth view export publish-db-update 123 --input '{\"patch\": [{\"op\": \"replace\", \"path\": \"credentials\", \"value\": {\"odbc_type\": \"postgres\"}}]}' --yes"
    },
    "view export redshift": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "host",
          "required": true,
          "type": "str"
        },
        {
          "default": null,
          "enum": null,
          "name": "port",
          "required": true,
          "type": "int"
        },
        {
          "default": null,
          "enum": null,
          "name": "database",
          "required": true,
          "type": "str"
        },
        {
          "default": null,
          "enum": null,
          "name": "table",
          "required": true,
          "type": "str"
        },
        {
          "default": null,
          "enum": null,
          "name": "username",
          "required": true,
          "type": "str"
        },
        {
          "default": null,
          "enum": null,
          "name": "password",
          "required": true,
          "type": "str"
        },
        {
          "default": null,
          "enum": null,
          "name": "dataset_id",
          "required": false,
          "type": "int"
        },
        {
          "default": null,
          "enum": null,
          "name": "trigger_type",
          "required": false,
          "type": "any"
        },
        {
          "default": null,
          "enum": null,
          "name": "run_immediately",
          "required": false,
          "type": "bool"
        },
        {
          "default": null,
          "enum": null,
          "name": "validate_only",
          "required": false,
          "type": "bool"
        },
        {
          "default": null,
          "enum": null,
          "name": "end_of_pipeline",
          "required": false,
          "type": "bool"
        },
        {
          "default": null,
          "enum": null,
          "name": "additional_properties",
          "required": false,
          "type": "dict[str, any]"
        },
        {
          "default": null,
          "enum": null,
          "name": "condition",
          "required": false,
          "type": "any"
        },
        {
          "default": false,
          "enum": null,
          "name": "replace_table",
          "required": false,
          "type": "bool"
        }
      ],
      "agent_example": "mammoth view export redshift 123 456 --input /private/path/request.json --yes",
      "command_id": "view.export.redshift",
      "contract_level": "typed",
      "description": "Run one of the SDK's typed 'View.export' destination helpers.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth view export redshift VIEW_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the view to export.",
          "metavar": "VIEW_ID",
          "name": "view_id",
          "required": true,
          "type": "int"
        },
        {
          "falls_back_to_field": "dataset_id",
          "help": "Exact parent dataset ID. Required for this command: pass it here or as the 'dataset_id' input field; only read commands may omit it and discover the parent.",
          "metavar": "DATASET_ID",
          "name": "dataset_id",
          "required": false,
          "type": "int"
        }
      ],
      "request_model": "ViewExportRedshiftRequest",
      "result_model": "ViewExportRedshiftResult",
      "runnable_example": "mammoth view export redshift 123 456 --input /private/path/request.json --yes"
    },
    "view export rest": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "base_url",
          "required": true,
          "type": "str"
        },
        {
          "default": null,
          "enum": null,
          "name": "endpoint_path",
          "required": true,
          "type": "str"
        },
        {
          "default": "none",
          "enum": [
            "none",
            "api_key",
            "bearer",
            "basic",
            "oauth2_authorization_code"
          ],
          "name": "auth_type",
          "required": false,
          "type": "RestAuthType"
        },
        {
          "default": "POST",
          "enum": [
            "POST",
            "PUT",
            "PATCH"
          ],
          "name": "http_method",
          "required": false,
          "type": "HttpMethod"
        },
        {
          "default": "records",
          "enum": null,
          "name": "wrap_path",
          "required": false,
          "type": "str"
        },
        {
          "default": 1000,
          "enum": null,
          "name": "batch_size",
          "required": false,
          "type": "int"
        },
        {
          "default": 30,
          "enum": null,
          "name": "timeout_seconds",
          "required": false,
          "type": "int"
        },
        {
          "default": true,
          "enum": null,
          "name": "ssl_verify",
          "required": false,
          "type": "bool"
        },
        {
          "default": null,
          "enum": null,
          "name": "auth",
          "required": false,
          "type": "dict[str, any]"
        },
        {
          "default": null,
          "enum": null,
          "name": "headers",
          "required": false,
          "type": "dict[str, str]"
        },
        {
          "default": null,
          "enum": null,
          "name": "query_params",
          "required": false,
          "type": "dict[str, str]"
        },
        {
          "default": null,
          "enum": null,
          "name": "extra_body_fields",
          "required": false,
          "type": "dict[str, any]"
        },
        {
          "default": null,
          "enum": null,
          "name": "dataset_id",
          "required": false,
          "type": "int"
        },
        {
          "default": null,
          "enum": null,
          "name": "trigger_type",
          "required": false,
          "type": "any"
        },
        {
          "default": null,
          "enum": null,
          "name": "run_immediately",
          "required": false,
          "type": "bool"
        },
        {
          "default": null,
          "enum": null,
          "name": "validate_only",
          "required": false,
          "type": "bool"
        },
        {
          "default": null,
          "enum": null,
          "name": "end_of_pipeline",
          "required": false,
          "type": "bool"
        },
        {
          "default": null,
          "enum": null,
          "name": "additional_properties",
          "required": false,
          "type": "dict[str, any]"
        },
        {
          "default": null,
          "enum": null,
          "name": "condition",
          "required": false,
          "type": "any"
        }
      ],
      "agent_example": "mammoth view export rest 123 456 --input '{\"base_url\": \"https://api.example\", \"endpoint_path\": \"/records\"}' --yes",
      "command_id": "view.export.rest",
      "contract_level": "typed",
      "description": "Run one of the SDK's typed 'View.export' destination helpers.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth view export rest VIEW_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the view to export.",
          "metavar": "VIEW_ID",
          "name": "view_id",
          "required": true,
          "type": "int"
        },
        {
          "falls_back_to_field": "dataset_id",
          "help": "Exact parent dataset ID. Required for this command: pass it here or as the 'dataset_id' input field; only read commands may omit it and discover the parent.",
          "metavar": "DATASET_ID",
          "name": "dataset_id",
          "required": false,
          "type": "int"
        }
      ],
      "request_model": "ViewExportRestRequest",
      "result_model": "ViewExportRestResult",
      "runnable_example": "mammoth view export rest 123 456 --input '{\"base_url\": \"https://api.example\", \"endpoint_path\": \"/records\"}' --yes"
    },
    "view export rest-fill": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "docs_url",
          "required": true,
          "type": "str"
        },
        {
          "default": "",
          "enum": null,
          "name": "notes",
          "required": false,
          "type": "str"
        },
        {
          "default": null,
          "enum": null,
          "name": "dataset_id",
          "required": false,
          "type": "int"
        }
      ],
      "agent_example": "mammoth view export rest-fill 123 456 --input '{\"docs_url\": \"https://example.com/data.csv\"}' --yes",
      "command_id": "view.export.rest-fill",
      "contract_level": "typed",
      "description": "Propose REST API export settings from an API docs page. Always requires '--yes'.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth view export rest-fill DATAVIEW_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the dataview.",
          "metavar": "DATAVIEW_ID",
          "name": "dataview_id",
          "required": true,
          "type": "int"
        },
        {
          "falls_back_to_field": "dataset_id",
          "help": "Exact parent dataset ID. Required for this command: pass it here or as the 'dataset_id' input field; only read commands may omit it and discover the parent.",
          "metavar": "DATASET_ID",
          "name": "dataset_id",
          "required": false,
          "type": "int"
        }
      ],
      "request_model": "ViewExportRestFillRequest",
      "result_model": "ViewExportRestFillResult",
      "runnable_example": "mammoth view export rest-fill 123 456 --input '{\"docs_url\": \"https://example.com/data.csv\"}' --yes"
    },
    "view export runs": {
      "accepted_fields": [
        {
          "default": 20,
          "enum": null,
          "name": "limit",
          "required": false,
          "type": "int"
        },
        {
          "default": null,
          "enum": null,
          "name": "dataset_id",
          "required": false,
          "type": "int"
        }
      ],
      "agent_example": "mammoth view export runs 123 456 789",
      "command_id": "view.export.runs",
      "contract_level": "typed",
      "description": "Get the run history of one export, newest first: when, rows, destination, errors.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth view export runs DATAVIEW_ID EXPORT_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the dataview.",
          "metavar": "DATAVIEW_ID",
          "name": "dataview_id",
          "required": true,
          "type": "int"
        },
        {
          "falls_back_to_field": null,
          "help": "ID of the export.",
          "metavar": "EXPORT_ID",
          "name": "export_id",
          "required": true,
          "type": "int"
        },
        {
          "falls_back_to_field": "dataset_id",
          "help": "Optional parent dataset ID; avoids parent discovery when supplied.",
          "metavar": "DATASET_ID",
          "name": "dataset_id",
          "required": false,
          "type": "int"
        }
      ],
      "request_model": "ViewExportRunsRequest",
      "result_model": "ViewExportRunsResult",
      "runnable_example": "mammoth view export runs 123 456 789"
    },
    "view export sftp": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "host",
          "required": true,
          "type": "str"
        },
        {
          "default": null,
          "enum": null,
          "name": "username",
          "required": true,
          "type": "str"
        },
        {
          "default": "",
          "enum": null,
          "name": "password",
          "required": false,
          "type": "str"
        },
        {
          "default": "",
          "enum": null,
          "name": "directory",
          "required": false,
          "type": "str"
        },
        {
          "default": "",
          "enum": null,
          "name": "file_name",
          "required": false,
          "type": "str"
        },
        {
          "default": 22,
          "enum": null,
          "name": "port",
          "required": false,
          "type": "int"
        },
        {
          "default": false,
          "enum": null,
          "name": "randomize_file_name",
          "required": false,
          "type": "bool"
        },
        {
          "default": false,
          "enum": null,
          "name": "ssh_key_authentication",
          "required": false,
          "type": "bool"
        },
        {
          "default": "",
          "enum": null,
          "name": "private_key",
          "required": false,
          "type": "str"
        },
        {
          "default": "",
          "enum": null,
          "name": "passphrase",
          "required": false,
          "type": "str"
        },
        {
          "default": null,
          "enum": null,
          "name": "dataset_id",
          "required": false,
          "type": "int"
        },
        {
          "default": null,
          "enum": null,
          "name": "trigger_type",
          "required": false,
          "type": "any"
        },
        {
          "default": null,
          "enum": null,
          "name": "run_immediately",
          "required": false,
          "type": "bool"
        },
        {
          "default": null,
          "enum": null,
          "name": "validate_only",
          "required": false,
          "type": "bool"
        },
        {
          "default": null,
          "enum": null,
          "name": "end_of_pipeline",
          "required": false,
          "type": "bool"
        },
        {
          "default": null,
          "enum": null,
          "name": "additional_properties",
          "required": false,
          "type": "dict[str, any]"
        },
        {
          "default": null,
          "enum": null,
          "name": "condition",
          "required": false,
          "type": "any"
        }
      ],
      "agent_example": "mammoth view export sftp 123 456 --input '{\"host\": \"sftp.example\", \"username\": \"agent\"}' --yes",
      "command_id": "view.export.sftp",
      "contract_level": "typed",
      "description": "Run one of the SDK's typed 'View.export' destination helpers.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth view export sftp VIEW_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the view to export.",
          "metavar": "VIEW_ID",
          "name": "view_id",
          "required": true,
          "type": "int"
        },
        {
          "falls_back_to_field": "dataset_id",
          "help": "Exact parent dataset ID. Required for this command: pass it here or as the 'dataset_id' input field; only read commands may omit it and discover the parent.",
          "metavar": "DATASET_ID",
          "name": "dataset_id",
          "required": false,
          "type": "int"
        }
      ],
      "request_model": "ViewExportSftpRequest",
      "result_model": "ViewExportSftpResult",
      "runnable_example": "mammoth view export sftp 123 456 --input '{\"host\": \"sftp.example\", \"username\": \"agent\"}' --yes"
    },
    "view export sharepoint": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "tenant_id",
          "required": true,
          "type": "str"
        },
        {
          "default": null,
          "enum": null,
          "name": "client_id",
          "required": true,
          "type": "str"
        },
        {
          "default": null,
          "enum": null,
          "name": "client_secret",
          "required": true,
          "type": "str"
        },
        {
          "default": null,
          "enum": null,
          "name": "site_url",
          "required": true,
          "type": "str"
        },
        {
          "default": "Documents",
          "enum": null,
          "name": "document_library",
          "required": false,
          "type": "str"
        },
        {
          "default": "",
          "enum": null,
          "name": "folder_path",
          "required": false,
          "type": "str"
        },
        {
          "default": "",
          "enum": null,
          "name": "file_name",
          "required": false,
          "type": "str"
        },
        {
          "default": null,
          "enum": null,
          "name": "dataset_id",
          "required": false,
          "type": "int"
        },
        {
          "default": null,
          "enum": null,
          "name": "trigger_type",
          "required": false,
          "type": "any"
        },
        {
          "default": null,
          "enum": null,
          "name": "run_immediately",
          "required": false,
          "type": "bool"
        },
        {
          "default": null,
          "enum": null,
          "name": "validate_only",
          "required": false,
          "type": "bool"
        },
        {
          "default": null,
          "enum": null,
          "name": "end_of_pipeline",
          "required": false,
          "type": "bool"
        },
        {
          "default": null,
          "enum": null,
          "name": "additional_properties",
          "required": false,
          "type": "dict[str, any]"
        },
        {
          "default": null,
          "enum": null,
          "name": "condition",
          "required": false,
          "type": "any"
        }
      ],
      "agent_example": "mammoth view export sharepoint 123 456 --input /private/path/request.json --yes",
      "command_id": "view.export.sharepoint",
      "contract_level": "typed",
      "description": "Run one of the SDK's typed 'View.export' destination helpers.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth view export sharepoint VIEW_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the view to export.",
          "metavar": "VIEW_ID",
          "name": "view_id",
          "required": true,
          "type": "int"
        },
        {
          "falls_back_to_field": "dataset_id",
          "help": "Exact parent dataset ID. Required for this command: pass it here or as the 'dataset_id' input field; only read commands may omit it and discover the parent.",
          "metavar": "DATASET_ID",
          "name": "dataset_id",
          "required": false,
          "type": "int"
        }
      ],
      "request_model": "ViewExportSharepointRequest",
      "result_model": "ViewExportSharepointResult",
      "runnable_example": "mammoth view export sharepoint 123 456 --input /private/path/request.json --yes"
    },
    "view export tableau": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "server_url",
          "required": true,
          "type": "str"
        },
        {
          "default": null,
          "enum": null,
          "name": "token_name",
          "required": true,
          "type": "str"
        },
        {
          "default": null,
          "enum": null,
          "name": "token_secret",
          "required": true,
          "type": "str"
        },
        {
          "default": "",
          "enum": null,
          "name": "site_name",
          "required": false,
          "type": "str"
        },
        {
          "default": "Default",
          "enum": null,
          "name": "project_name",
          "required": false,
          "type": "str"
        },
        {
          "default": "mammoth_export",
          "enum": null,
          "name": "datasource_name",
          "required": false,
          "type": "str"
        },
        {
          "default": "",
          "enum": null,
          "name": "ca_bundle_path",
          "required": false,
          "type": "str"
        },
        {
          "default": null,
          "enum": null,
          "name": "dataset_id",
          "required": false,
          "type": "int"
        },
        {
          "default": null,
          "enum": null,
          "name": "trigger_type",
          "required": false,
          "type": "any"
        },
        {
          "default": null,
          "enum": null,
          "name": "run_immediately",
          "required": false,
          "type": "bool"
        },
        {
          "default": null,
          "enum": null,
          "name": "validate_only",
          "required": false,
          "type": "bool"
        },
        {
          "default": null,
          "enum": null,
          "name": "end_of_pipeline",
          "required": false,
          "type": "bool"
        },
        {
          "default": null,
          "enum": null,
          "name": "additional_properties",
          "required": false,
          "type": "dict[str, any]"
        },
        {
          "default": null,
          "enum": null,
          "name": "condition",
          "required": false,
          "type": "any"
        }
      ],
      "agent_example": "mammoth view export tableau 123 456 --input /private/path/request.json --yes",
      "command_id": "view.export.tableau",
      "contract_level": "typed",
      "description": "Run one of the SDK's typed 'View.export' destination helpers.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth view export tableau VIEW_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the view to export.",
          "metavar": "VIEW_ID",
          "name": "view_id",
          "required": true,
          "type": "int"
        },
        {
          "falls_back_to_field": "dataset_id",
          "help": "Exact parent dataset ID. Required for this command: pass it here or as the 'dataset_id' input field; only read commands may omit it and discover the parent.",
          "metavar": "DATASET_ID",
          "name": "dataset_id",
          "required": false,
          "type": "int"
        }
      ],
      "request_model": "ViewExportTableauRequest",
      "result_model": "ViewExportTableauResult",
      "runnable_example": "mammoth view export tableau 123 456 --input /private/path/request.json --yes"
    },
    "view export update": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "patches",
          "required": true,
          "type": "list[dict[str, any]]"
        },
        {
          "default": null,
          "enum": null,
          "name": "skip_validation",
          "required": false,
          "type": "bool"
        },
        {
          "default": null,
          "enum": null,
          "name": "dataset_id",
          "required": false,
          "type": "int"
        },
        {
          "default": null,
          "enum": null,
          "name": "save_as_mode",
          "required": false,
          "type": "str"
        },
        {
          "default": null,
          "enum": null,
          "name": "target_properties",
          "required": false,
          "type": "dict[str, any]"
        },
        {
          "default": null,
          "enum": null,
          "name": "additional_properties",
          "required": false,
          "type": "dict[str, any]"
        },
        {
          "default": null,
          "enum": null,
          "name": "condition",
          "required": false,
          "type": "dict[str, any]"
        },
        {
          "default": null,
          "enum": null,
          "name": "trigger_type",
          "required": false,
          "type": "str"
        },
        {
          "default": null,
          "enum": null,
          "name": "handler_type",
          "required": false,
          "type": "str"
        },
        {
          "default": null,
          "enum": null,
          "name": "end_of_pipeline",
          "required": false,
          "type": "bool"
        },
        {
          "default": null,
          "enum": null,
          "name": "sequence",
          "required": false,
          "type": "int"
        },
        {
          "default": null,
          "enum": null,
          "name": "run_immediately",
          "required": false,
          "type": "bool"
        },
        {
          "default": null,
          "enum": null,
          "name": "schedule",
          "required": false,
          "type": "dict[str, any]"
        },
        {
          "default": null,
          "enum": null,
          "name": "send_window",
          "required": false,
          "type": "dict[str, any]"
        }
      ],
      "agent_example": "mammoth view export update 123 456 --input '{\"patches\": [{\"name\": \"Status\"}]}' --yes",
      "command_id": "view.export.update",
      "contract_level": "typed",
      "description": "Edit an export: a merge over the stored one, still pinned to the pipeline end.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth view export update DATAVIEW_ID EXPORT_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the dataview.",
          "metavar": "DATAVIEW_ID",
          "name": "dataview_id",
          "required": true,
          "type": "int"
        },
        {
          "falls_back_to_field": null,
          "help": "ID of the export.",
          "metavar": "EXPORT_ID",
          "name": "export_id",
          "required": true,
          "type": "int"
        }
      ],
      "request_model": "ViewExportUpdateRequest",
      "result_model": "ViewExportUpdateResult",
      "runnable_example": "mammoth view export update 123 456 --input '{\"patches\": [{\"name\": \"Status\"}]}' --yes"
    },
    "view exportable-config apply": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "dataset_id",
          "required": false,
          "type": "int"
        },
        {
          "default": null,
          "enum": null,
          "name": "items",
          "required": false,
          "type": "list[dict[str, any]]"
        },
        {
          "default": null,
          "enum": null,
          "name": "config",
          "required": false,
          "type": "dict[str, any]"
        },
        {
          "default": null,
          "enum": null,
          "name": "insert_after_sequence",
          "required": false,
          "type": "int"
        },
        {
          "default": false,
          "enum": null,
          "name": "is_paste_mode",
          "required": false,
          "type": "bool"
        }
      ],
      "agent_example": "mammoth view exportable-config apply 123 456 --input-format json --input '{\"config\": {\"tasks\": []}}' --yes --confirm 123",
      "command_id": "view.exportable-config.apply",
      "contract_level": "typed",
      "description": "Apply exactly one exportable config or clipboard item list.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth view exportable-config apply VIEW_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the dataview.",
          "metavar": "VIEW_ID",
          "name": "view_id",
          "required": true,
          "type": "int"
        },
        {
          "falls_back_to_field": "dataset_id",
          "help": "Exact parent dataset ID. Required for this command: pass it here or as the 'dataset_id' input field; only read commands may omit it and discover the parent.",
          "metavar": "DATASET_ID",
          "name": "dataset_id",
          "required": false,
          "type": "int"
        }
      ],
      "request_model": "ViewExportableConfigApplyRequest",
      "result_model": "ViewExportableConfigApplyResult",
      "runnable_example": "mammoth view exportable-config apply 123 456 --input-format json --input '{\"config\": {\"tasks\": []}}' --yes --confirm 123"
    },
    "view exportable-config get": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "dataset_id",
          "required": false,
          "type": "int"
        }
      ],
      "agent_example": "mammoth view exportable-config get 123 456",
      "command_id": "view.exportable-config.get",
      "contract_level": "typed",
      "description": "Get a dataview's exportable pipeline configuration.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth view exportable-config get VIEW_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the dataview.",
          "metavar": "VIEW_ID",
          "name": "view_id",
          "required": true,
          "type": "int"
        },
        {
          "falls_back_to_field": "dataset_id",
          "help": "Optional parent dataset ID; resolved from the view when omitted.",
          "metavar": "DATASET_ID",
          "name": "dataset_id",
          "required": false,
          "type": "int"
        }
      ],
      "request_model": "ViewExportableConfigGetRequest",
      "result_model": "ViewExportableConfigGetResult",
      "runnable_example": "mammoth view exportable-config get 123 456"
    },
    "view get": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "dataset_id",
          "required": false,
          "type": "int"
        },
        {
          "default": null,
          "enum": null,
          "name": "fields",
          "required": false,
          "type": "str"
        }
      ],
      "agent_example": "mammoth view get 123 456",
      "command_id": "view.get",
      "contract_level": "typed",
      "description": "Get one view by id, optionally scoped to an exact dataset parent.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth view get VIEW_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the view.",
          "metavar": "VIEW_ID",
          "name": "view_id",
          "required": true,
          "type": "int"
        },
        {
          "falls_back_to_field": "dataset_id",
          "help": "Optional exact parent dataset ID; omit to retain legacy discovery.",
          "metavar": "DATASET_ID",
          "name": "dataset_id",
          "required": false,
          "type": "int"
        }
      ],
      "request_model": "ViewGetRequest",
      "result_model": "ViewGetResult",
      "runnable_example": "mammoth view get 123 456"
    },
    "view impact": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "dataset_id",
          "required": false,
          "type": "int"
        },
        {
          "default": null,
          "enum": null,
          "name": "scope",
          "required": true,
          "type": "str"
        },
        {
          "default": null,
          "enum": null,
          "name": "task_id",
          "required": false,
          "type": "int"
        }
      ],
      "agent_example": "mammoth view impact 123 456 --input '{\"scope\": \"view\"}'",
      "command_id": "view.impact",
      "contract_level": "typed",
      "description": "List what deleting a pipeline task or this whole view would affect (read-only).",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth view impact VIEW_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the view to act on.",
          "metavar": "VIEW_ID",
          "name": "view_id",
          "required": true,
          "type": "int"
        },
        {
          "falls_back_to_field": "dataset_id",
          "help": "ID of the dataset the view belongs to; resolved from the view when omitted.",
          "metavar": "DATASET_ID",
          "name": "dataset_id",
          "required": false,
          "type": "int"
        }
      ],
      "request_model": "ViewImpactRequest",
      "result_model": "ViewImpactResult",
      "runnable_example": "mammoth view impact 123 456 --input '{\"scope\": \"view\"}'"
    },
    "view list": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "dataset_id",
          "required": false,
          "type": "int"
        },
        {
          "default": 100,
          "enum": null,
          "name": "limit",
          "required": false,
          "type": "int"
        },
        {
          "default": "(created_at:desc)",
          "enum": null,
          "name": "sort",
          "required": false,
          "type": "str"
        },
        {
          "default": 0,
          "enum": null,
          "name": "offset",
          "required": false,
          "type": "int"
        },
        {
          "default": false,
          "enum": null,
          "name": "full",
          "required": false,
          "type": "bool"
        },
        {
          "default": 0,
          "enum": null,
          "name": "dataset_offset",
          "required": false,
          "type": "int"
        },
        {
          "default": false,
          "enum": null,
          "name": "all_columns",
          "required": false,
          "type": "bool"
        }
      ],
      "agent_example": "mammoth view list 123",
      "command_id": "view.list",
      "contract_level": "typed",
      "description": "List dataviews for a dataset, or every dataset in the active project.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth view list --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": "dataset_id",
          "help": "ID of the dataset. Omit it to list dataviews across every dataset in the active project instead (paged; see the 'dataset_offset' input field and the 'next_dataset_offset' result field).",
          "metavar": "DATASET_ID",
          "name": "dataset_id",
          "required": false,
          "type": "int"
        }
      ],
      "request_model": "ViewListRequest",
      "result_model": "ViewListResult",
      "runnable_example": "mammoth view list 123"
    },
    "view optimize": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "dataset_id",
          "required": false,
          "type": "int"
        },
        {
          "default": null,
          "enum": null,
          "name": "apply_rules",
          "required": false,
          "type": "list[str]"
        }
      ],
      "agent_example": "mammoth view optimize 123 456 --yes",
      "command_id": "view.optimize",
      "contract_level": "typed",
      "description": "Apply the safe pipeline findings, then wait for the rerun it queued.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth view optimize VIEW_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the view to act on.",
          "metavar": "VIEW_ID",
          "name": "view_id",
          "required": true,
          "type": "int"
        },
        {
          "falls_back_to_field": "dataset_id",
          "help": "Optional parent dataset ID. Leave it out and the CLI looks up the view's dataset. A value that is not the view's dataset is refused before the write.",
          "metavar": "DATASET_ID",
          "name": "dataset_id",
          "required": false,
          "type": "int"
        }
      ],
      "request_model": "ViewOptimizeRequest",
      "result_model": "ViewOptimizeResult",
      "runnable_example": "mammoth view optimize 123 456 --yes"
    },
    "view parameter-context": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "dataset_id",
          "required": false,
          "type": "int"
        }
      ],
      "agent_example": "mammoth view parameter-context 123 456",
      "command_id": "view.parameter-context",
      "contract_level": "typed",
      "description": "Get a dataview's parameter context.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth view parameter-context VIEW_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the view to act on.",
          "metavar": "VIEW_ID",
          "name": "view_id",
          "required": true,
          "type": "int"
        },
        {
          "falls_back_to_field": "dataset_id",
          "help": "ID of the dataset the view belongs to; resolved from the view when omitted.",
          "metavar": "DATASET_ID",
          "name": "dataset_id",
          "required": false,
          "type": "int"
        }
      ],
      "request_model": "ViewParameterContextRequest",
      "result_model": "ViewParameterContextResult",
      "runnable_example": "mammoth view parameter-context 123 456"
    },
    "view pipeline edit": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "patches",
          "required": true,
          "type": "list[dict[str, any]]"
        },
        {
          "default": null,
          "enum": null,
          "name": "dataset_id",
          "required": false,
          "type": "int"
        }
      ],
      "agent_example": "mammoth view pipeline edit 123 --input '{\"patches\": [{\"op\": \"replace\", \"path\": \"auto_run\", \"value\": true}]}'",
      "command_id": "view.pipeline.edit",
      "contract_level": "typed",
      "description": "Apply JSON Patch operations to a dataview's pipeline. 'patches' required.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth view pipeline edit DATAVIEW_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the dataview.",
          "metavar": "DATAVIEW_ID",
          "name": "dataview_id",
          "required": true,
          "type": "int"
        }
      ],
      "request_model": "ViewPipelineEditRequest",
      "result_model": "ViewPipelineEditResult",
      "runnable_example": "mammoth view pipeline edit 123 --input '{\"patches\": [{\"op\": \"replace\", \"path\": \"auto_run\", \"value\": true}]}'"
    },
    "view pipeline get": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "dataset_id",
          "required": false,
          "type": "int"
        }
      ],
      "agent_example": "mammoth view pipeline get 123",
      "command_id": "view.pipeline.get",
      "contract_level": "typed",
      "description": "Get a dataview's full pipeline.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth view pipeline get DATAVIEW_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the dataview.",
          "metavar": "DATAVIEW_ID",
          "name": "dataview_id",
          "required": true,
          "type": "int"
        }
      ],
      "request_model": "ViewPipelineGetRequest",
      "result_model": "ViewPipelineGetResult",
      "runnable_example": "mammoth view pipeline get 123"
    },
    "view pipeline items": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "dataset_id",
          "required": false,
          "type": "int"
        },
        {
          "default": null,
          "enum": null,
          "name": "fields",
          "required": false,
          "type": "str"
        },
        {
          "default": null,
          "enum": null,
          "name": "limit",
          "required": false,
          "type": "int"
        },
        {
          "default": null,
          "enum": null,
          "name": "offset",
          "required": false,
          "type": "int"
        },
        {
          "default": null,
          "enum": null,
          "name": "sort",
          "required": false,
          "type": "str"
        },
        {
          "default": null,
          "enum": null,
          "name": "sequence",
          "required": false,
          "type": "int"
        },
        {
          "default": null,
          "enum": null,
          "name": "status",
          "required": false,
          "type": "str"
        }
      ],
      "agent_example": "mammoth view pipeline items 123",
      "command_id": "view.pipeline.items",
      "contract_level": "typed",
      "description": "List a dataview's pipeline items, with optional filters from '--input'.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth view pipeline items DATAVIEW_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the dataview.",
          "metavar": "DATAVIEW_ID",
          "name": "dataview_id",
          "required": true,
          "type": "int"
        }
      ],
      "request_model": "ViewPipelineItemsRequest",
      "result_model": "ViewPipelineItemsResult",
      "runnable_example": "mammoth view pipeline items 123"
    },
    "view pipeline items-all": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "dataset_id",
          "required": false,
          "type": "int"
        },
        {
          "default": null,
          "enum": null,
          "name": "fields",
          "required": false,
          "type": "str"
        },
        {
          "default": 100,
          "enum": null,
          "name": "limit",
          "required": false,
          "type": "int"
        },
        {
          "default": null,
          "enum": null,
          "name": "sort",
          "required": false,
          "type": "str"
        },
        {
          "default": null,
          "enum": null,
          "name": "sequence",
          "required": false,
          "type": "int"
        },
        {
          "default": null,
          "enum": null,
          "name": "status",
          "required": false,
          "type": "str"
        },
        {
          "default": 1000,
          "enum": null,
          "name": "max_pages",
          "required": false,
          "type": "int"
        }
      ],
      "agent_example": "mammoth view pipeline items-all 123 456",
      "command_id": "view.pipeline.items-all",
      "contract_level": "typed",
      "description": "Read all pipeline items through bounded, exact-parent pagination.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth view pipeline items-all DATAVIEW_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the dataview.",
          "metavar": "DATAVIEW_ID",
          "name": "dataview_id",
          "required": true,
          "type": "int"
        },
        {
          "falls_back_to_field": "dataset_id",
          "help": "Exact parent dataset ID; pass it via the 'dataset_id' input field.",
          "metavar": "DATASET_ID",
          "name": "dataset_id",
          "required": false,
          "type": "int"
        }
      ],
      "request_model": "ViewPipelineItemsAllRequest",
      "result_model": "ViewPipelineItemsAllResult",
      "runnable_example": "mammoth view pipeline items-all 123 456"
    },
    "view pipeline rerun": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "from_sequence",
          "required": false,
          "type": "int"
        },
        {
          "default": null,
          "enum": null,
          "name": "dataset_id",
          "required": false,
          "type": "int"
        }
      ],
      "agent_example": "mammoth view pipeline rerun 123",
      "command_id": "view.pipeline.rerun",
      "contract_level": "typed",
      "description": "Rerun a dataview's pipeline, optionally from a given sequence.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth view pipeline rerun DATAVIEW_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the dataview.",
          "metavar": "DATAVIEW_ID",
          "name": "dataview_id",
          "required": true,
          "type": "int"
        }
      ],
      "request_model": "ViewPipelineRerunRequest",
      "result_model": "ViewPipelineRerunResult",
      "runnable_example": "mammoth view pipeline rerun 123"
    },
    "view pipeline wait": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "dataset_id",
          "required": false,
          "type": "int"
        },
        {
          "default": null,
          "enum": null,
          "name": "timeout",
          "required": false,
          "type": "float"
        },
        {
          "default": 0.5,
          "enum": null,
          "name": "poll_interval",
          "required": false,
          "type": "float"
        }
      ],
      "agent_example": "mammoth view pipeline wait 123",
      "command_id": "view.pipeline.wait",
      "contract_level": "typed",
      "description": "Wait for a dataview's pipeline to finish running.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth view pipeline wait DATAVIEW_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the dataview.",
          "metavar": "DATAVIEW_ID",
          "name": "dataview_id",
          "required": true,
          "type": "int"
        }
      ],
      "request_model": "ViewPipelineWaitRequest",
      "result_model": "ViewPipelineWaitResult",
      "runnable_example": "mammoth view pipeline wait 123"
    },
    "view preview": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "dataset_id",
          "required": false,
          "type": "int"
        },
        {
          "default": null,
          "enum": null,
          "name": "rows",
          "required": false,
          "type": "int"
        },
        {
          "default": null,
          "enum": null,
          "name": "cols",
          "required": false,
          "type": "int"
        }
      ],
      "agent_example": "mammoth view preview 123 456",
      "command_id": "view.preview",
      "contract_level": "typed",
      "description": "Preview a dataview's rows and columns.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth view preview VIEW_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the view to act on.",
          "metavar": "VIEW_ID",
          "name": "view_id",
          "required": true,
          "type": "int"
        },
        {
          "falls_back_to_field": "dataset_id",
          "help": "ID of the dataset the view belongs to; resolved from the view when omitted.",
          "metavar": "DATASET_ID",
          "name": "dataset_id",
          "required": false,
          "type": "int"
        }
      ],
      "request_model": "ViewPreviewRequest",
      "result_model": "ViewPreviewResult",
      "runnable_example": "mammoth view preview 123 456"
    },
    "view restore": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "dataset_id",
          "required": false,
          "type": "int"
        }
      ],
      "agent_example": "mammoth view restore 123 456",
      "command_id": "view.restore",
      "contract_level": "typed",
      "description": "Restore a trashed dataview.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth view restore VIEW_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the view to act on.",
          "metavar": "VIEW_ID",
          "name": "view_id",
          "required": true,
          "type": "int"
        },
        {
          "falls_back_to_field": "dataset_id",
          "help": "Exact parent dataset ID. Required for this command: pass it here or as the 'dataset_id' input field; only read commands may omit it and discover the parent.",
          "metavar": "DATASET_ID",
          "name": "dataset_id",
          "required": false,
          "type": "int"
        }
      ],
      "request_model": "ViewRestoreRequest",
      "result_model": "ViewRestoreResult",
      "runnable_example": "mammoth view restore 123 456"
    },
    "view summary": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "dataset_id",
          "required": false,
          "type": "int"
        }
      ],
      "agent_example": "mammoth view summary 123 456",
      "command_id": "view.summary",
      "contract_level": "typed",
      "description": "What a view has had done to it and where it goes: steps, actions, exports, dashboards.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth view summary DATAVIEW_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the dataview.",
          "metavar": "DATAVIEW_ID",
          "name": "dataview_id",
          "required": true,
          "type": "int"
        },
        {
          "falls_back_to_field": "dataset_id",
          "help": "Optional parent dataset ID; resolved from the view when omitted.",
          "metavar": "DATASET_ID",
          "name": "dataset_id",
          "required": false,
          "type": "int"
        }
      ],
      "request_model": "ViewSummaryRequest",
      "result_model": "ViewSummaryResult",
      "runnable_example": "mammoth view summary 123 456"
    },
    "view task add": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "task_spec",
          "required": true,
          "type": "dict[str, typing.Any] | list[dict[str, typing.Any]]"
        },
        {
          "default": null,
          "enum": null,
          "name": "dataset_id",
          "required": false,
          "type": "int"
        },
        {
          "default": null,
          "enum": null,
          "name": "expected_task_count",
          "required": false,
          "type": "int"
        }
      ],
      "agent_example": "mammoth view task add 123 --input '{\"task_spec\": {\"DATAVIEW_ID\": 123, \"SEQUENCE_NUMBER\": 1, \"COPY\": [{\"SOURCE\": \"column_1\", \"AS\": {\"COLUMN\": \"Copy of column 1\", \"TYPE\": \"TEXT\", \"INTERNAL_NAME\": \"column_9\"}}], \"VERSION\": 2}}'",
      "command_id": "view.task.add",
      "contract_level": "opaque_expert",
      "description": "Add a pipeline task to a dataview. 'task_spec' is required.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth view task add DATAVIEW_ID --help",
      "notes": [
        "EDITS THE GIVEN VIEW IN PLACE: this adds a step to the view and changes that view and its dataset's output. To make a NEW dataset and leave the source untouched: `mammoth view create SOURCE_DATASET_ID` (working view), do the steps on that working view, then `mammoth view export dataset WORKING_VIEW_ID` (add dataset_name only if the user named it)."
      ],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the dataview.",
          "metavar": "DATAVIEW_ID",
          "name": "dataview_id",
          "required": true,
          "type": "int"
        }
      ],
      "request_model": "ViewTaskAddRequest",
      "result_model": "ViewTaskAddResult",
      "runnable_example": "mammoth view task add 123 --input '{\"task_spec\": {\"DATAVIEW_ID\": 123, \"SEQUENCE_NUMBER\": 1, \"COPY\": [{\"SOURCE\": \"column_1\", \"AS\": {\"COLUMN\": \"Copy of column 1\", \"TYPE\": \"TEXT\", \"INTERNAL_NAME\": \"column_9\"}}], \"VERSION\": 2}}'"
    },
    "view task delete": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "dataset_id",
          "required": false,
          "type": "int"
        }
      ],
      "agent_example": "mammoth view task delete 123 456 --yes",
      "command_id": "view.task.delete",
      "contract_level": "typed",
      "description": "Delete one pipeline task by id. Prompt or '--yes' required.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth view task delete DATAVIEW_ID TASK_ID --help",
      "notes": [
        "EDITS THE GIVEN VIEW IN PLACE: this adds a step to the view and changes that view and its dataset's output. To make a NEW dataset and leave the source untouched: `mammoth view create SOURCE_DATASET_ID` (working view), do the steps on that working view, then `mammoth view export dataset WORKING_VIEW_ID` (add dataset_name only if the user named it)."
      ],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the dataview.",
          "metavar": "DATAVIEW_ID",
          "name": "dataview_id",
          "required": true,
          "type": "int"
        },
        {
          "falls_back_to_field": null,
          "help": "ID of the task.",
          "metavar": "TASK_ID",
          "name": "task_id",
          "required": true,
          "type": "int"
        }
      ],
      "request_model": "ViewTaskDeleteRequest",
      "result_model": "ViewTaskDeleteResult",
      "runnable_example": "mammoth view task delete 123 456 --yes"
    },
    "view task get": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "dataset_id",
          "required": false,
          "type": "int"
        }
      ],
      "agent_example": "mammoth view task get 123 456",
      "command_id": "view.task.get",
      "contract_level": "typed",
      "description": "Get one pipeline task by id.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth view task get DATAVIEW_ID TASK_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the dataview.",
          "metavar": "DATAVIEW_ID",
          "name": "dataview_id",
          "required": true,
          "type": "int"
        },
        {
          "falls_back_to_field": null,
          "help": "ID of the task.",
          "metavar": "TASK_ID",
          "name": "task_id",
          "required": true,
          "type": "int"
        }
      ],
      "request_model": "ViewTaskGetRequest",
      "result_model": "ViewTaskGetResult",
      "runnable_example": "mammoth view task get 123 456"
    },
    "view task list": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "dataset_id",
          "required": false,
          "type": "int"
        }
      ],
      "agent_example": "mammoth view task list 123",
      "command_id": "view.task.list",
      "contract_level": "typed",
      "description": "List a dataview's pipeline tasks.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth view task list DATAVIEW_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the dataview.",
          "metavar": "DATAVIEW_ID",
          "name": "dataview_id",
          "required": true,
          "type": "int"
        }
      ],
      "request_model": "ViewTaskListRequest",
      "result_model": "ViewTaskListResult",
      "runnable_example": "mammoth view task list 123"
    },
    "view task preview": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "task_spec",
          "required": true,
          "type": "dict[str, any]"
        },
        {
          "default": null,
          "enum": null,
          "name": "dataset_id",
          "required": false,
          "type": "int"
        },
        {
          "default": null,
          "enum": null,
          "name": "sample_size",
          "required": false,
          "type": "int"
        }
      ],
      "agent_example": "mammoth view task preview 123 --input '{\"task_spec\": {\"DATAVIEW_ID\": 123, \"SEQUENCE_NUMBER\": 1, \"COPY\": [{\"SOURCE\": \"column_1\", \"AS\": {\"COLUMN\": \"Copy of column 1\", \"TYPE\": \"TEXT\", \"INTERNAL_NAME\": \"column_9\"}}], \"VERSION\": 2}}'",
      "command_id": "view.task.preview",
      "contract_level": "opaque_expert",
      "description": "Preview the effect of a pipeline task without persisting it. 'task_spec' required.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth view task preview DATAVIEW_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the dataview.",
          "metavar": "DATAVIEW_ID",
          "name": "dataview_id",
          "required": true,
          "type": "int"
        }
      ],
      "request_model": "ViewTaskPreviewRequest",
      "result_model": "ViewTaskPreviewResult",
      "runnable_example": "mammoth view task preview 123 --input '{\"task_spec\": {\"DATAVIEW_ID\": 123, \"SEQUENCE_NUMBER\": 1, \"COPY\": [{\"SOURCE\": \"column_1\", \"AS\": {\"COLUMN\": \"Copy of column 1\", \"TYPE\": \"TEXT\", \"INTERNAL_NAME\": \"column_9\"}}], \"VERSION\": 2}}'"
    },
    "view task preview-cancel": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "dataset_id",
          "required": false,
          "type": "int"
        }
      ],
      "agent_example": "mammoth view task preview-cancel 123 456",
      "command_id": "view.task.preview-cancel",
      "contract_level": "typed",
      "description": "Cancel a task preview job that newer settings of the task replaced.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth view task preview-cancel DATAVIEW_ID JOB_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the dataview.",
          "metavar": "DATAVIEW_ID",
          "name": "dataview_id",
          "required": true,
          "type": "int"
        },
        {
          "falls_back_to_field": null,
          "help": "ID of the job.",
          "metavar": "JOB_ID",
          "name": "job_id",
          "required": true,
          "type": "int"
        }
      ],
      "request_model": "ViewTaskPreviewCancelRequest",
      "result_model": "ViewTaskPreviewCancelResult",
      "runnable_example": "mammoth view task preview-cancel 123 456"
    },
    "view task update": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "task_spec",
          "required": false,
          "type": "dict[str, any]"
        },
        {
          "default": null,
          "enum": null,
          "name": "dataset_id",
          "required": false,
          "type": "int"
        },
        {
          "default": null,
          "enum": null,
          "name": "patches",
          "required": false,
          "type": "list[dict[str, any]]"
        },
        {
          "default": null,
          "enum": null,
          "name": "skip_validation",
          "required": false,
          "type": "bool"
        }
      ],
      "agent_example": "mammoth view task update 123 456 --input '{\"task_spec\": {\"DATAVIEW_ID\": 123, \"SEQUENCE_NUMBER\": 1, \"COPY\": [{\"SOURCE\": \"column_1\", \"AS\": {\"COLUMN\": \"Copy of column 1\", \"TYPE\": \"TEXT\", \"INTERNAL_NAME\": \"column_9\"}}], \"VERSION\": 2}, \"dataset_id\": 456}'",
      "command_id": "view.task.update",
      "contract_level": "opaque_expert",
      "description": "Update one pipeline task by id. 'task_spec' is required.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth view task update DATAVIEW_ID TASK_ID --help",
      "notes": [
        "EDITS THE GIVEN VIEW IN PLACE: this adds a step to the view and changes that view and its dataset's output. To make a NEW dataset and leave the source untouched: `mammoth view create SOURCE_DATASET_ID` (working view), do the steps on that working view, then `mammoth view export dataset WORKING_VIEW_ID` (add dataset_name only if the user named it)."
      ],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the dataview.",
          "metavar": "DATAVIEW_ID",
          "name": "dataview_id",
          "required": true,
          "type": "int"
        },
        {
          "falls_back_to_field": null,
          "help": "ID of the task.",
          "metavar": "TASK_ID",
          "name": "task_id",
          "required": true,
          "type": "int"
        }
      ],
      "request_model": "ViewTaskUpdateRequest",
      "result_model": "ViewTaskUpdateResult",
      "runnable_example": "mammoth view task update 123 456 --input '{\"task_spec\": {\"DATAVIEW_ID\": 123, \"SEQUENCE_NUMBER\": 1, \"COPY\": [{\"SOURCE\": \"column_1\", \"AS\": {\"COLUMN\": \"Copy of column 1\", \"TYPE\": \"TEXT\", \"INTERNAL_NAME\": \"column_9\"}}], \"VERSION\": 2}, \"dataset_id\": 456}'"
    },
    "view transform add-column": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "name",
          "required": true,
          "type": "str"
        },
        {
          "default": "TEXT",
          "enum": [
            "TEXT",
            "NUMERIC",
            "DATE"
          ],
          "name": "column_type",
          "required": false,
          "type": "ColumnType"
        },
        {
          "default": null,
          "enum": null,
          "name": "dataset_id",
          "required": false,
          "type": "int"
        },
        {
          "default": null,
          "enum": null,
          "name": "expected_task_count",
          "required": false,
          "type": "int"
        }
      ],
      "agent_example": "mammoth view transform add-column 123 --input '{\"name\": \"Revenue report\", \"dataset_id\": 456}'",
      "command_id": "view.transform.add-column",
      "contract_level": "typed",
      "description": "Add a new column. 'name' is required; 'column_type' is optional.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth view transform add-column VIEW_ID --help",
      "notes": [
        "EDITS THE GIVEN VIEW IN PLACE: this adds a step to the view and changes that view and its dataset's output. To make a NEW dataset and leave the source untouched: `mammoth view create SOURCE_DATASET_ID` (working view), do the steps on that working view, then `mammoth view export dataset WORKING_VIEW_ID` (add dataset_name only if the user named it)."
      ],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the view to act on.",
          "metavar": "VIEW_ID",
          "name": "view_id",
          "required": true,
          "type": "int"
        }
      ],
      "request_model": "ViewTransformAddColumnRequest",
      "result_model": "ViewTransformAddColumnResult",
      "runnable_example": "mammoth view transform add-column 123 --input '{\"name\": \"Revenue report\", \"dataset_id\": 456}'"
    },
    "view transform add-sql": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "query",
          "required": true,
          "type": "str"
        },
        {
          "default": null,
          "enum": null,
          "name": "dataset_id",
          "required": false,
          "type": "int"
        },
        {
          "default": null,
          "enum": null,
          "name": "expected_task_count",
          "required": false,
          "type": "int"
        }
      ],
      "agent_example": "mammoth view transform add-sql 123 --input '{\"query\": \"SELECT region, SUM(revenue) AS revenue FROM \\\"view:123\\\" GROUP BY region\", \"dataset_id\": 456}'",
      "command_id": "view.transform.add-sql",
      "contract_level": "typed",
      "description": "Add a column via a raw SQL expression. 'query' is required.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth view transform add-sql VIEW_ID --help",
      "notes": [
        "EDITS THE GIVEN VIEW IN PLACE: this adds a step to the view and changes that view and its dataset's output. To make a NEW dataset and leave the source untouched: `mammoth view create SOURCE_DATASET_ID` (working view), do the steps on that working view, then `mammoth view export dataset WORKING_VIEW_ID` (add dataset_name only if the user named it)."
      ],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the view to act on.",
          "metavar": "VIEW_ID",
          "name": "view_id",
          "required": true,
          "type": "int"
        }
      ],
      "request_model": "ViewTransformAddSqlRequest",
      "result_model": "ViewTransformAddSqlResult",
      "runnable_example": "mammoth view transform add-sql 123 --input '{\"query\": \"SELECT region, SUM(revenue) AS revenue FROM \\\"view:123\\\" GROUP BY region\", \"dataset_id\": 456}'"
    },
    "view transform ai": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "prompt",
          "required": true,
          "type": "str"
        },
        {
          "default": null,
          "enum": null,
          "name": "context_columns",
          "required": true,
          "type": "list[str]"
        },
        {
          "default": "AI Result",
          "enum": null,
          "name": "new_column",
          "required": false,
          "type": "str"
        },
        {
          "default": null,
          "enum": null,
          "name": "assistant_data",
          "required": false,
          "type": "list[str]"
        },
        {
          "default": null,
          "enum": null,
          "name": "context_columns_derivation",
          "required": false,
          "type": "bool"
        },
        {
          "default": null,
          "enum": null,
          "name": "dataset_id",
          "required": false,
          "type": "int"
        },
        {
          "default": null,
          "enum": null,
          "name": "expected_task_count",
          "required": false,
          "type": "int"
        }
      ],
      "agent_example": "mammoth view transform ai 123 --input '{\"prompt\": \"Summarize revenue by region\", \"context_columns\": [\"Status\"], \"dataset_id\": 456}'",
      "command_id": "view.transform.ai",
      "contract_level": "typed",
      "description": "Generate a column with an AI prompt. 'prompt'/'context_columns' required.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth view transform ai VIEW_ID --help",
      "notes": [
        "EDITS THE GIVEN VIEW IN PLACE: this adds a step to the view and changes that view and its dataset's output. To make a NEW dataset and leave the source untouched: `mammoth view create SOURCE_DATASET_ID` (working view), do the steps on that working view, then `mammoth view export dataset WORKING_VIEW_ID` (add dataset_name only if the user named it)."
      ],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the view to act on.",
          "metavar": "VIEW_ID",
          "name": "view_id",
          "required": true,
          "type": "int"
        }
      ],
      "request_model": "ViewTransformAiRequest",
      "result_model": "ViewTransformAiResult",
      "runnable_example": "mammoth view transform ai 123 --input '{\"prompt\": \"Summarize revenue by region\", \"context_columns\": [\"Status\"], \"dataset_id\": 456}'"
    },
    "view transform batch": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "steps",
          "required": true,
          "type": "list[dict[str, any]]"
        },
        {
          "default": null,
          "enum": null,
          "name": "dataset_id",
          "required": false,
          "type": "int"
        },
        {
          "default": null,
          "enum": null,
          "name": "expected_task_count",
          "required": false,
          "type": "int"
        }
      ],
      "agent_example": "mammoth view transform batch 123 --input '{\"steps\": [{\"op\": \"filter\", \"input\": {\"condition\": {\"column\": \"Cost\", \"operator\": \"GTE\", \"value\": 20}}}, {\"op\": \"sort\", \"input\": {\"order_by\": [[\"Cost\", \"DESC\"]]}}, {\"op\": \"limit-rows\", \"input\": {\"n\": 2}}], \"dataset_id\": 456}'",
      "command_id": "view.transform.batch",
      "contract_level": "typed",
      "description": "Add several transforms in one request. 'steps' is required.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth view transform batch VIEW_ID --help",
      "notes": [
        "EDITS THE GIVEN VIEW IN PLACE: this adds a step to the view and changes that view and its dataset's output. To make a NEW dataset and leave the source untouched: `mammoth view create SOURCE_DATASET_ID` (working view), do the steps on that working view, then `mammoth view export dataset WORKING_VIEW_ID` (add dataset_name only if the user named it).",
        "Allowed values: steps[].op: filter, sort, limit-rows, discard-duplicates, fill-missing, bulk-replace, replace, text, substring, extract-date, increment-date, repeat-rows, copy-columns, split, unnest, pivot"
      ],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the view to act on.",
          "metavar": "VIEW_ID",
          "name": "view_id",
          "required": true,
          "type": "int"
        }
      ],
      "request_model": "ViewTransformBatchRequest",
      "result_model": "ViewTransformBatchResult",
      "runnable_example": "mammoth view transform batch 123 --input '{\"steps\": [{\"op\": \"filter\", \"input\": {\"condition\": {\"column\": \"Cost\", \"operator\": \"GTE\", \"value\": 20}}}, {\"op\": \"sort\", \"input\": {\"order_by\": [[\"Cost\", \"DESC\"]]}}, {\"op\": \"limit-rows\", \"input\": {\"n\": 2}}], \"dataset_id\": 456}'"
    },
    "view transform bulk-replace": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "columns",
          "required": true,
          "type": "list[str]"
        },
        {
          "default": null,
          "enum": null,
          "name": "mapping",
          "required": true,
          "type": "list[BulkReplaceMapping]"
        },
        {
          "default": true,
          "enum": null,
          "name": "match_case",
          "required": false,
          "type": "bool"
        },
        {
          "default": false,
          "enum": null,
          "name": "match_words",
          "required": false,
          "type": "bool"
        },
        {
          "default": null,
          "enum": null,
          "name": "condition",
          "required": false,
          "type": "mammoth.condition.Condition | mammoth.condition.CompoundCondition | mammoth.condition.NotCondition | None"
        },
        {
          "default": null,
          "enum": null,
          "name": "dataset_id",
          "required": false,
          "type": "int"
        },
        {
          "default": null,
          "enum": null,
          "name": "expected_task_count",
          "required": false,
          "type": "int"
        }
      ],
      "agent_example": "mammoth view transform bulk-replace 123 --input '{\"columns\": [\"Status\"], \"mapping\": [{\"search\": [\"N/A\"], \"replace\": \"Unknown\"}], \"dataset_id\": 456}'",
      "command_id": "view.transform.bulk-replace",
      "contract_level": "typed",
      "description": "Bulk-replace values. 'columns'/'mapping' required.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth view transform bulk-replace VIEW_ID --help",
      "notes": [
        "EDITS THE GIVEN VIEW IN PLACE: this adds a step to the view and changes that view and its dataset's output. To make a NEW dataset and leave the source untouched: `mammoth view create SOURCE_DATASET_ID` (working view), do the steps on that working view, then `mammoth view export dataset WORKING_VIEW_ID` (add dataset_name only if the user named it)."
      ],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the view to act on.",
          "metavar": "VIEW_ID",
          "name": "view_id",
          "required": true,
          "type": "int"
        }
      ],
      "request_model": "ViewTransformBulkReplaceRequest",
      "result_model": "ViewTransformBulkReplaceResult",
      "runnable_example": "mammoth view transform bulk-replace 123 --input '{\"columns\": [\"Status\"], \"mapping\": [{\"search\": [\"N/A\"], \"replace\": \"Unknown\"}], \"dataset_id\": 456}'"
    },
    "view transform combine-columns": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "sources",
          "required": true,
          "type": "list[str]"
        },
        {
          "default": null,
          "enum": null,
          "name": "new_column",
          "required": false,
          "type": "str"
        },
        {
          "default": "TEXT",
          "enum": [
            "TEXT",
            "NUMERIC",
            "DATE"
          ],
          "name": "column_type",
          "required": false,
          "type": "ColumnType"
        },
        {
          "default": null,
          "enum": null,
          "name": "existing_column",
          "required": false,
          "type": "str"
        },
        {
          "default": " ",
          "enum": null,
          "name": "separator",
          "required": false,
          "type": "str"
        },
        {
          "default": null,
          "enum": null,
          "name": "condition",
          "required": false,
          "type": "mammoth.condition.Condition | mammoth.condition.CompoundCondition | mammoth.condition.NotCondition | None"
        },
        {
          "default": null,
          "enum": null,
          "name": "dataset_id",
          "required": false,
          "type": "int"
        },
        {
          "default": null,
          "enum": null,
          "name": "expected_task_count",
          "required": false,
          "type": "int"
        }
      ],
      "agent_example": "mammoth view transform combine-columns 123 --input '{\"sources\": [\"Status\"], \"dataset_id\": 456}'",
      "command_id": "view.transform.combine-columns",
      "contract_level": "typed",
      "description": "Combine columns into one. 'sources' is required.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth view transform combine-columns VIEW_ID --help",
      "notes": [
        "EDITS THE GIVEN VIEW IN PLACE: this adds a step to the view and changes that view and its dataset's output. To make a NEW dataset and leave the source untouched: `mammoth view create SOURCE_DATASET_ID` (working view), do the steps on that working view, then `mammoth view export dataset WORKING_VIEW_ID` (add dataset_name only if the user named it)."
      ],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the view to act on.",
          "metavar": "VIEW_ID",
          "name": "view_id",
          "required": true,
          "type": "int"
        }
      ],
      "request_model": "ViewTransformCombineColumnsRequest",
      "result_model": "ViewTransformCombineColumnsResult",
      "runnable_example": "mammoth view transform combine-columns 123 --input '{\"sources\": [\"Status\"], \"dataset_id\": 456}'"
    },
    "view transform convert-type": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "conversions",
          "required": true,
          "type": "list[ConversionSpec]"
        },
        {
          "default": null,
          "enum": null,
          "name": "dataset_id",
          "required": false,
          "type": "int"
        },
        {
          "default": null,
          "enum": null,
          "name": "expected_task_count",
          "required": false,
          "type": "int"
        }
      ],
      "agent_example": "mammoth view transform convert-type 123 --input '{\"conversions\": [{\"column\": \"Status\", \"to\": \"TEXT\"}], \"dataset_id\": 456}'",
      "command_id": "view.transform.convert-type",
      "contract_level": "typed",
      "description": "Convert column types. 'conversions' is required.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth view transform convert-type VIEW_ID --help",
      "notes": [
        "EDITS THE GIVEN VIEW IN PLACE: this adds a step to the view and changes that view and its dataset's output. To make a NEW dataset and leave the source untouched: `mammoth view create SOURCE_DATASET_ID` (working view), do the steps on that working view, then `mammoth view export dataset WORKING_VIEW_ID` (add dataset_name only if the user named it)."
      ],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the view to act on.",
          "metavar": "VIEW_ID",
          "name": "view_id",
          "required": true,
          "type": "int"
        }
      ],
      "request_model": "ViewTransformConvertTypeRequest",
      "result_model": "ViewTransformConvertTypeResult",
      "runnable_example": "mammoth view transform convert-type 123 --input '{\"conversions\": [{\"column\": \"Status\", \"to\": \"TEXT\"}], \"dataset_id\": 456}'"
    },
    "view transform copy-columns": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "copies",
          "required": true,
          "type": "list[CopySpec]"
        },
        {
          "default": null,
          "enum": null,
          "name": "dataset_id",
          "required": false,
          "type": "int"
        },
        {
          "default": null,
          "enum": null,
          "name": "expected_task_count",
          "required": false,
          "type": "int"
        }
      ],
      "agent_example": "mammoth view transform copy-columns 123 --input '{\"copies\": [{\"source\": \"Status\"}], \"dataset_id\": 456}'",
      "command_id": "view.transform.copy-columns",
      "contract_level": "typed",
      "description": "Copy columns. 'copies' is required.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth view transform copy-columns VIEW_ID --help",
      "notes": [
        "EDITS THE GIVEN VIEW IN PLACE: this adds a step to the view and changes that view and its dataset's output. To make a NEW dataset and leave the source untouched: `mammoth view create SOURCE_DATASET_ID` (working view), do the steps on that working view, then `mammoth view export dataset WORKING_VIEW_ID` (add dataset_name only if the user named it)."
      ],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the view to act on.",
          "metavar": "VIEW_ID",
          "name": "view_id",
          "required": true,
          "type": "int"
        }
      ],
      "request_model": "ViewTransformCopyColumnsRequest",
      "result_model": "ViewTransformCopyColumnsResult",
      "runnable_example": "mammoth view transform copy-columns 123 --input '{\"copies\": [{\"source\": \"Status\"}], \"dataset_id\": 456}'"
    },
    "view transform crosstab": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "rows",
          "required": true,
          "type": "list[str]"
        },
        {
          "default": null,
          "enum": null,
          "name": "pivot_column",
          "required": true,
          "type": "str"
        },
        {
          "default": null,
          "enum": null,
          "name": "select",
          "required": true,
          "type": "mammoth.models.pipeline.CrosstabSpec | list[mammoth.models.pipeline.CrosstabSpec]"
        },
        {
          "default": null,
          "enum": null,
          "name": "dataset_name",
          "required": true,
          "type": "str"
        },
        {
          "default": "REPLACE_IN_DS",
          "enum": [
            "REPLACE_IN_DS",
            "APPEND_TO_DS"
          ],
          "name": "save_as_mode",
          "required": false,
          "type": "SaveAsDatasetMode"
        },
        {
          "default": null,
          "enum": null,
          "name": "target_ds_id",
          "required": false,
          "type": "int"
        },
        {
          "default": null,
          "enum": null,
          "name": "condition",
          "required": false,
          "type": "mammoth.condition.Condition | mammoth.condition.CompoundCondition | mammoth.condition.NotCondition | None"
        },
        {
          "default": null,
          "enum": null,
          "name": "timeout",
          "required": false,
          "type": "int"
        },
        {
          "default": null,
          "enum": null,
          "name": "dataset_id",
          "required": false,
          "type": "int"
        },
        {
          "default": null,
          "enum": null,
          "name": "expected_task_count",
          "required": false,
          "type": "int"
        }
      ],
      "agent_example": "mammoth view transform crosstab 123 --input '{\"rows\": [\"Region\"], \"pivot_column\": \"Product\", \"select\": {\"column\": \"Revenue\", \"function\": \"SUM\"}, \"dataset_name\": \"Revenue by region\", \"dataset_id\": 456}'",
      "command_id": "view.transform.crosstab",
      "contract_level": "typed",
      "description": "Build a crosstab into a new dataset. 'rows'/'pivot_column'/'select'/",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth view transform crosstab VIEW_ID --help",
      "notes": [
        "EDITS THE GIVEN VIEW IN PLACE: this adds a step to the view and changes that view and its dataset's output. To make a NEW dataset and leave the source untouched: `mammoth view create SOURCE_DATASET_ID` (working view), do the steps on that working view, then `mammoth view export dataset WORKING_VIEW_ID` (add dataset_name only if the user named it)."
      ],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the view to act on.",
          "metavar": "VIEW_ID",
          "name": "view_id",
          "required": true,
          "type": "int"
        }
      ],
      "request_model": "ViewTransformCrosstabRequest",
      "result_model": "ViewTransformCrosstabResult",
      "runnable_example": "mammoth view transform crosstab 123 --input '{\"rows\": [\"Region\"], \"pivot_column\": \"Product\", \"select\": {\"column\": \"Revenue\", \"function\": \"SUM\"}, \"dataset_name\": \"Revenue by region\", \"dataset_id\": 456}'"
    },
    "view transform date-diff": {
      "accepted_fields": [
        {
          "default": null,
          "enum": [
            "YEAR",
            "MONTH",
            "DAY",
            "HOUR",
            "MINUTE",
            "SECOND",
            "WEEK",
            "QUARTER"
          ],
          "name": "component",
          "required": true,
          "type": "DateDiffUnit"
        },
        {
          "default": null,
          "enum": null,
          "name": "start",
          "required": true,
          "type": "str"
        },
        {
          "default": null,
          "enum": null,
          "name": "end",
          "required": true,
          "type": "str"
        },
        {
          "default": null,
          "enum": null,
          "name": "new_column",
          "required": false,
          "type": "str"
        },
        {
          "default": null,
          "enum": null,
          "name": "existing_column",
          "required": false,
          "type": "str"
        },
        {
          "default": null,
          "enum": null,
          "name": "dataset_id",
          "required": false,
          "type": "int"
        },
        {
          "default": null,
          "enum": null,
          "name": "expected_task_count",
          "required": false,
          "type": "int"
        }
      ],
      "agent_example": "mammoth view transform date-diff 123 --input '{\"component\": \"YEAR\", \"start\": \"Order Date\", \"end\": \"Ship Date\", \"dataset_id\": 456}'",
      "command_id": "view.transform.date-diff",
      "contract_level": "typed",
      "description": "Compute the difference between two dates. 'component'/'start'/'end' required.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth view transform date-diff VIEW_ID --help",
      "notes": [
        "EDITS THE GIVEN VIEW IN PLACE: this adds a step to the view and changes that view and its dataset's output. To make a NEW dataset and leave the source untouched: `mammoth view create SOURCE_DATASET_ID` (working view), do the steps on that working view, then `mammoth view export dataset WORKING_VIEW_ID` (add dataset_name only if the user named it)."
      ],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the view to act on.",
          "metavar": "VIEW_ID",
          "name": "view_id",
          "required": true,
          "type": "int"
        }
      ],
      "request_model": "ViewTransformDateDiffRequest",
      "result_model": "ViewTransformDateDiffResult",
      "runnable_example": "mammoth view transform date-diff 123 --input '{\"component\": \"YEAR\", \"start\": \"Order Date\", \"end\": \"Ship Date\", \"dataset_id\": 456}'"
    },
    "view transform delete-columns": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "columns",
          "required": true,
          "type": "list[str]"
        },
        {
          "default": null,
          "enum": null,
          "name": "dataset_id",
          "required": false,
          "type": "int"
        },
        {
          "default": null,
          "enum": null,
          "name": "expected_task_count",
          "required": false,
          "type": "int"
        }
      ],
      "agent_example": "mammoth view transform delete-columns 123 --input '{\"columns\": [\"Status\"], \"dataset_id\": 456}' --yes",
      "command_id": "view.transform.delete-columns",
      "contract_level": "typed",
      "description": "Delete columns. 'columns' is required. Prompt or '--yes' required.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth view transform delete-columns VIEW_ID --help",
      "notes": [
        "EDITS THE GIVEN VIEW IN PLACE: this adds a step to the view and changes that view and its dataset's output. To make a NEW dataset and leave the source untouched: `mammoth view create SOURCE_DATASET_ID` (working view), do the steps on that working view, then `mammoth view export dataset WORKING_VIEW_ID` (add dataset_name only if the user named it)."
      ],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the view to act on.",
          "metavar": "VIEW_ID",
          "name": "view_id",
          "required": true,
          "type": "int"
        }
      ],
      "request_model": "ViewTransformDeleteColumnsRequest",
      "result_model": "ViewTransformDeleteColumnsResult",
      "runnable_example": "mammoth view transform delete-columns 123 --input '{\"columns\": [\"Status\"], \"dataset_id\": 456}' --yes"
    },
    "view transform discard-duplicates": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "ignore_columns",
          "required": false,
          "type": "list[str]"
        },
        {
          "default": null,
          "enum": null,
          "name": "dataset_id",
          "required": false,
          "type": "int"
        },
        {
          "default": null,
          "enum": null,
          "name": "expected_task_count",
          "required": false,
          "type": "int"
        },
        {
          "default": null,
          "enum": null,
          "name": "key_columns",
          "required": false,
          "type": "list[str]"
        }
      ],
      "agent_example": "mammoth view transform discard-duplicates 123 --input '{\"dataset_id\": 456}'",
      "command_id": "view.transform.discard-duplicates",
      "contract_level": "typed",
      "description": "Discard duplicate rows. 'ignore_columns' or 'key_columns' is optional.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth view transform discard-duplicates VIEW_ID --help",
      "notes": [
        "EDITS THE GIVEN VIEW IN PLACE: this adds a step to the view and changes that view and its dataset's output. To make a NEW dataset and leave the source untouched: `mammoth view create SOURCE_DATASET_ID` (working view), do the steps on that working view, then `mammoth view export dataset WORKING_VIEW_ID` (add dataset_name only if the user named it)."
      ],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the view to act on.",
          "metavar": "VIEW_ID",
          "name": "view_id",
          "required": true,
          "type": "int"
        }
      ],
      "request_model": "ViewTransformDiscardDuplicatesRequest",
      "result_model": "ViewTransformDiscardDuplicatesResult",
      "runnable_example": "mammoth view transform discard-duplicates 123 --input '{\"dataset_id\": 456}'"
    },
    "view transform extract-date": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "column",
          "required": true,
          "type": "str"
        },
        {
          "default": null,
          "enum": [
            "year",
            "month",
            "day",
            "hour",
            "minute",
            "second",
            "week",
            "quarter",
            "weekday",
            "day_of_year",
            "millisecond",
            "weekday_text",
            "month_text",
            "month_year",
            "year_month",
            "year_month_number",
            "year_month_day",
            "year_month_day_as_date",
            "month_day_year",
            "month_day_year_hour_minute_second",
            "hour_minute_second",
            "hour_minute_second_millisecond"
          ],
          "name": "component",
          "required": true,
          "type": "DateComponent"
        },
        {
          "default": null,
          "enum": null,
          "name": "new_column",
          "required": false,
          "type": "str"
        },
        {
          "default": null,
          "enum": null,
          "name": "existing_column",
          "required": false,
          "type": "str"
        },
        {
          "default": null,
          "enum": null,
          "name": "dataset_id",
          "required": false,
          "type": "int"
        },
        {
          "default": null,
          "enum": null,
          "name": "expected_task_count",
          "required": false,
          "type": "int"
        }
      ],
      "agent_example": "mammoth view transform extract-date 123 --input '{\"column\": \"Status\", \"component\": \"year\", \"dataset_id\": 456}'",
      "command_id": "view.transform.extract-date",
      "contract_level": "typed",
      "description": "Extract a date component into a column. 'column'/'component' required.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth view transform extract-date VIEW_ID --help",
      "notes": [
        "EDITS THE GIVEN VIEW IN PLACE: this adds a step to the view and changes that view and its dataset's output. To make a NEW dataset and leave the source untouched: `mammoth view create SOURCE_DATASET_ID` (working view), do the steps on that working view, then `mammoth view export dataset WORKING_VIEW_ID` (add dataset_name only if the user named it)."
      ],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the view to act on.",
          "metavar": "VIEW_ID",
          "name": "view_id",
          "required": true,
          "type": "int"
        }
      ],
      "request_model": "ViewTransformExtractDateRequest",
      "result_model": "ViewTransformExtractDateResult",
      "runnable_example": "mammoth view transform extract-date 123 --input '{\"column\": \"Status\", \"component\": \"year\", \"dataset_id\": 456}'"
    },
    "view transform fill-missing": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "column",
          "required": true,
          "type": "str"
        },
        {
          "default": null,
          "enum": [
            "FIRST_VALUE",
            "LAST_VALUE"
          ],
          "name": "direction",
          "required": true,
          "type": "FillDirection"
        },
        {
          "default": null,
          "enum": null,
          "name": "partition_by",
          "required": false,
          "type": "str"
        },
        {
          "default": null,
          "enum": null,
          "name": "order_by",
          "required": false,
          "type": "list[list[str | mammoth.models.pipeline.SortDirection]]"
        },
        {
          "default": null,
          "enum": null,
          "name": "dataset_id",
          "required": false,
          "type": "int"
        },
        {
          "default": null,
          "enum": null,
          "name": "expected_task_count",
          "required": false,
          "type": "int"
        }
      ],
      "agent_example": "mammoth view transform fill-missing 123 --input '{\"column\": \"Status\", \"direction\": \"FIRST_VALUE\", \"dataset_id\": 456}'",
      "command_id": "view.transform.fill-missing",
      "contract_level": "typed",
      "description": "Fill missing values. 'column'/'direction' required.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth view transform fill-missing VIEW_ID --help",
      "notes": [
        "EDITS THE GIVEN VIEW IN PLACE: this adds a step to the view and changes that view and its dataset's output. To make a NEW dataset and leave the source untouched: `mammoth view create SOURCE_DATASET_ID` (working view), do the steps on that working view, then `mammoth view export dataset WORKING_VIEW_ID` (add dataset_name only if the user named it)."
      ],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the view to act on.",
          "metavar": "VIEW_ID",
          "name": "view_id",
          "required": true,
          "type": "int"
        }
      ],
      "request_model": "ViewTransformFillMissingRequest",
      "result_model": "ViewTransformFillMissingResult",
      "runnable_example": "mammoth view transform fill-missing 123 --input '{\"column\": \"Status\", \"direction\": \"FIRST_VALUE\", \"dataset_id\": 456}'"
    },
    "view transform filter": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "condition",
          "required": true,
          "type": "mammoth.condition.Condition | mammoth.condition.CompoundCondition | mammoth.condition.NotCondition"
        },
        {
          "default": "SHOW",
          "enum": [
            "SHOW",
            "REMOVE"
          ],
          "name": "filter_type",
          "required": false,
          "type": "FilterType"
        },
        {
          "default": "",
          "enum": null,
          "name": "prompt",
          "required": false,
          "type": "str"
        },
        {
          "default": null,
          "enum": null,
          "name": "dataset_id",
          "required": false,
          "type": "int"
        },
        {
          "default": null,
          "enum": null,
          "name": "expected_task_count",
          "required": false,
          "type": "int"
        }
      ],
      "agent_example": "mammoth view transform filter 123 --input '{\"condition\": {\"column\": \"Status\", \"operator\": \"EQ\", \"value\": \"Active\"}, \"dataset_id\": 456}'",
      "command_id": "view.transform.filter",
      "contract_level": "typed",
      "description": "Filter rows. 'condition' is required.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth view transform filter VIEW_ID --help",
      "notes": [
        "EDITS THE GIVEN VIEW IN PLACE: this adds a step to the view and changes that view and its dataset's output. To make a NEW dataset and leave the source untouched: `mammoth view create SOURCE_DATASET_ID` (working view), do the steps on that working view, then `mammoth view export dataset WORKING_VIEW_ID` (add dataset_name only if the user named it)."
      ],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the view to act on.",
          "metavar": "VIEW_ID",
          "name": "view_id",
          "required": true,
          "type": "int"
        }
      ],
      "request_model": "ViewTransformFilterRequest",
      "result_model": "ViewTransformFilterResult",
      "runnable_example": "mammoth view transform filter 123 --input '{\"condition\": {\"column\": \"Status\", \"operator\": \"EQ\", \"value\": \"Active\"}, \"dataset_id\": 456}'"
    },
    "view transform first-name": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "column",
          "required": true,
          "type": "str"
        },
        {
          "default": null,
          "enum": null,
          "name": "new_column",
          "required": false,
          "type": "str"
        },
        {
          "default": null,
          "enum": null,
          "name": "existing_column",
          "required": false,
          "type": "str"
        },
        {
          "default": null,
          "enum": null,
          "name": "dataset_id",
          "required": false,
          "type": "int"
        },
        {
          "default": null,
          "enum": null,
          "name": "expected_task_count",
          "required": false,
          "type": "int"
        }
      ],
      "agent_example": "mammoth view transform first-name 123 --input '{\"column\": \"Name\", \"new_column\": \"First name\", \"dataset_id\": 456}'",
      "command_id": "view.transform.first-name",
      "contract_level": "typed",
      "description": "Extract the first word of a text column, in one call. 'column' is required.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth view transform first-name VIEW_ID --help",
      "notes": [
        "EDITS THE GIVEN VIEW IN PLACE: this adds a step to the view and changes that view and its dataset's output. To make a NEW dataset and leave the source untouched: `mammoth view create SOURCE_DATASET_ID` (working view), do the steps on that working view, then `mammoth view export dataset WORKING_VIEW_ID` (add dataset_name only if the user named it)."
      ],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the view to act on.",
          "metavar": "VIEW_ID",
          "name": "view_id",
          "required": true,
          "type": "int"
        }
      ],
      "request_model": "ViewTransformFirstNameRequest",
      "result_model": "ViewTransformFirstNameResult",
      "runnable_example": "mammoth view transform first-name 123 --input '{\"column\": \"Name\", \"new_column\": \"First name\", \"dataset_id\": 456}'"
    },
    "view transform generate-sql": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "intent",
          "required": true,
          "type": "str"
        },
        {
          "default": null,
          "enum": null,
          "name": "dataset_id",
          "required": false,
          "type": "int"
        },
        {
          "default": null,
          "enum": null,
          "name": "expected_task_count",
          "required": false,
          "type": "int"
        }
      ],
      "agent_example": "mammoth view transform generate-sql 123 --input '{\"intent\": \"Summarize revenue by region\", \"dataset_id\": 456}'",
      "command_id": "view.transform.generate-sql",
      "contract_level": "typed",
      "description": "Generate a SQL query from a natural-language intent. 'intent' is required.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth view transform generate-sql VIEW_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the view to act on.",
          "metavar": "VIEW_ID",
          "name": "view_id",
          "required": true,
          "type": "int"
        }
      ],
      "request_model": "ViewTransformGenerateSqlRequest",
      "result_model": "ViewTransformGenerateSqlResult",
      "runnable_example": "mammoth view transform generate-sql 123 --input '{\"intent\": \"Summarize revenue by region\", \"dataset_id\": 456}'"
    },
    "view transform increment-date": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "column",
          "required": true,
          "type": "str"
        },
        {
          "default": null,
          "enum": null,
          "name": "delta",
          "required": true,
          "type": "DateDelta"
        },
        {
          "default": null,
          "enum": null,
          "name": "new_column",
          "required": false,
          "type": "str"
        },
        {
          "default": null,
          "enum": null,
          "name": "existing_column",
          "required": false,
          "type": "str"
        },
        {
          "default": null,
          "enum": null,
          "name": "condition",
          "required": false,
          "type": "mammoth.condition.Condition | mammoth.condition.CompoundCondition | mammoth.condition.NotCondition | None"
        },
        {
          "default": null,
          "enum": null,
          "name": "dataset_id",
          "required": false,
          "type": "int"
        },
        {
          "default": null,
          "enum": null,
          "name": "expected_task_count",
          "required": false,
          "type": "int"
        }
      ],
      "agent_example": "mammoth view transform increment-date 123 --input '{\"column\": \"Status\", \"delta\": {}, \"dataset_id\": 456}'",
      "command_id": "view.transform.increment-date",
      "contract_level": "typed",
      "description": "Increment a date column. 'column'/'delta' required.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth view transform increment-date VIEW_ID --help",
      "notes": [
        "EDITS THE GIVEN VIEW IN PLACE: this adds a step to the view and changes that view and its dataset's output. To make a NEW dataset and leave the source untouched: `mammoth view create SOURCE_DATASET_ID` (working view), do the steps on that working view, then `mammoth view export dataset WORKING_VIEW_ID` (add dataset_name only if the user named it)."
      ],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the view to act on.",
          "metavar": "VIEW_ID",
          "name": "view_id",
          "required": true,
          "type": "int"
        }
      ],
      "request_model": "ViewTransformIncrementDateRequest",
      "result_model": "ViewTransformIncrementDateResult",
      "runnable_example": "mammoth view transform increment-date 123 --input '{\"column\": \"Status\", \"delta\": {}, \"dataset_id\": 456}'"
    },
    "view transform join": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "foreign_view",
          "required": true,
          "type": "int | mammoth.view.View"
        },
        {
          "default": null,
          "enum": [
            "INNER",
            "LEFT",
            "RIGHT",
            "OUTER"
          ],
          "name": "join_type",
          "required": true,
          "type": "JoinType"
        },
        {
          "default": null,
          "enum": null,
          "name": "on",
          "required": true,
          "type": "list[JoinKeySpec]"
        },
        {
          "default": null,
          "enum": null,
          "name": "select",
          "required": true,
          "type": "list[str | mammoth.models.pipeline.JoinSelectSpec]"
        },
        {
          "default": null,
          "enum": null,
          "name": "column_prefix",
          "required": false,
          "type": "str"
        },
        {
          "default": null,
          "enum": null,
          "name": "foreign_dataset_id",
          "required": false,
          "type": "int"
        },
        {
          "default": null,
          "enum": null,
          "name": "dataset_id",
          "required": false,
          "type": "int"
        },
        {
          "default": null,
          "enum": null,
          "name": "expected_task_count",
          "required": false,
          "type": "int"
        }
      ],
      "agent_example": "mammoth view transform join 123 --input '{\"foreign_view\": 1, \"join_type\": \"INNER\", \"on\": [{\"left\": \"Customer ID\", \"right\": \"Customer ID\"}], \"select\": [\"Region\"], \"dataset_id\": 456, \"foreign_dataset_id\": 457}'",
      "command_id": "view.transform.join",
      "contract_level": "typed",
      "description": "Join another view. 'foreign_view'/'join_type'/'on'/'select' required.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth view transform join VIEW_ID --help",
      "notes": [
        "EDITS THE GIVEN VIEW IN PLACE: this adds a step to the view and changes that view and its dataset's output. To make a NEW dataset and leave the source untouched: `mammoth view create SOURCE_DATASET_ID` (working view), do the steps on that working view, then `mammoth view export dataset WORKING_VIEW_ID` (add dataset_name only if the user named it)."
      ],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the view to act on.",
          "metavar": "VIEW_ID",
          "name": "view_id",
          "required": true,
          "type": "int"
        }
      ],
      "request_model": "ViewTransformJoinRequest",
      "result_model": "ViewTransformJoinResult",
      "runnable_example": "mammoth view transform join 123 --input '{\"foreign_view\": 1, \"join_type\": \"INNER\", \"on\": [{\"left\": \"Customer ID\", \"right\": \"Customer ID\"}], \"select\": [\"Region\"], \"dataset_id\": 456, \"foreign_dataset_id\": 457}'"
    },
    "view transform json-extract": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "column",
          "required": true,
          "type": "str"
        },
        {
          "default": "OBJECT",
          "enum": [
            "OBJECT",
            "LIST"
          ],
          "name": "json_type",
          "required": false,
          "type": "JsonType"
        },
        {
          "default": null,
          "enum": null,
          "name": "keys",
          "required": false,
          "type": "list[str]"
        },
        {
          "default": null,
          "enum": null,
          "name": "extractions",
          "required": false,
          "type": "list[JsonExtractionSpec]"
        },
        {
          "default": false,
          "enum": null,
          "name": "keep_source",
          "required": false,
          "type": "bool"
        },
        {
          "default": null,
          "enum": [
            "JSON_OBJECT_TO_COLUMNS",
            "JSON_LIST_TO_ROWS"
          ],
          "name": "op_type",
          "required": false,
          "type": "JsonOpType"
        },
        {
          "default": null,
          "enum": null,
          "name": "dataset_id",
          "required": false,
          "type": "int"
        },
        {
          "default": null,
          "enum": null,
          "name": "expected_task_count",
          "required": false,
          "type": "int"
        }
      ],
      "agent_example": "mammoth view transform json-extract 123 --input '{\"column\": \"Status\", \"dataset_id\": 456}'",
      "command_id": "view.transform.json-extract",
      "contract_level": "typed",
      "description": "Extract fields from a JSON column. 'column' is required.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth view transform json-extract VIEW_ID --help",
      "notes": [
        "EDITS THE GIVEN VIEW IN PLACE: this adds a step to the view and changes that view and its dataset's output. To make a NEW dataset and leave the source untouched: `mammoth view create SOURCE_DATASET_ID` (working view), do the steps on that working view, then `mammoth view export dataset WORKING_VIEW_ID` (add dataset_name only if the user named it)."
      ],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the view to act on.",
          "metavar": "VIEW_ID",
          "name": "view_id",
          "required": true,
          "type": "int"
        }
      ],
      "request_model": "ViewTransformJsonExtractRequest",
      "result_model": "ViewTransformJsonExtractResult",
      "runnable_example": "mammoth view transform json-extract 123 --input '{\"column\": \"Status\", \"dataset_id\": 456}'"
    },
    "view transform limit-rows": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "n",
          "required": true,
          "type": "int"
        },
        {
          "default": false,
          "enum": null,
          "name": "bottom",
          "required": false,
          "type": "bool"
        },
        {
          "default": null,
          "enum": null,
          "name": "order_by",
          "required": false,
          "type": "list[list[str | mammoth.models.pipeline.SortDirection]]"
        },
        {
          "default": null,
          "enum": null,
          "name": "dataset_id",
          "required": false,
          "type": "int"
        },
        {
          "default": null,
          "enum": null,
          "name": "expected_task_count",
          "required": false,
          "type": "int"
        }
      ],
      "agent_example": "mammoth view transform limit-rows 123 --input '{\"n\": 1, \"dataset_id\": 456}'",
      "command_id": "view.transform.limit-rows",
      "contract_level": "typed",
      "description": "Limit the row count. 'n' (or its alias 'limit') is required.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth view transform limit-rows VIEW_ID --help",
      "notes": [
        "EDITS THE GIVEN VIEW IN PLACE: this adds a step to the view and changes that view and its dataset's output. To make a NEW dataset and leave the source untouched: `mammoth view create SOURCE_DATASET_ID` (working view), do the steps on that working view, then `mammoth view export dataset WORKING_VIEW_ID` (add dataset_name only if the user named it)."
      ],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the view to act on.",
          "metavar": "VIEW_ID",
          "name": "view_id",
          "required": true,
          "type": "int"
        }
      ],
      "request_model": "ViewTransformLimitRowsRequest",
      "result_model": "ViewTransformLimitRowsResult",
      "runnable_example": "mammoth view transform limit-rows 123 --input '{\"n\": 1, \"dataset_id\": 456}'"
    },
    "view transform lookup": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "source",
          "required": true,
          "type": "str"
        },
        {
          "default": null,
          "enum": null,
          "name": "lookup_view_id",
          "required": true,
          "type": "int | mammoth.view.View"
        },
        {
          "default": null,
          "enum": null,
          "name": "key",
          "required": true,
          "type": "str"
        },
        {
          "default": null,
          "enum": null,
          "name": "value",
          "required": true,
          "type": "str"
        },
        {
          "default": null,
          "enum": null,
          "name": "new_column",
          "required": false,
          "type": "str"
        },
        {
          "default": "TEXT",
          "enum": null,
          "name": "new_column_type",
          "required": false,
          "type": "str"
        },
        {
          "default": null,
          "enum": null,
          "name": "existing_column",
          "required": false,
          "type": "str"
        },
        {
          "default": null,
          "enum": null,
          "name": "lookup_dataset_id",
          "required": false,
          "type": "int"
        },
        {
          "default": null,
          "enum": null,
          "name": "dataset_id",
          "required": false,
          "type": "int"
        },
        {
          "default": null,
          "enum": null,
          "name": "expected_task_count",
          "required": false,
          "type": "int"
        }
      ],
      "agent_example": "mammoth view transform lookup 123 --input '{\"source\": \"Customer ID\", \"lookup_view_id\": 1, \"key\": \"Customer ID\", \"value\": \"Region\", \"new_column\": \"Region\", \"dataset_id\": 456, \"lookup_dataset_id\": 457}'",
      "command_id": "view.transform.lookup",
      "contract_level": "typed",
      "description": "Look up values from another view. 'source'/'lookup_view_id'/'key'/",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth view transform lookup VIEW_ID --help",
      "notes": [
        "EDITS THE GIVEN VIEW IN PLACE: this adds a step to the view and changes that view and its dataset's output. To make a NEW dataset and leave the source untouched: `mammoth view create SOURCE_DATASET_ID` (working view), do the steps on that working view, then `mammoth view export dataset WORKING_VIEW_ID` (add dataset_name only if the user named it)."
      ],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the view to act on.",
          "metavar": "VIEW_ID",
          "name": "view_id",
          "required": true,
          "type": "int"
        }
      ],
      "request_model": "ViewTransformLookupRequest",
      "result_model": "ViewTransformLookupResult",
      "runnable_example": "mammoth view transform lookup 123 --input '{\"source\": \"Customer ID\", \"lookup_view_id\": 1, \"key\": \"Customer ID\", \"value\": \"Region\", \"new_column\": \"Region\", \"dataset_id\": 456, \"lookup_dataset_id\": 457}'"
    },
    "view transform math": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "expression",
          "required": true,
          "type": "str"
        },
        {
          "default": null,
          "enum": null,
          "name": "new_column",
          "required": false,
          "type": "str"
        },
        {
          "default": "NUMERIC",
          "enum": [
            "TEXT",
            "NUMERIC",
            "DATE"
          ],
          "name": "column_type",
          "required": false,
          "type": "ColumnType"
        },
        {
          "default": null,
          "enum": null,
          "name": "existing_column",
          "required": false,
          "type": "str"
        },
        {
          "default": null,
          "enum": null,
          "name": "condition",
          "required": false,
          "type": "mammoth.condition.Condition | mammoth.condition.CompoundCondition | mammoth.condition.NotCondition | None"
        },
        {
          "default": null,
          "enum": null,
          "name": "dataset_id",
          "required": false,
          "type": "int"
        },
        {
          "default": null,
          "enum": null,
          "name": "expected_task_count",
          "required": false,
          "type": "int"
        }
      ],
      "agent_example": "mammoth view transform math 123 --input '{\"expression\": \"price * quantity\", \"dataset_id\": 456}'",
      "command_id": "view.transform.math",
      "contract_level": "typed",
      "description": "Evaluate a math expression into a column. 'expression' is required.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth view transform math VIEW_ID --help",
      "notes": [
        "EDITS THE GIVEN VIEW IN PLACE: this adds a step to the view and changes that view and its dataset's output. To make a NEW dataset and leave the source untouched: `mammoth view create SOURCE_DATASET_ID` (working view), do the steps on that working view, then `mammoth view export dataset WORKING_VIEW_ID` (add dataset_name only if the user named it)."
      ],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the view to act on.",
          "metavar": "VIEW_ID",
          "name": "view_id",
          "required": true,
          "type": "int"
        }
      ],
      "request_model": "ViewTransformMathRequest",
      "result_model": "ViewTransformMathResult",
      "runnable_example": "mammoth view transform math 123 --input '{\"expression\": \"price * quantity\", \"dataset_id\": 456}'"
    },
    "view transform pivot": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "group_by",
          "required": true,
          "type": "list[str]"
        },
        {
          "default": null,
          "enum": null,
          "name": "aggregations",
          "required": true,
          "type": "list[AggregationSpec]"
        },
        {
          "default": null,
          "enum": null,
          "name": "condition",
          "required": false,
          "type": "mammoth.condition.Condition | mammoth.condition.CompoundCondition | mammoth.condition.NotCondition | None"
        },
        {
          "default": null,
          "enum": null,
          "name": "dataset_id",
          "required": false,
          "type": "int"
        },
        {
          "default": null,
          "enum": null,
          "name": "expected_task_count",
          "required": false,
          "type": "int"
        }
      ],
      "agent_example": "mammoth view transform pivot 123 --input '{\"group_by\": [\"Region\"], \"aggregations\": [{\"column\": \"Revenue\", \"function\": \"SUM\"}], \"dataset_id\": 456}'",
      "command_id": "view.transform.pivot",
      "contract_level": "typed",
      "description": "Pivot with aggregations. 'group_by'/'aggregations' required.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth view transform pivot VIEW_ID --help",
      "notes": [
        "EDITS THE GIVEN VIEW IN PLACE: this adds a step to the view and changes that view and its dataset's output. To make a NEW dataset and leave the source untouched: `mammoth view create SOURCE_DATASET_ID` (working view), do the steps on that working view, then `mammoth view export dataset WORKING_VIEW_ID` (add dataset_name only if the user named it)."
      ],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the view to act on.",
          "metavar": "VIEW_ID",
          "name": "view_id",
          "required": true,
          "type": "int"
        }
      ],
      "request_model": "ViewTransformPivotRequest",
      "result_model": "ViewTransformPivotResult",
      "runnable_example": "mammoth view transform pivot 123 --input '{\"group_by\": [\"Region\"], \"aggregations\": [{\"column\": \"Revenue\", \"function\": \"SUM\"}], \"dataset_id\": 456}'"
    },
    "view transform rename-columns": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "renames",
          "required": true,
          "type": "dict[str, str]"
        },
        {
          "default": null,
          "enum": null,
          "name": "dataset_id",
          "required": false,
          "type": "int"
        },
        {
          "default": null,
          "enum": null,
          "name": "expected_task_count",
          "required": false,
          "type": "int"
        }
      ],
      "agent_example": "mammoth view transform rename-columns 123 --input '{\"renames\": {\"cust_id\": \"Customer ID\"}, \"dataset_id\": 456}'",
      "command_id": "view.transform.rename-columns",
      "contract_level": "typed",
      "description": "Rename columns (a view display setting, not a task). 'renames' is required.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth view transform rename-columns VIEW_ID --help",
      "notes": [
        "EDITS THE GIVEN VIEW IN PLACE: this adds a step to the view and changes that view and its dataset's output. To make a NEW dataset and leave the source untouched: `mammoth view create SOURCE_DATASET_ID` (working view), do the steps on that working view, then `mammoth view export dataset WORKING_VIEW_ID` (add dataset_name only if the user named it)."
      ],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the view to act on.",
          "metavar": "VIEW_ID",
          "name": "view_id",
          "required": true,
          "type": "int"
        }
      ],
      "request_model": "ViewTransformRenameColumnsRequest",
      "result_model": "ViewTransformRenameColumnsResult",
      "runnable_example": "mammoth view transform rename-columns 123 --input '{\"renames\": {\"cust_id\": \"Customer ID\"}, \"dataset_id\": 456}'"
    },
    "view transform repeat-rows": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "times",
          "required": false,
          "type": "int"
        },
        {
          "default": null,
          "enum": null,
          "name": "values",
          "required": false,
          "type": "list[str | int | float]"
        },
        {
          "default": null,
          "enum": null,
          "name": "series",
          "required": false,
          "type": "RepeatSeries"
        },
        {
          "default": null,
          "enum": null,
          "name": "new_column",
          "required": false,
          "type": "str"
        },
        {
          "default": null,
          "enum": [
            "TEXT",
            "NUMERIC",
            "DATE"
          ],
          "name": "new_column_type",
          "required": false,
          "type": "ColumnType"
        },
        {
          "default": null,
          "enum": null,
          "name": "existing_column",
          "required": false,
          "type": "str"
        },
        {
          "default": null,
          "enum": null,
          "name": "keep_original",
          "required": false,
          "type": "bool"
        },
        {
          "default": null,
          "enum": [
            "GROUPED",
            "INTERLEAVED"
          ],
          "name": "order",
          "required": false,
          "type": "RepeatOrder"
        },
        {
          "default": null,
          "enum": null,
          "name": "dataset_id",
          "required": false,
          "type": "int"
        },
        {
          "default": null,
          "enum": null,
          "name": "expected_task_count",
          "required": false,
          "type": "int"
        }
      ],
      "agent_example": "mammoth view transform repeat-rows 123 --input '{\"dataset_id\": 456}'",
      "command_id": "view.transform.repeat-rows",
      "contract_level": "typed",
      "description": "Repeat every row. Exactly one of 'times', 'values' or 'series' is required.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth view transform repeat-rows VIEW_ID --help",
      "notes": [
        "EDITS THE GIVEN VIEW IN PLACE: this adds a step to the view and changes that view and its dataset's output. To make a NEW dataset and leave the source untouched: `mammoth view create SOURCE_DATASET_ID` (working view), do the steps on that working view, then `mammoth view export dataset WORKING_VIEW_ID` (add dataset_name only if the user named it)."
      ],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the view to act on.",
          "metavar": "VIEW_ID",
          "name": "view_id",
          "required": true,
          "type": "int"
        }
      ],
      "request_model": "ViewTransformRepeatRowsRequest",
      "result_model": "ViewTransformRepeatRowsResult",
      "runnable_example": "mammoth view transform repeat-rows 123 --input '{\"dataset_id\": 456}'"
    },
    "view transform replace": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "columns",
          "required": true,
          "type": "list[str]"
        },
        {
          "default": null,
          "enum": null,
          "name": "find",
          "required": true,
          "type": "str"
        },
        {
          "default": null,
          "enum": null,
          "name": "replace",
          "required": true,
          "type": "str"
        },
        {
          "default": false,
          "enum": null,
          "name": "match_case",
          "required": false,
          "type": "bool"
        },
        {
          "default": false,
          "enum": null,
          "name": "match_words",
          "required": false,
          "type": "bool"
        },
        {
          "default": null,
          "enum": null,
          "name": "condition",
          "required": false,
          "type": "mammoth.condition.Condition | mammoth.condition.CompoundCondition | mammoth.condition.NotCondition | None"
        },
        {
          "default": null,
          "enum": null,
          "name": "dataset_id",
          "required": false,
          "type": "int"
        },
        {
          "default": null,
          "enum": null,
          "name": "expected_task_count",
          "required": false,
          "type": "int"
        }
      ],
      "agent_example": "mammoth view transform replace 123 --input '{\"columns\": [\"Status\"], \"find\": \"N/A\", \"replace\": \"Unknown\", \"dataset_id\": 456}'",
      "command_id": "view.transform.replace",
      "contract_level": "typed",
      "description": "Find and replace values. 'columns'/'find'/'replace' required.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth view transform replace VIEW_ID --help",
      "notes": [
        "EDITS THE GIVEN VIEW IN PLACE: this adds a step to the view and changes that view and its dataset's output. To make a NEW dataset and leave the source untouched: `mammoth view create SOURCE_DATASET_ID` (working view), do the steps on that working view, then `mammoth view export dataset WORKING_VIEW_ID` (add dataset_name only if the user named it)."
      ],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the view to act on.",
          "metavar": "VIEW_ID",
          "name": "view_id",
          "required": true,
          "type": "int"
        }
      ],
      "request_model": "ViewTransformReplaceRequest",
      "result_model": "ViewTransformReplaceResult",
      "runnable_example": "mammoth view transform replace 123 --input '{\"columns\": [\"Status\"], \"find\": \"N/A\", \"replace\": \"Unknown\", \"dataset_id\": 456}'"
    },
    "view transform set-values": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "values",
          "required": true,
          "type": "list[SetValue]"
        },
        {
          "default": null,
          "enum": null,
          "name": "new_column",
          "required": false,
          "type": "str"
        },
        {
          "default": "TEXT",
          "enum": [
            "TEXT",
            "NUMERIC",
            "DATE"
          ],
          "name": "column_type",
          "required": false,
          "type": "ColumnType"
        },
        {
          "default": null,
          "enum": null,
          "name": "existing_column",
          "required": false,
          "type": "str"
        },
        {
          "default": null,
          "enum": null,
          "name": "condition",
          "required": false,
          "type": "mammoth.condition.Condition | mammoth.condition.CompoundCondition | mammoth.condition.NotCondition | None"
        },
        {
          "default": null,
          "enum": null,
          "name": "dataset_id",
          "required": false,
          "type": "int"
        },
        {
          "default": null,
          "enum": null,
          "name": "expected_task_count",
          "required": false,
          "type": "int"
        }
      ],
      "agent_example": "mammoth view transform set-values 123 --input '{\"values\": [{\"value\": \"Unknown\"}], \"existing_column\": \"Status\", \"condition\": {\"column\": \"Status\", \"operator\": \"IS_EMPTY\"}, \"dataset_id\": 456}'",
      "command_id": "view.transform.set-values",
      "contract_level": "typed",
      "description": "Set values conditionally. 'values' is required.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth view transform set-values VIEW_ID --help",
      "notes": [
        "EDITS THE GIVEN VIEW IN PLACE: this adds a step to the view and changes that view and its dataset's output. To make a NEW dataset and leave the source untouched: `mammoth view create SOURCE_DATASET_ID` (working view), do the steps on that working view, then `mammoth view export dataset WORKING_VIEW_ID` (add dataset_name only if the user named it)."
      ],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the view to act on.",
          "metavar": "VIEW_ID",
          "name": "view_id",
          "required": true,
          "type": "int"
        }
      ],
      "request_model": "ViewTransformSetValuesRequest",
      "result_model": "ViewTransformSetValuesResult",
      "runnable_example": "mammoth view transform set-values 123 --input '{\"values\": [{\"value\": \"Unknown\"}], \"existing_column\": \"Status\", \"condition\": {\"column\": \"Status\", \"operator\": \"IS_EMPTY\"}, \"dataset_id\": 456}'"
    },
    "view transform small-large": {
      "accepted_fields": [
        {
          "default": null,
          "enum": [
            "SMALL",
            "LARGE"
          ],
          "name": "function",
          "required": true,
          "type": "SmallLargeFunction"
        },
        {
          "default": null,
          "enum": null,
          "name": "columns",
          "required": true,
          "type": "list[str]"
        },
        {
          "default": 1,
          "enum": null,
          "name": "index",
          "required": false,
          "type": "int"
        },
        {
          "default": null,
          "enum": null,
          "name": "constants",
          "required": false,
          "type": "list[float]"
        },
        {
          "default": null,
          "enum": null,
          "name": "new_column",
          "required": false,
          "type": "str"
        },
        {
          "default": null,
          "enum": null,
          "name": "existing_column",
          "required": false,
          "type": "str"
        },
        {
          "default": null,
          "enum": null,
          "name": "dataset_id",
          "required": false,
          "type": "int"
        },
        {
          "default": null,
          "enum": null,
          "name": "expected_task_count",
          "required": false,
          "type": "int"
        }
      ],
      "agent_example": "mammoth view transform small-large 123 --input '{\"function\": \"SMALL\", \"columns\": [\"Status\"], \"dataset_id\": 456}'",
      "command_id": "view.transform.small-large",
      "contract_level": "typed",
      "description": "Compute a small/large-N function. 'function'/'columns' required.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth view transform small-large VIEW_ID --help",
      "notes": [
        "EDITS THE GIVEN VIEW IN PLACE: this adds a step to the view and changes that view and its dataset's output. To make a NEW dataset and leave the source untouched: `mammoth view create SOURCE_DATASET_ID` (working view), do the steps on that working view, then `mammoth view export dataset WORKING_VIEW_ID` (add dataset_name only if the user named it)."
      ],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the view to act on.",
          "metavar": "VIEW_ID",
          "name": "view_id",
          "required": true,
          "type": "int"
        }
      ],
      "request_model": "ViewTransformSmallLargeRequest",
      "result_model": "ViewTransformSmallLargeResult",
      "runnable_example": "mammoth view transform small-large 123 --input '{\"function\": \"SMALL\", \"columns\": [\"Status\"], \"dataset_id\": 456}'"
    },
    "view transform sort": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "order_by",
          "required": true,
          "type": "list[list[str | mammoth.models.pipeline.SortDirection]]"
        },
        {
          "default": null,
          "enum": null,
          "name": "dataset_id",
          "required": false,
          "type": "int"
        },
        {
          "default": null,
          "enum": null,
          "name": "expected_task_count",
          "required": false,
          "type": "int"
        }
      ],
      "agent_example": "mammoth view transform sort 123 --input '{\"order_by\": [[\"Revenue\", \"DESC\"]], \"dataset_id\": 456}'",
      "command_id": "view.transform.sort",
      "contract_level": "typed",
      "description": "Set the view's row order (a display setting, not a task). 'order_by' is required.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth view transform sort VIEW_ID --help",
      "notes": [
        "EDITS THE GIVEN VIEW IN PLACE: this adds a step to the view and changes that view and its dataset's output. To make a NEW dataset and leave the source untouched: `mammoth view create SOURCE_DATASET_ID` (working view), do the steps on that working view, then `mammoth view export dataset WORKING_VIEW_ID` (add dataset_name only if the user named it)."
      ],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the view to act on.",
          "metavar": "VIEW_ID",
          "name": "view_id",
          "required": true,
          "type": "int"
        }
      ],
      "request_model": "ViewTransformSortRequest",
      "result_model": "ViewTransformSortResult",
      "runnable_example": "mammoth view transform sort 123 --input '{\"order_by\": [[\"Revenue\", \"DESC\"]], \"dataset_id\": 456}'"
    },
    "view transform split": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "column",
          "required": true,
          "type": "str"
        },
        {
          "default": null,
          "enum": null,
          "name": "delimiter",
          "required": true,
          "type": "str"
        },
        {
          "default": null,
          "enum": null,
          "name": "new_columns",
          "required": true,
          "type": "list[SplitColumnSpec]"
        },
        {
          "default": null,
          "enum": null,
          "name": "dataset_id",
          "required": false,
          "type": "int"
        },
        {
          "default": null,
          "enum": null,
          "name": "expected_task_count",
          "required": false,
          "type": "int"
        }
      ],
      "agent_example": "mammoth view transform split 123 --input '{\"column\": \"Status\", \"delimiter\": \",\", \"new_columns\": [{\"name\": \"Revenue report\"}], \"dataset_id\": 456}'",
      "command_id": "view.transform.split",
      "contract_level": "typed",
      "description": "Split a column. 'column'/'delimiter'/'new_columns' required.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth view transform split VIEW_ID --help",
      "notes": [
        "EDITS THE GIVEN VIEW IN PLACE: this adds a step to the view and changes that view and its dataset's output. To make a NEW dataset and leave the source untouched: `mammoth view create SOURCE_DATASET_ID` (working view), do the steps on that working view, then `mammoth view export dataset WORKING_VIEW_ID` (add dataset_name only if the user named it)."
      ],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the view to act on.",
          "metavar": "VIEW_ID",
          "name": "view_id",
          "required": true,
          "type": "int"
        }
      ],
      "request_model": "ViewTransformSplitRequest",
      "result_model": "ViewTransformSplitResult",
      "runnable_example": "mammoth view transform split 123 --input '{\"column\": \"Status\", \"delimiter\": \",\", \"new_columns\": [{\"name\": \"Revenue report\"}], \"dataset_id\": 456}'"
    },
    "view transform substring": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "column",
          "required": true,
          "type": "str"
        },
        {
          "default": null,
          "enum": [
            "START",
            "END",
            "LEFT",
            "RIGHT"
          ],
          "name": "direction",
          "required": false,
          "type": "SubstringDirection"
        },
        {
          "default": null,
          "enum": null,
          "name": "num_char",
          "required": false,
          "type": "int"
        },
        {
          "default": null,
          "enum": null,
          "name": "char_position",
          "required": false,
          "type": "int"
        },
        {
          "default": null,
          "enum": null,
          "name": "regex_pattern",
          "required": false,
          "type": "str"
        },
        {
          "default": false,
          "enum": null,
          "name": "regex_invert",
          "required": false,
          "type": "bool"
        },
        {
          "default": null,
          "enum": null,
          "name": "new_column",
          "required": false,
          "type": "str"
        },
        {
          "default": null,
          "enum": null,
          "name": "existing_column",
          "required": false,
          "type": "str"
        },
        {
          "default": null,
          "enum": null,
          "name": "condition",
          "required": false,
          "type": "mammoth.condition.Condition | mammoth.condition.CompoundCondition | mammoth.condition.NotCondition | None"
        },
        {
          "default": null,
          "enum": null,
          "name": "dataset_id",
          "required": false,
          "type": "int"
        },
        {
          "default": null,
          "enum": null,
          "name": "expected_task_count",
          "required": false,
          "type": "int"
        }
      ],
      "agent_example": "mammoth view transform substring 123 --input '{\"column\": \"Status\", \"dataset_id\": 456}'",
      "command_id": "view.transform.substring",
      "contract_level": "typed",
      "description": "Extract a substring. 'column' is required.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth view transform substring VIEW_ID --help",
      "notes": [
        "EDITS THE GIVEN VIEW IN PLACE: this adds a step to the view and changes that view and its dataset's output. To make a NEW dataset and leave the source untouched: `mammoth view create SOURCE_DATASET_ID` (working view), do the steps on that working view, then `mammoth view export dataset WORKING_VIEW_ID` (add dataset_name only if the user named it)."
      ],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the view to act on.",
          "metavar": "VIEW_ID",
          "name": "view_id",
          "required": true,
          "type": "int"
        }
      ],
      "request_model": "ViewTransformSubstringRequest",
      "result_model": "ViewTransformSubstringResult",
      "runnable_example": "mammoth view transform substring 123 --input '{\"column\": \"Status\", \"dataset_id\": 456}'"
    },
    "view transform text": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "columns",
          "required": true,
          "type": "list[str]"
        },
        {
          "default": null,
          "enum": [
            "UPPER",
            "LOWER",
            "TITLE"
          ],
          "name": "case",
          "required": false,
          "type": "TextCase"
        },
        {
          "default": false,
          "enum": null,
          "name": "trim",
          "required": false,
          "type": "bool"
        },
        {
          "default": null,
          "enum": null,
          "name": "condition",
          "required": false,
          "type": "mammoth.condition.Condition | mammoth.condition.CompoundCondition | mammoth.condition.NotCondition | None"
        },
        {
          "default": null,
          "enum": null,
          "name": "dataset_id",
          "required": false,
          "type": "int"
        },
        {
          "default": null,
          "enum": null,
          "name": "expected_task_count",
          "required": false,
          "type": "int"
        }
      ],
      "agent_example": "mammoth view transform text 123 --input '{\"columns\": [\"Status\"], \"dataset_id\": 456}'",
      "command_id": "view.transform.text",
      "contract_level": "typed",
      "description": "Apply text transforms. 'columns' is required.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth view transform text VIEW_ID --help",
      "notes": [
        "EDITS THE GIVEN VIEW IN PLACE: this adds a step to the view and changes that view and its dataset's output. To make a NEW dataset and leave the source untouched: `mammoth view create SOURCE_DATASET_ID` (working view), do the steps on that working view, then `mammoth view export dataset WORKING_VIEW_ID` (add dataset_name only if the user named it)."
      ],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the view to act on.",
          "metavar": "VIEW_ID",
          "name": "view_id",
          "required": true,
          "type": "int"
        }
      ],
      "request_model": "ViewTransformTextRequest",
      "result_model": "ViewTransformTextResult",
      "runnable_example": "mammoth view transform text 123 --input '{\"columns\": [\"Status\"], \"dataset_id\": 456}'"
    },
    "view transform unnest": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "columns",
          "required": true,
          "type": "list[str]"
        },
        {
          "default": "Label",
          "enum": null,
          "name": "label_column",
          "required": false,
          "type": "str"
        },
        {
          "default": "Value",
          "enum": null,
          "name": "value_column",
          "required": false,
          "type": "str"
        },
        {
          "default": null,
          "enum": null,
          "name": "value_type",
          "required": false,
          "type": "str"
        },
        {
          "default": null,
          "enum": null,
          "name": "dataset_id",
          "required": false,
          "type": "int"
        },
        {
          "default": null,
          "enum": null,
          "name": "expected_task_count",
          "required": false,
          "type": "int"
        }
      ],
      "agent_example": "mammoth view transform unnest 123 --input '{\"columns\": [\"Status\"], \"dataset_id\": 456}'",
      "command_id": "view.transform.unnest",
      "contract_level": "typed",
      "description": "Unnest columns into label/value rows. 'columns' is required.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth view transform unnest VIEW_ID --help",
      "notes": [
        "EDITS THE GIVEN VIEW IN PLACE: this adds a step to the view and changes that view and its dataset's output. To make a NEW dataset and leave the source untouched: `mammoth view create SOURCE_DATASET_ID` (working view), do the steps on that working view, then `mammoth view export dataset WORKING_VIEW_ID` (add dataset_name only if the user named it)."
      ],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the view to act on.",
          "metavar": "VIEW_ID",
          "name": "view_id",
          "required": true,
          "type": "int"
        }
      ],
      "request_model": "ViewTransformUnnestRequest",
      "result_model": "ViewTransformUnnestResult",
      "runnable_example": "mammoth view transform unnest 123 --input '{\"columns\": [\"Status\"], \"dataset_id\": 456}'"
    },
    "view transform update-column": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "column",
          "required": true,
          "type": "str"
        },
        {
          "default": null,
          "enum": null,
          "name": "expression",
          "required": true,
          "type": "str"
        },
        {
          "default": null,
          "enum": null,
          "name": "dataset_id",
          "required": false,
          "type": "int"
        },
        {
          "default": null,
          "enum": null,
          "name": "expected_task_count",
          "required": false,
          "type": "int"
        }
      ],
      "agent_example": "mammoth view transform update-column 123 --input '{\"column\": \"Cost\", \"expression\": \"Cost + 5\", \"dataset_id\": 456}'",
      "command_id": "view.transform.update-column",
      "contract_level": "typed",
      "description": "Overwrite a column with a math expression in one call; 'column', 'expression' required.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth view transform update-column VIEW_ID --help",
      "notes": [
        "EDITS THE GIVEN VIEW IN PLACE: this adds a step to the view and changes that view and its dataset's output. To make a NEW dataset and leave the source untouched: `mammoth view create SOURCE_DATASET_ID` (working view), do the steps on that working view, then `mammoth view export dataset WORKING_VIEW_ID` (add dataset_name only if the user named it)."
      ],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the view to act on.",
          "metavar": "VIEW_ID",
          "name": "view_id",
          "required": true,
          "type": "int"
        }
      ],
      "request_model": "ViewTransformUpdateColumnRequest",
      "result_model": "ViewTransformUpdateColumnResult",
      "runnable_example": "mammoth view transform update-column 123 --input '{\"column\": \"Cost\", \"expression\": \"Cost + 5\", \"dataset_id\": 456}'"
    },
    "view transform window": {
      "accepted_fields": [
        {
          "default": null,
          "enum": [
            "ROW_NUMBER",
            "RANK",
            "DENSE_RANK",
            "LAG",
            "LEAD",
            "SUM",
            "AVG",
            "MIN",
            "MAX",
            "COUNT",
            "FIRST_VALUE",
            "LAST_VALUE",
            "STDDEV",
            "VARIANCE",
            "PERCENT_RANK",
            "NTILE"
          ],
          "name": "function",
          "required": true,
          "type": "WindowFunction"
        },
        {
          "default": null,
          "enum": null,
          "name": "column",
          "required": false,
          "type": "str"
        },
        {
          "default": null,
          "enum": null,
          "name": "new_column",
          "required": false,
          "type": "str"
        },
        {
          "default": "NUMERIC",
          "enum": [
            "TEXT",
            "NUMERIC",
            "DATE"
          ],
          "name": "column_type",
          "required": false,
          "type": "ColumnType"
        },
        {
          "default": null,
          "enum": null,
          "name": "existing_column",
          "required": false,
          "type": "str"
        },
        {
          "default": null,
          "enum": null,
          "name": "partition_by",
          "required": false,
          "type": "list[str]"
        },
        {
          "default": null,
          "enum": null,
          "name": "order_by",
          "required": false,
          "type": "list[list[str | mammoth.models.pipeline.SortDirection]]"
        },
        {
          "default": "UNBOUNDED",
          "enum": [
            "UNBOUNDED",
            "RUNNING"
          ],
          "name": "range_type",
          "required": false,
          "type": "WindowRange"
        },
        {
          "default": null,
          "enum": null,
          "name": "dataset_id",
          "required": false,
          "type": "int"
        },
        {
          "default": null,
          "enum": null,
          "name": "expected_task_count",
          "required": false,
          "type": "int"
        }
      ],
      "agent_example": "mammoth view transform window 123 --input '{\"function\": \"ROW_NUMBER\", \"dataset_id\": 456}'",
      "command_id": "view.transform.window",
      "contract_level": "typed",
      "description": "Compute a window function. 'function' is required.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth view transform window VIEW_ID --help",
      "notes": [
        "EDITS THE GIVEN VIEW IN PLACE: this adds a step to the view and changes that view and its dataset's output. To make a NEW dataset and leave the source untouched: `mammoth view create SOURCE_DATASET_ID` (working view), do the steps on that working view, then `mammoth view export dataset WORKING_VIEW_ID` (add dataset_name only if the user named it)."
      ],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the view to act on.",
          "metavar": "VIEW_ID",
          "name": "view_id",
          "required": true,
          "type": "int"
        }
      ],
      "request_model": "ViewTransformWindowRequest",
      "result_model": "ViewTransformWindowResult",
      "runnable_example": "mammoth view transform window 123 --input '{\"function\": \"ROW_NUMBER\", \"dataset_id\": 456}'"
    },
    "view trash": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "dataset_id",
          "required": false,
          "type": "int"
        }
      ],
      "agent_example": "mammoth view trash 123 456",
      "command_id": "view.trash",
      "contract_level": "typed",
      "description": "Move one dataview to the project trash (reversible).",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth view trash VIEW_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the view to act on.",
          "metavar": "VIEW_ID",
          "name": "view_id",
          "required": true,
          "type": "int"
        },
        {
          "falls_back_to_field": "dataset_id",
          "help": "Exact parent dataset ID. Required for this command: pass it here or as the 'dataset_id' input field; only read commands may omit it and discover the parent.",
          "metavar": "DATASET_ID",
          "name": "dataset_id",
          "required": false,
          "type": "int"
        }
      ],
      "request_model": "ViewTrashRequest",
      "result_model": "ViewTrashResult",
      "runnable_example": "mammoth view trash 123 456"
    },
    "view update": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "dataset_id",
          "required": false,
          "type": "int"
        },
        {
          "default": null,
          "enum": null,
          "name": "name",
          "required": true,
          "type": "str"
        }
      ],
      "agent_example": "mammoth view update 123 456 --input '{\"name\": \"Revenue report\"}'",
      "command_id": "view.update",
      "contract_level": "typed",
      "description": "Rename a view from the name input field; any other patch is refused.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth view update VIEW_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the view to act on.",
          "metavar": "VIEW_ID",
          "name": "view_id",
          "required": true,
          "type": "int"
        },
        {
          "falls_back_to_field": "dataset_id",
          "help": "Exact parent dataset ID. Required for this command: pass it here or as the 'dataset_id' input field; only read commands may omit it and discover the parent.",
          "metavar": "DATASET_ID",
          "name": "dataset_id",
          "required": false,
          "type": "int"
        }
      ],
      "request_model": "ViewUpdateRequest",
      "result_model": "ViewUpdateResult",
      "runnable_example": "mammoth view update 123 456 --input '{\"name\": \"Revenue report\"}'"
    },
    "view variants create": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "from_view",
          "required": true,
          "type": "int"
        },
        {
          "default": null,
          "enum": null,
          "name": "column",
          "required": true,
          "type": "str"
        },
        {
          "default": null,
          "enum": null,
          "name": "values",
          "required": true,
          "type": "list[str | int | float]"
        },
        {
          "default": null,
          "enum": null,
          "name": "name_template",
          "required": false,
          "type": "str"
        }
      ],
      "agent_example": "mammoth view variants create 123 --input '{\"from_view\": 456, \"column\": \"Region\", \"values\": [\"East\", \"West\"]}'",
      "command_id": "view.variants.create",
      "contract_level": "typed",
      "description": "Create one view per value of a column: each a clone of 'from_view' filtered to it.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth view variants create DATASET_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the dataset.",
          "metavar": "DATASET_ID",
          "name": "dataset_id",
          "required": true,
          "type": "int"
        }
      ],
      "request_model": "ViewVariantsCreateRequest",
      "result_model": "ViewVariantsCreateResult",
      "runnable_example": "mammoth view variants create 123 --input '{\"from_view\": 456, \"column\": \"Region\", \"values\": [\"East\", \"West\"]}'"
    },
    "view version apply": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "dataset_id",
          "required": false,
          "type": "int"
        }
      ],
      "agent_example": "mammoth view version apply 123 456 789",
      "command_id": "view.version.apply",
      "contract_level": "typed",
      "description": "Apply one pipeline version by id.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth view version apply VIEW_ID VERSION_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the view to act on.",
          "metavar": "VIEW_ID",
          "name": "view_id",
          "required": true,
          "type": "int"
        },
        {
          "falls_back_to_field": null,
          "help": "ID of the pipeline version.",
          "metavar": "VERSION_ID",
          "name": "version_id",
          "required": true,
          "type": "int"
        },
        {
          "falls_back_to_field": "dataset_id",
          "help": "Exact parent dataset ID. Required for this command: pass it here or as the 'dataset_id' input field; only read commands may omit it and discover the parent.",
          "metavar": "DATASET_ID",
          "name": "dataset_id",
          "required": false,
          "type": "int"
        }
      ],
      "request_model": "ViewVersionApplyRequest",
      "result_model": "ViewVersionApplyResult",
      "runnable_example": "mammoth view version apply 123 456 789"
    },
    "view version delete": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "dataset_id",
          "required": false,
          "type": "int"
        }
      ],
      "agent_example": "mammoth view version delete 123 456 789 --yes",
      "command_id": "view.version.delete",
      "contract_level": "typed",
      "description": "Delete one pipeline version by id. Prompt or '--yes' required.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth view version delete VIEW_ID VERSION_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the view to act on.",
          "metavar": "VIEW_ID",
          "name": "view_id",
          "required": true,
          "type": "int"
        },
        {
          "falls_back_to_field": null,
          "help": "ID of the pipeline version.",
          "metavar": "VERSION_ID",
          "name": "version_id",
          "required": true,
          "type": "int"
        },
        {
          "falls_back_to_field": "dataset_id",
          "help": "Exact parent dataset ID. Required for this command: pass it here or as the 'dataset_id' input field; only read commands may omit it and discover the parent.",
          "metavar": "DATASET_ID",
          "name": "dataset_id",
          "required": false,
          "type": "int"
        }
      ],
      "request_model": "ViewVersionDeleteRequest",
      "result_model": "ViewVersionDeleteResult",
      "runnable_example": "mammoth view version delete 123 456 789 --yes"
    },
    "view version get": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "dataset_id",
          "required": false,
          "type": "int"
        },
        {
          "default": null,
          "enum": null,
          "name": "fields",
          "required": false,
          "type": "str"
        }
      ],
      "agent_example": "mammoth view version get 123 456 789",
      "command_id": "view.version.get",
      "contract_level": "typed",
      "description": "Get one pipeline version by id.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth view version get VIEW_ID VERSION_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the view to act on.",
          "metavar": "VIEW_ID",
          "name": "view_id",
          "required": true,
          "type": "int"
        },
        {
          "falls_back_to_field": null,
          "help": "ID of the pipeline version.",
          "metavar": "VERSION_ID",
          "name": "version_id",
          "required": true,
          "type": "int"
        },
        {
          "falls_back_to_field": "dataset_id",
          "help": "ID of the dataset the view belongs to; resolved from the view when omitted.",
          "metavar": "DATASET_ID",
          "name": "dataset_id",
          "required": false,
          "type": "int"
        }
      ],
      "request_model": "ViewVersionGetRequest",
      "result_model": "ViewVersionGetResult",
      "runnable_example": "mammoth view version get 123 456 789"
    },
    "view version list": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "dataset_id",
          "required": false,
          "type": "int"
        },
        {
          "default": null,
          "enum": null,
          "name": "fields",
          "required": false,
          "type": "str"
        },
        {
          "default": null,
          "enum": null,
          "name": "sort",
          "required": false,
          "type": "str"
        },
        {
          "default": null,
          "enum": null,
          "name": "limit",
          "required": false,
          "type": "int"
        },
        {
          "default": null,
          "enum": null,
          "name": "offset",
          "required": false,
          "type": "int"
        },
        {
          "default": null,
          "enum": null,
          "name": "name",
          "required": false,
          "type": "str"
        }
      ],
      "agent_example": "mammoth view version list 123 456",
      "command_id": "view.version.list",
      "contract_level": "typed",
      "description": "List pipeline versions on a dataview, with optional filters from '--input'.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth view version list VIEW_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the view to act on.",
          "metavar": "VIEW_ID",
          "name": "view_id",
          "required": true,
          "type": "int"
        },
        {
          "falls_back_to_field": "dataset_id",
          "help": "ID of the dataset the view belongs to; resolved from the view when omitted.",
          "metavar": "DATASET_ID",
          "name": "dataset_id",
          "required": false,
          "type": "int"
        }
      ],
      "request_model": "ViewVersionListRequest",
      "result_model": "ViewVersionListResult",
      "runnable_example": "mammoth view version list 123 456"
    },
    "view version update": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "dataset_id",
          "required": false,
          "type": "int"
        },
        {
          "default": null,
          "enum": null,
          "name": "body",
          "required": true,
          "type": "dict[str, any]"
        }
      ],
      "agent_example": "mammoth view version update 123 456 789 --input '{\"body\": {\"patches\": [{\"op\": \"replace\", \"path\": \"name\"}]}}'",
      "command_id": "view.version.update",
      "contract_level": "partially_typed",
      "description": "Update one pipeline version by id. 'body' is required.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth view version update VIEW_ID VERSION_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the view to act on.",
          "metavar": "VIEW_ID",
          "name": "view_id",
          "required": true,
          "type": "int"
        },
        {
          "falls_back_to_field": null,
          "help": "ID of the pipeline version.",
          "metavar": "VERSION_ID",
          "name": "version_id",
          "required": true,
          "type": "int"
        },
        {
          "falls_back_to_field": "dataset_id",
          "help": "Exact parent dataset ID. Required for this command: pass it here or as the 'dataset_id' input field; only read commands may omit it and discover the parent.",
          "metavar": "DATASET_ID",
          "name": "dataset_id",
          "required": false,
          "type": "int"
        }
      ],
      "request_model": "ViewVersionUpdateRequest",
      "result_model": "ViewVersionUpdateResult",
      "runnable_example": "mammoth view version update 123 456 789 --input '{\"body\": {\"patches\": [{\"op\": \"replace\", \"path\": \"name\"}]}}'"
    },
    "webhook create": {
      "accepted_fields": [
        {
          "default": "Generic Webhook",
          "enum": null,
          "name": "name",
          "required": false,
          "type": "str"
        },
        {
          "default": "replace",
          "enum": null,
          "name": "mode",
          "required": false,
          "type": "str | mammoth.models.webhooks.WebhookMode"
        },
        {
          "default": null,
          "enum": null,
          "name": "folder_resource_id",
          "required": false,
          "type": "str"
        },
        {
          "default": "*",
          "enum": null,
          "name": "origins",
          "required": false,
          "type": "str"
        },
        {
          "default": false,
          "enum": null,
          "name": "is_secure",
          "required": false,
          "type": "bool"
        }
      ],
      "agent_example": "mammoth webhook create 'Revenue report'",
      "command_id": "webhook.create",
      "contract_level": "typed",
      "description": "Create a webhook. Name comes from a positional or the 'name' field.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth webhook create --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": "name",
          "help": "Name of the new webhook; or pass it via the 'name' input field.",
          "metavar": "NAME",
          "name": "name",
          "required": false,
          "type": "str"
        }
      ],
      "request_model": "WebhookCreateRequest",
      "result_model": "WebhookCreateResult",
      "runnable_example": "mammoth webhook create 'Revenue report'"
    },
    "webhook delete": {
      "accepted_fields": [],
      "agent_example": "mammoth webhook delete 123 --yes",
      "command_id": "webhook.delete",
      "contract_level": "typed",
      "description": "Delete one webhook by id. Prompt or '--yes' required.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth webhook delete WEBHOOK_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the webhook.",
          "metavar": "WEBHOOK_ID",
          "name": "webhook_id",
          "required": true,
          "type": "int"
        }
      ],
      "request_model": "WebhookDeleteRequest",
      "result_model": "WebhookDeleteResult",
      "runnable_example": "mammoth webhook delete 123 --yes"
    },
    "webhook get": {
      "accepted_fields": [],
      "agent_example": "mammoth webhook get 123",
      "command_id": "webhook.get",
      "contract_level": "typed",
      "description": "Get one webhook by id. The webhook id is a required positional.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth webhook get WEBHOOK_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the webhook.",
          "metavar": "WEBHOOK_ID",
          "name": "webhook_id",
          "required": true,
          "type": "int"
        }
      ],
      "request_model": "WebhookGetRequest",
      "result_model": "WebhookGetResult",
      "runnable_example": "mammoth webhook get 123"
    },
    "webhook list": {
      "accepted_fields": [
        {
          "default": 50,
          "enum": null,
          "name": "limit",
          "required": false,
          "type": "int"
        },
        {
          "default": 0,
          "enum": null,
          "name": "offset",
          "required": false,
          "type": "int"
        }
      ],
      "agent_example": "mammoth webhook list",
      "command_id": "webhook.list",
      "contract_level": "typed",
      "description": "List webhook datasets. 'limit'/'offset' come from '--input'.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth webhook list --help",
      "notes": [],
      "positionals": [],
      "request_model": "WebhookListRequest",
      "result_model": "WebhookListResult",
      "runnable_example": "mammoth webhook list"
    },
    "webhook send": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "webhook_uri",
          "required": true,
          "type": "str"
        },
        {
          "default": null,
          "enum": null,
          "name": "data",
          "required": true,
          "type": "dict[str, any]"
        }
      ],
      "agent_example": "mammoth webhook send --input '{\"webhook_uri\": \"https://example.com/data.csv\", \"data\": {\"name\": \"Status\"}}'",
      "command_id": "webhook.send",
      "contract_level": "typed",
      "description": "Send data to a webhook via POST. 'webhook_uri'/'data' are required.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth webhook send --help",
      "notes": [],
      "positionals": [],
      "request_model": "WebhookSendRequest",
      "result_model": "WebhookSendResult",
      "runnable_example": "mammoth webhook send --input '{\"webhook_uri\": \"https://example.com/data.csv\", \"data\": {\"name\": \"Status\"}}'"
    },
    "webhook send-get": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "webhook_uri",
          "required": true,
          "type": "str"
        },
        {
          "default": null,
          "enum": null,
          "name": "params",
          "required": false,
          "type": "dict[str, any]"
        }
      ],
      "agent_example": "mammoth webhook send-get --input '{\"webhook_uri\": \"https://example.com/data.csv\"}'",
      "command_id": "webhook.send-get",
      "contract_level": "typed",
      "description": "Send data to a webhook via GET. 'webhook_uri' is required, 'params' optional.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth webhook send-get --help",
      "notes": [],
      "positionals": [],
      "request_model": "WebhookSendGetRequest",
      "result_model": "WebhookSendGetResult",
      "runnable_example": "mammoth webhook send-get --input '{\"webhook_uri\": \"https://example.com/data.csv\"}'"
    },
    "webhook update": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "mode",
          "required": false,
          "type": "str | mammoth.models.webhooks.WebhookMode | None"
        },
        {
          "default": null,
          "enum": null,
          "name": "origins",
          "required": false,
          "type": "str"
        },
        {
          "default": null,
          "enum": null,
          "name": "is_secure",
          "required": false,
          "type": "bool"
        }
      ],
      "agent_example": "mammoth webhook update 123",
      "command_id": "webhook.update",
      "contract_level": "typed",
      "description": "Update a webhook. The webhook id is positional; other fields optional.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth webhook update WEBHOOK_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the webhook.",
          "metavar": "WEBHOOK_ID",
          "name": "webhook_id",
          "required": true,
          "type": "int"
        }
      ],
      "request_model": "WebhookUpdateRequest",
      "result_model": "WebhookUpdateResult",
      "runnable_example": "mammoth webhook update 123"
    },
    "workflow archive": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "archived",
          "required": true,
          "type": "bool"
        },
        {
          "default": null,
          "enum": null,
          "name": "dataset_ids",
          "required": false,
          "type": "list[int]"
        }
      ],
      "agent_example": "mammoth workflow archive 123 --input '{\"archived\": true}'",
      "command_id": "workflow.archive",
      "contract_level": "typed",
      "description": "Archive a workflow, or bring it back. Workflow id is positional.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth workflow archive WORKFLOW_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the workflow.",
          "metavar": "WORKFLOW_ID",
          "name": "workflow_id",
          "required": true,
          "type": "int"
        }
      ],
      "request_model": "WorkflowArchiveRequest",
      "result_model": "WorkflowArchiveResult",
      "runnable_example": "mammoth workflow archive 123 --input '{\"archived\": true}'"
    },
    "workflow attach-dataset": {
      "accepted_fields": [],
      "agent_example": "mammoth workflow attach-dataset 123 456",
      "command_id": "workflow.attach-dataset",
      "contract_level": "typed",
      "description": "Attach a dataset to a workflow. Workflow id and dataset id are positional.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth workflow attach-dataset WORKFLOW_ID DATASOURCE_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the workflow.",
          "metavar": "WORKFLOW_ID",
          "name": "workflow_id",
          "required": true,
          "type": "int"
        },
        {
          "falls_back_to_field": null,
          "help": "ID of the datasource.",
          "metavar": "DATASOURCE_ID",
          "name": "datasource_id",
          "required": true,
          "type": "int"
        }
      ],
      "request_model": "WorkflowAttachDatasetRequest",
      "result_model": "WorkflowAttachDatasetResult",
      "runnable_example": "mammoth workflow attach-dataset 123 456"
    },
    "workflow block add": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "block_type",
          "required": true,
          "type": "str"
        },
        {
          "default": null,
          "enum": null,
          "name": "display_name",
          "required": false,
          "type": "str"
        },
        {
          "default": null,
          "enum": null,
          "name": "connection_type",
          "required": false,
          "type": "str"
        },
        {
          "default": null,
          "enum": null,
          "name": "position_hint",
          "required": false,
          "type": "dict[str, any]"
        }
      ],
      "agent_example": "mammoth workflow block add 123 --input '{\"block_type\": \"source\"}'",
      "command_id": "workflow.block.add",
      "contract_level": "typed",
      "description": "Add a skeleton block to a workflow. Workflow id is positional.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth workflow block add WORKFLOW_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the workflow.",
          "metavar": "WORKFLOW_ID",
          "name": "workflow_id",
          "required": true,
          "type": "int"
        }
      ],
      "request_model": "WorkflowBlockAddRequest",
      "result_model": "WorkflowBlockAddResult",
      "runnable_example": "mammoth workflow block add 123 --input '{\"block_type\": \"source\"}'"
    },
    "workflow block auth": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "auth_data",
          "required": true,
          "type": "dict[str, any]"
        }
      ],
      "agent_example": "mammoth workflow block auth 123 456 --input '{\"auth_data\": {\"name\": \"Status\"}}' --yes --confirm 123",
      "command_id": "workflow.block.auth",
      "contract_level": "typed",
      "description": "Patch a workflow block's auth credentials.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth workflow block auth WORKFLOW_ID BLOCK_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the workflow.",
          "metavar": "WORKFLOW_ID",
          "name": "workflow_id",
          "required": true,
          "type": "int"
        },
        {
          "falls_back_to_field": null,
          "help": "ID of the block.",
          "metavar": "BLOCK_ID",
          "name": "block_id",
          "required": true,
          "type": "int"
        }
      ],
      "request_model": "WorkflowBlockAuthRequest",
      "result_model": "WorkflowBlockAuthResult",
      "runnable_example": "mammoth workflow block auth 123 456 --input '{\"auth_data\": {\"name\": \"Status\"}}' --yes --confirm 123"
    },
    "workflow block config": {
      "accepted_fields": [],
      "agent_example": "mammoth workflow block config 123 456",
      "command_id": "workflow.block.config",
      "contract_level": "typed",
      "description": "Promote a configured skeleton block to a real resource.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth workflow block config WORKFLOW_ID BLOCK_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the workflow.",
          "metavar": "WORKFLOW_ID",
          "name": "workflow_id",
          "required": true,
          "type": "int"
        },
        {
          "falls_back_to_field": null,
          "help": "ID of the block.",
          "metavar": "BLOCK_ID",
          "name": "block_id",
          "required": true,
          "type": "int"
        }
      ],
      "request_model": "WorkflowBlockConfigRequest",
      "result_model": "WorkflowBlockConfigResult",
      "runnable_example": "mammoth workflow block config 123 456"
    },
    "workflow block type": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "connection_type",
          "required": true,
          "type": "str"
        }
      ],
      "agent_example": "mammoth workflow block type 123 456 --input '{\"connection_type\": \"postgres\"}'",
      "command_id": "workflow.block.type",
      "contract_level": "typed",
      "description": "Patch a workflow block's connector/handler type.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth workflow block type WORKFLOW_ID BLOCK_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the workflow.",
          "metavar": "WORKFLOW_ID",
          "name": "workflow_id",
          "required": true,
          "type": "int"
        },
        {
          "falls_back_to_field": null,
          "help": "ID of the block.",
          "metavar": "BLOCK_ID",
          "name": "block_id",
          "required": true,
          "type": "int"
        }
      ],
      "request_model": "WorkflowBlockTypeRequest",
      "result_model": "WorkflowBlockTypeResult",
      "runnable_example": "mammoth workflow block type 123 456 --input '{\"connection_type\": \"postgres\"}'"
    },
    "workflow canvas": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "canvas_state",
          "required": true,
          "type": "dict[str, any]"
        }
      ],
      "agent_example": "mammoth workflow canvas 12 --input '{\"canvas_state\": {\"proposed_changes\": [{\"op\": \"add_view\", \"dataset_id\": 415, \"name\": \"Urgent tickets\", \"ref\": \"urgent\"}, {\"op\": \"add_step\", \"view_ref\": \"urgent\", \"transform\": \"filter\", \"params\": {\"condition\": {\"column\": \"Priority\", \"operator\": \"EQ\", \"value\": \"Urgent\"}}, \"label\": \"Keep urgent tickets\"}, {\"op\": \"send_to_new_dataset\", \"dataset_id\": 415, \"view_ref\": \"urgent\", \"name\": \"Urgent tickets by team\"}]}}'",
      "command_id": "workflow.canvas",
      "contract_level": "typed",
      "description": "Update a workflow's canvas state. Workflow id is positional.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth workflow canvas WORKFLOW_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the workflow.",
          "metavar": "WORKFLOW_ID",
          "name": "workflow_id",
          "required": true,
          "type": "int"
        }
      ],
      "request_model": "WorkflowCanvasRequest",
      "result_model": "WorkflowCanvasResult",
      "runnable_example": "mammoth workflow canvas 12 --input '{\"canvas_state\": {\"proposed_changes\": [{\"op\": \"add_view\", \"dataset_id\": 415, \"name\": \"Urgent tickets\", \"ref\": \"urgent\"}, {\"op\": \"add_step\", \"view_ref\": \"urgent\", \"transform\": \"filter\", \"params\": {\"condition\": {\"column\": \"Priority\", \"operator\": \"EQ\", \"value\": \"Urgent\"}}, \"label\": \"Keep urgent tickets\"}, {\"op\": \"send_to_new_dataset\", \"dataset_id\": 415, \"view_ref\": \"urgent\", \"name\": \"Urgent tickets by team\"}]}}'"
    },
    "workflow cleanup": {
      "accepted_fields": [],
      "agent_example": "mammoth workflow cleanup --yes",
      "command_id": "workflow.cleanup",
      "contract_level": "typed",
      "description": "Clean up ghost (orphaned skeleton) workflows in the active project.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth workflow cleanup --help",
      "notes": [],
      "positionals": [],
      "request_model": "WorkflowCleanupRequest",
      "result_model": "WorkflowCleanupResult",
      "runnable_example": "mammoth workflow cleanup --yes"
    },
    "workflow create": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "name",
          "required": false,
          "type": "str"
        },
        {
          "default": "blank",
          "enum": null,
          "name": "shape",
          "required": false,
          "type": "str"
        },
        {
          "default": null,
          "enum": null,
          "name": "purpose",
          "required": false,
          "type": "str"
        },
        {
          "default": null,
          "enum": null,
          "name": "seed_datasource_id",
          "required": false,
          "type": "int"
        }
      ],
      "agent_example": "mammoth workflow create 'Revenue report'",
      "command_id": "workflow.create",
      "contract_level": "typed",
      "description": "Create a workflow. Name comes from a positional or the 'name' field.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth workflow create --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": "name",
          "help": "Name of the new workflow; or pass it via the 'name' input field.",
          "metavar": "NAME",
          "name": "name",
          "required": false,
          "type": "str"
        }
      ],
      "request_model": "WorkflowCreateRequest",
      "result_model": "WorkflowCreateResult",
      "runnable_example": "mammoth workflow create 'Revenue report'"
    },
    "workflow delete": {
      "accepted_fields": [],
      "agent_example": "mammoth workflow delete 123 --yes",
      "command_id": "workflow.delete",
      "contract_level": "typed",
      "description": "Delete one workflow by id. Prompt or '--yes' required.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth workflow delete WORKFLOW_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the workflow.",
          "metavar": "WORKFLOW_ID",
          "name": "workflow_id",
          "required": true,
          "type": "int"
        }
      ],
      "request_model": "WorkflowDeleteRequest",
      "result_model": "WorkflowDeleteResult",
      "runnable_example": "mammoth workflow delete 123 --yes"
    },
    "workflow duplicate": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "name",
          "required": true,
          "type": "str"
        },
        {
          "default": null,
          "enum": null,
          "name": "dataset_ids",
          "required": true,
          "type": "list[int]"
        },
        {
          "default": null,
          "enum": null,
          "name": "source_workflow_id",
          "required": false,
          "type": "int"
        },
        {
          "default": true,
          "enum": null,
          "name": "wait",
          "required": false,
          "type": "bool"
        },
        {
          "default": null,
          "enum": null,
          "name": "timeout",
          "required": false,
          "type": "float"
        }
      ],
      "agent_example": "mammoth workflow duplicate 123 --input '{\"name\": \"Revenue report\", \"dataset_ids\": [1]}'",
      "command_id": "workflow.duplicate",
      "contract_level": "typed",
      "description": "Duplicate a workflow into a new workflow of the same project and wait for the copies.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth workflow duplicate --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": "source_workflow_id",
          "help": "ID of the workflow to copy; or pass 'source_workflow_id' in --input.",
          "metavar": "SOURCE_WORKFLOW_ID",
          "name": "source_workflow_id",
          "required": false,
          "type": "int"
        }
      ],
      "request_model": "WorkflowDuplicateRequest",
      "result_model": "WorkflowDuplicateResult",
      "runnable_example": "mammoth workflow duplicate 123 --input '{\"name\": \"Revenue report\", \"dataset_ids\": [1]}'"
    },
    "workflow from-template": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "workflow_name",
          "required": true,
          "type": "str"
        }
      ],
      "agent_example": "mammoth workflow from-template 123 --input '{\"workflow_name\": \"Revenue report\"}'",
      "command_id": "workflow.from-template",
      "contract_level": "typed",
      "description": "Instantiate a workflow from a workspace template.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth workflow from-template TEMPLATE_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the template.",
          "metavar": "TEMPLATE_ID",
          "name": "template_id",
          "required": true,
          "type": "int"
        }
      ],
      "request_model": "WorkflowFromTemplateRequest",
      "result_model": "WorkflowFromTemplateResult",
      "runnable_example": "mammoth workflow from-template 123 --input '{\"workflow_name\": \"Revenue report\"}'"
    },
    "workflow get": {
      "accepted_fields": [],
      "agent_example": "mammoth workflow get 123",
      "command_id": "workflow.get",
      "contract_level": "typed",
      "description": "Get one workflow by id in the active project.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth workflow get WORKFLOW_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the workflow.",
          "metavar": "WORKFLOW_ID",
          "name": "workflow_id",
          "required": true,
          "type": "int"
        }
      ],
      "request_model": "WorkflowGetRequest",
      "result_model": "WorkflowGetResult",
      "runnable_example": "mammoth workflow get 123"
    },
    "workflow graph": {
      "accepted_fields": [],
      "agent_example": "mammoth workflow graph",
      "command_id": "workflow.graph",
      "contract_level": "typed",
      "description": "Get the active project's workflow graph.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth workflow graph --help",
      "notes": [],
      "positionals": [],
      "request_model": "WorkflowGraphRequest",
      "result_model": "WorkflowGraphResult",
      "runnable_example": "mammoth workflow graph"
    },
    "workflow list": {
      "accepted_fields": [],
      "agent_example": "mammoth workflow list",
      "command_id": "workflow.list",
      "contract_level": "typed",
      "description": "List workflows in the active project.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth workflow list --help",
      "notes": [],
      "positionals": [],
      "request_model": "WorkflowListRequest",
      "result_model": "WorkflowListResult",
      "runnable_example": "mammoth workflow list"
    },
    "workflow resolve-held": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "built",
          "required": true,
          "type": "bool"
        },
        {
          "default": null,
          "enum": null,
          "name": "expected_version",
          "required": false,
          "type": "int"
        }
      ],
      "agent_example": "mammoth workflow resolve-held 123 Status --input '{\"built\": true}'",
      "command_id": "workflow.resolve-held",
      "contract_level": "typed",
      "description": "Settle a change that a workflow Save held back. Workflow id and change key are positional.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth workflow resolve-held WORKFLOW_ID KEY --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the workflow.",
          "metavar": "WORKFLOW_ID",
          "name": "workflow_id",
          "required": true,
          "type": "int"
        },
        {
          "falls_back_to_field": null,
          "help": "Key identifying the resource.",
          "metavar": "KEY",
          "name": "key",
          "required": true,
          "type": "str"
        }
      ],
      "request_model": "WorkflowResolveHeldRequest",
      "result_model": "WorkflowResolveHeldResult",
      "runnable_example": "mammoth workflow resolve-held 123 Status --input '{\"built\": true}'"
    },
    "workflow save": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "keys",
          "required": false,
          "type": "list[str]"
        },
        {
          "default": null,
          "enum": null,
          "name": "expected_version",
          "required": false,
          "type": "int"
        }
      ],
      "agent_example": "mammoth workflow save 123",
      "command_id": "workflow.save",
      "contract_level": "typed",
      "description": "Save a workflow's unsaved canvas changes and wait for the run. Workflow id is positional.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth workflow save WORKFLOW_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the workflow.",
          "metavar": "WORKFLOW_ID",
          "name": "workflow_id",
          "required": true,
          "type": "int"
        }
      ],
      "request_model": "WorkflowSaveRequest",
      "result_model": "WorkflowSaveResult",
      "runnable_example": "mammoth workflow save 123"
    },
    "workflow save-cancel-step": {
      "accepted_fields": [],
      "agent_example": "mammoth workflow save-cancel-step 123 resource-123 456",
      "command_id": "workflow.save-cancel-step",
      "contract_level": "typed",
      "description": "Cancel one step of a workflow's running Save. Workflow id, run id and step are positional.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth workflow save-cancel-step WORKFLOW_ID RUN_ID STEP --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the workflow.",
          "metavar": "WORKFLOW_ID",
          "name": "workflow_id",
          "required": true,
          "type": "int"
        },
        {
          "falls_back_to_field": null,
          "help": "ID of the Save run (from 'workflow save' or 'workflow get').",
          "metavar": "RUN_ID",
          "name": "run_id",
          "required": true,
          "type": "str"
        },
        {
          "falls_back_to_field": null,
          "help": "Number of the step to cancel (0 or more).",
          "metavar": "STEP",
          "name": "step",
          "required": true,
          "type": "int"
        }
      ],
      "request_model": "WorkflowSaveCancelStepRequest",
      "result_model": "WorkflowSaveCancelStepResult",
      "runnable_example": "mammoth workflow save-cancel-step 123 resource-123 456"
    },
    "workflow save-undo": {
      "accepted_fields": [],
      "agent_example": "mammoth workflow save-undo 123 resource-123 --yes",
      "command_id": "workflow.save-undo",
      "contract_level": "typed",
      "description": "Undo a workflow's latest finished Save and wait for the undo run. Prompt or '--yes'.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth workflow save-undo WORKFLOW_ID RUN_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the workflow.",
          "metavar": "WORKFLOW_ID",
          "name": "workflow_id",
          "required": true,
          "type": "int"
        },
        {
          "falls_back_to_field": null,
          "help": "ID of the run.",
          "metavar": "RUN_ID",
          "name": "run_id",
          "required": true,
          "type": "str"
        }
      ],
      "request_model": "WorkflowSaveUndoRequest",
      "result_model": "WorkflowSaveUndoResult",
      "runnable_example": "mammoth workflow save-undo 123 resource-123 --yes"
    },
    "workflow template build": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "inputs",
          "required": true,
          "type": "dict[str, int]"
        },
        {
          "default": null,
          "enum": null,
          "name": "matches",
          "required": true,
          "type": "dict[str, dict[str, dict[str, any]]]"
        },
        {
          "default": null,
          "enum": null,
          "name": "destination_name",
          "required": true,
          "type": "str"
        },
        {
          "default": null,
          "enum": null,
          "name": "settings",
          "required": false,
          "type": "dict[str, any]"
        },
        {
          "default": null,
          "enum": null,
          "name": "destination_emails",
          "required": false,
          "type": "list[str]"
        }
      ],
      "agent_example": "mammoth workflow template build bank-reconciliation --input '{\"inputs\": {\"main\": 101}, \"matches\": {\"main\": {\"amount\": {\"column\": \"Amount\"}}}, \"destination_name\": \"Bank reconciliation\"}'",
      "command_id": "workflow.template.build",
      "contract_level": "typed",
      "description": "Add a template's steps to a workflow and start the Save that builds them.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth workflow template build KEY --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "Workflow template key, from 'workflow template list'.",
          "metavar": "KEY",
          "name": "key",
          "required": true,
          "type": "str"
        }
      ],
      "request_model": "WorkflowTemplateBuildRequest",
      "result_model": "WorkflowTemplateBuildResult",
      "runnable_example": "mammoth workflow template build bank-reconciliation --input '{\"inputs\": {\"main\": 101}, \"matches\": {\"main\": {\"amount\": {\"column\": \"Amount\"}}}, \"destination_name\": \"Bank reconciliation\"}'"
    },
    "workflow template fit": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "inputs",
          "required": true,
          "type": "dict[str, int]"
        }
      ],
      "agent_example": "mammoth workflow template fit bank-reconciliation --input '{\"inputs\": {\"main\": 101}}'",
      "command_id": "workflow.template.fit",
      "contract_level": "typed",
      "description": "Match a template's roles to the columns of the tables you chose.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth workflow template fit KEY --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "Workflow template key, from 'workflow template list'.",
          "metavar": "KEY",
          "name": "key",
          "required": true,
          "type": "str"
        }
      ],
      "request_model": "WorkflowTemplateFitRequest",
      "result_model": "WorkflowTemplateFitResult",
      "runnable_example": "mammoth workflow template fit bank-reconciliation --input '{\"inputs\": {\"main\": 101}}'"
    },
    "workflow template get": {
      "accepted_fields": [],
      "agent_example": "mammoth workflow template get bank-reconciliation",
      "command_id": "workflow.template.get",
      "contract_level": "typed",
      "description": "Get a template's inputs, roles and settings.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth workflow template get KEY --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "Workflow template key, from 'workflow template list'.",
          "metavar": "KEY",
          "name": "key",
          "required": true,
          "type": "str"
        }
      ],
      "request_model": "WorkflowTemplateGetRequest",
      "result_model": "WorkflowTemplateGetResult",
      "runnable_example": "mammoth workflow template get bank-reconciliation"
    },
    "workflow template list": {
      "accepted_fields": [],
      "agent_example": "mammoth workflow template list",
      "command_id": "workflow.template.list",
      "contract_level": "typed",
      "description": "List the catalog's workflow templates, most searched first within each family.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth workflow template list --help",
      "notes": [],
      "positionals": [],
      "request_model": "WorkflowTemplateListRequest",
      "result_model": "WorkflowTemplateListResult",
      "runnable_example": "mammoth workflow template list"
    },
    "workflow template preview": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "inputs",
          "required": true,
          "type": "dict[str, int]"
        },
        {
          "default": null,
          "enum": null,
          "name": "matches",
          "required": true,
          "type": "dict[str, dict[str, dict[str, any]]]"
        },
        {
          "default": null,
          "enum": null,
          "name": "settings",
          "required": false,
          "type": "dict[str, any]"
        }
      ],
      "agent_example": "mammoth workflow template preview bank-reconciliation --input '{\"inputs\": {\"main\": 101}, \"matches\": {\"main\": {\"amount\": {\"column\": \"Amount\"}}}}'",
      "command_id": "workflow.template.preview",
      "contract_level": "typed",
      "description": "Run a template on the first rows of your tables and run its checks.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth workflow template preview KEY --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "Workflow template key, from 'workflow template list'.",
          "metavar": "KEY",
          "name": "key",
          "required": true,
          "type": "str"
        }
      ],
      "request_model": "WorkflowTemplatePreviewRequest",
      "result_model": "WorkflowTemplatePreviewResult",
      "runnable_example": "mammoth workflow template preview bank-reconciliation --input '{\"inputs\": {\"main\": 101}, \"matches\": {\"main\": {\"amount\": {\"column\": \"Amount\"}}}}'"
    },
    "workflow template rank": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "input_key",
          "required": true,
          "type": "str"
        },
        {
          "default": null,
          "enum": null,
          "name": "dataset_ids",
          "required": true,
          "type": "list[int]"
        }
      ],
      "agent_example": "mammoth workflow template rank bank-reconciliation --input '{\"input_key\": \"main\", \"dataset_ids\": [101, 102]}'",
      "command_id": "workflow.template.rank",
      "contract_level": "typed",
      "description": "Rank project tables by how well they fit one input of a template (columns only).",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth workflow template rank KEY --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "Workflow template key, from 'workflow template list'.",
          "metavar": "KEY",
          "name": "key",
          "required": true,
          "type": "str"
        }
      ],
      "request_model": "WorkflowTemplateRankRequest",
      "result_model": "WorkflowTemplateRankResult",
      "runnable_example": "mammoth workflow template rank bank-reconciliation --input '{\"input_key\": \"main\", \"dataset_ids\": [101, 102]}'"
    },
    "workflow template sample-result": {
      "accepted_fields": [],
      "agent_example": "mammoth workflow template sample-result bank-reconciliation",
      "command_id": "workflow.template.sample-result",
      "contract_level": "typed",
      "description": "Show a template's result on its own sample rows (computed in memory, nothing imported).",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth workflow template sample-result KEY --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "Workflow template key, from 'workflow template list'.",
          "metavar": "KEY",
          "name": "key",
          "required": true,
          "type": "str"
        }
      ],
      "request_model": "WorkflowTemplateSampleResultRequest",
      "result_model": "WorkflowTemplateSampleResultResult",
      "runnable_example": "mammoth workflow template sample-result bank-reconciliation"
    },
    "workflow template samples": {
      "accepted_fields": [],
      "agent_example": "mammoth workflow template samples bank-reconciliation",
      "command_id": "workflow.template.samples",
      "contract_level": "typed",
      "description": "Import a template's sample tables into the project (once), to try it without data.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth workflow template samples KEY --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "Workflow template key, from 'workflow template list'.",
          "metavar": "KEY",
          "name": "key",
          "required": true,
          "type": "str"
        }
      ],
      "request_model": "WorkflowTemplateSamplesRequest",
      "result_model": "WorkflowTemplateSamplesResult",
      "runnable_example": "mammoth workflow template samples bank-reconciliation"
    },
    "workflow update": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "name",
          "required": false,
          "type": "str"
        },
        {
          "default": null,
          "enum": null,
          "name": "purpose",
          "required": false,
          "type": "str"
        },
        {
          "default": null,
          "enum": null,
          "name": "pipeline_summary",
          "required": false,
          "type": "str"
        },
        {
          "default": null,
          "enum": null,
          "name": "notes",
          "required": false,
          "type": "str"
        }
      ],
      "agent_example": "mammoth workflow update 123",
      "command_id": "workflow.update",
      "contract_level": "typed",
      "description": "Update a workflow's metadata. Workflow id is positional.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth workflow update WORKFLOW_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the workflow.",
          "metavar": "WORKFLOW_ID",
          "name": "workflow_id",
          "required": true,
          "type": "int"
        }
      ],
      "request_model": "WorkflowUpdateRequest",
      "result_model": "WorkflowUpdateResult",
      "runnable_example": "mammoth workflow update 123"
    },
    "workflow workspace-datasets": {
      "accepted_fields": [],
      "agent_example": "mammoth workflow workspace-datasets",
      "command_id": "workflow.workspace-datasets",
      "contract_level": "typed",
      "description": "List workspace datasets available to workflows in the active project.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth workflow workspace-datasets --help",
      "notes": [],
      "positionals": [],
      "request_model": "WorkflowWorkspaceDatasetsRequest",
      "result_model": "WorkflowWorkspaceDatasetsResult",
      "runnable_example": "mammoth workflow workspace-datasets"
    },
    "workflow workspace-exports": {
      "accepted_fields": [],
      "agent_example": "mammoth workflow workspace-exports",
      "command_id": "workflow.workspace-exports",
      "contract_level": "typed",
      "description": "List workspace exports available to workflows in the active project.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth workflow workspace-exports --help",
      "notes": [],
      "positionals": [],
      "request_model": "WorkflowWorkspaceExportsRequest",
      "result_model": "WorkflowWorkspaceExportsResult",
      "runnable_example": "mammoth workflow workspace-exports"
    },
    "workflow workspace-sources": {
      "accepted_fields": [],
      "agent_example": "mammoth workflow workspace-sources",
      "command_id": "workflow.workspace-sources",
      "contract_level": "typed",
      "description": "List workspace sources available to workflows in the active project.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth workflow workspace-sources --help",
      "notes": [],
      "positionals": [],
      "request_model": "WorkflowWorkspaceSourcesRequest",
      "result_model": "WorkflowWorkspaceSourcesResult",
      "runnable_example": "mammoth workflow workspace-sources"
    },
    "workspace accept-invite": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "token",
          "required": true,
          "type": "str"
        }
      ],
      "agent_example": "mammoth workspace accept-invite --input /private/path/request.json",
      "command_id": "workspace.accept-invite",
      "contract_level": "typed",
      "description": "Accept a pending workspace invite using a token from '--input'.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth workspace accept-invite --help",
      "notes": [],
      "positionals": [],
      "request_model": "WorkspaceAcceptInviteRequest",
      "result_model": "WorkspaceAcceptInviteResult",
      "runnable_example": "mammoth workspace accept-invite --input /private/path/request.json"
    },
    "workspace app-usage": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "fields",
          "required": false,
          "type": "str"
        }
      ],
      "agent_example": "mammoth workspace app-usage",
      "command_id": "workspace.app-usage",
      "contract_level": "typed",
      "description": "Report app usage stats for the current workspace.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth workspace app-usage --help",
      "notes": [],
      "positionals": [],
      "request_model": "WorkspaceAppUsageRequest",
      "result_model": "WorkspaceAppUsageResult",
      "runnable_example": "mammoth workspace app-usage"
    },
    "workspace check-expression": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "body",
          "required": true,
          "type": "dict[str, any]"
        }
      ],
      "agent_example": "mammoth workspace check-expression --input '{\"body\": {\"intent\": \"Summarize revenue by region\"}}'",
      "command_id": "workspace.check-expression",
      "contract_level": "partially_typed",
      "description": "Ask the AI assistant to check an expression. Payload comes from '--input'.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth workspace check-expression --help",
      "notes": [],
      "positionals": [],
      "request_model": "WorkspaceCheckExpressionRequest",
      "result_model": "WorkspaceCheckExpressionResult",
      "runnable_example": "mammoth workspace check-expression --input '{\"body\": {\"intent\": \"Summarize revenue by region\"}}'"
    },
    "workspace create": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "body",
          "required": true,
          "type": "dict[str, any]"
        }
      ],
      "agent_example": "mammoth workspace create --input '{\"body\": {}}'",
      "command_id": "workspace.create",
      "contract_level": "partially_typed",
      "description": "Create a new workspace. Payload comes from the 'body' input field.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth workspace create --help",
      "notes": [],
      "positionals": [],
      "request_model": "WorkspaceCreateRequest",
      "result_model": "WorkspaceCreateResult",
      "runnable_example": "mammoth workspace create --input '{\"body\": {}}'"
    },
    "workspace current": {
      "accepted_fields": [],
      "agent_example": "mammoth workspace current",
      "command_id": "workspace.current",
      "contract_level": "typed",
      "description": "Show the workspace this token acts in, and the project it is fenced to.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth workspace current --help",
      "notes": [],
      "positionals": [],
      "request_model": "WorkspaceCurrentRequest",
      "result_model": "WorkspaceCurrentResult",
      "runnable_example": "mammoth workspace current"
    },
    "workspace delete": {
      "accepted_fields": [],
      "agent_example": "mammoth workspace delete 123 --yes --confirm 123",
      "command_id": "workspace.delete",
      "contract_level": "typed",
      "description": "Delete a workspace. High-impact: '--yes --confirm WORKSPACE_ID'.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth workspace delete --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the workspace to act on; defaults to the client's own workspace.",
          "metavar": "WORKSPACE_ID",
          "name": "workspace_id",
          "required": false,
          "type": "int"
        }
      ],
      "request_model": "WorkspaceDeleteRequest",
      "result_model": "WorkspaceDeleteResult",
      "runnable_example": "mammoth workspace delete 123 --yes --confirm 123"
    },
    "workspace export-hosts get": {
      "accepted_fields": [],
      "agent_example": "mammoth workspace export-hosts get",
      "command_id": "workspace.export-hosts.get",
      "contract_level": "typed",
      "description": "Read the hosts this workspace's custom export destinations may send to.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth workspace export-hosts get --help",
      "notes": [],
      "positionals": [],
      "request_model": "WorkspaceExportHostsGetRequest",
      "result_model": "WorkspaceExportHostsGetResult",
      "runnable_example": "mammoth workspace export-hosts get"
    },
    "workspace export-hosts set": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "restricted",
          "required": true,
          "type": "bool"
        },
        {
          "default": null,
          "enum": null,
          "name": "hosts",
          "required": false,
          "type": "list[str]"
        }
      ],
      "agent_example": "mammoth workspace export-hosts set --input '{\"restricted\": true}' --yes",
      "command_id": "workspace.export-hosts.set",
      "contract_level": "typed",
      "description": "Set the hosts custom export destinations may send to. High-impact: always needs '--yes'.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth workspace export-hosts set --help",
      "notes": [],
      "positionals": [],
      "request_model": "WorkspaceExportHostsSetRequest",
      "result_model": "WorkspaceExportHostsSetResult",
      "runnable_example": "mammoth workspace export-hosts set --input '{\"restricted\": true}' --yes"
    },
    "workspace get": {
      "accepted_fields": [],
      "agent_example": "mammoth workspace get 123",
      "command_id": "workspace.get",
      "contract_level": "typed",
      "description": "Get one workspace by id (positional), or the client's own workspace.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth workspace get --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the workspace to act on; defaults to the client's own workspace.",
          "metavar": "WORKSPACE_ID",
          "name": "workspace_id",
          "required": false,
          "type": "int"
        }
      ],
      "request_model": "WorkspaceGetRequest",
      "result_model": "WorkspaceGetResult",
      "runnable_example": "mammoth workspace get 123"
    },
    "workspace home": {
      "accepted_fields": [],
      "agent_example": "mammoth workspace home",
      "command_id": "workspace.home",
      "contract_level": "typed",
      "description": "Read the Home summary: usage snapshot, health issues and suggestions.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth workspace home --help",
      "notes": [],
      "positionals": [],
      "request_model": "WorkspaceHomeRequest",
      "result_model": "WorkspaceHomeResult",
      "runnable_example": "mammoth workspace home"
    },
    "workspace invite delete": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "invite_ids",
          "required": true,
          "type": "list[int]"
        }
      ],
      "agent_example": "mammoth workspace invite delete --input '{\"invite_ids\": [1]}' --yes",
      "command_id": "workspace.invite.delete",
      "contract_level": "typed",
      "description": "Delete pending invites and free their seats. Prompt or '--yes' required.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth workspace invite delete --help",
      "notes": [],
      "positionals": [],
      "request_model": "WorkspaceInviteDeleteRequest",
      "result_model": "WorkspaceInviteDeleteResult",
      "runnable_example": "mammoth workspace invite delete --input '{\"invite_ids\": [1]}' --yes"
    },
    "workspace invite list": {
      "accepted_fields": [],
      "agent_example": "mammoth workspace invite list",
      "command_id": "workspace.invite.list",
      "contract_level": "typed",
      "description": "List pending invites with their invite ids; 'project_id' narrows to one project.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth workspace invite list --help",
      "notes": [],
      "positionals": [],
      "request_model": "WorkspaceInviteListRequest",
      "result_model": "WorkspaceInviteListResult",
      "runnable_example": "mammoth workspace invite list"
    },
    "workspace invite resend": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "invite_ids",
          "required": true,
          "type": "list[int]"
        }
      ],
      "agent_example": "mammoth workspace invite resend --input '{\"invite_ids\": [1]}'",
      "command_id": "workspace.invite.resend",
      "contract_level": "typed",
      "description": "Send the invitation email again. 'invite_ids' from '--input'.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth workspace invite resend --help",
      "notes": [],
      "positionals": [],
      "request_model": "WorkspaceInviteResendRequest",
      "result_model": "WorkspaceInviteResendResult",
      "runnable_example": "mammoth workspace invite resend --input '{\"invite_ids\": [1]}'"
    },
    "workspace invite revoke": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "invite_ids",
          "required": true,
          "type": "list[int]"
        }
      ],
      "agent_example": "mammoth workspace invite revoke --input '{\"invite_ids\": [1]}' --yes",
      "command_id": "workspace.invite.revoke",
      "contract_level": "typed",
      "description": "Revoke pending invites. Prompt or '--yes' required.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth workspace invite revoke --help",
      "notes": [],
      "positionals": [],
      "request_model": "WorkspaceInviteRevokeRequest",
      "result_model": "WorkspaceInviteRevokeResult",
      "runnable_example": "mammoth workspace invite revoke --input '{\"invite_ids\": [1]}' --yes"
    },
    "workspace invite update-role": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "invite_id",
          "required": true,
          "type": "int"
        },
        {
          "default": null,
          "enum": null,
          "name": "role",
          "required": true,
          "type": "str"
        }
      ],
      "agent_example": "mammoth workspace invite update-role --input '{\"invite_id\": 1, \"role\": \"workspace_member\"}' --yes",
      "command_id": "workspace.invite.update-role",
      "contract_level": "typed",
      "description": "Change the role a pending invite grants. '--yes' required.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth workspace invite update-role --help",
      "notes": [],
      "positionals": [],
      "request_model": "WorkspaceInviteUpdateRoleRequest",
      "result_model": "WorkspaceInviteUpdateRoleResult",
      "runnable_example": "mammoth workspace invite update-role --input '{\"invite_id\": 1, \"role\": \"workspace_member\"}' --yes"
    },
    "workspace list": {
      "accepted_fields": [
        {
          "default": 100,
          "enum": null,
          "name": "limit",
          "required": false,
          "type": "int"
        },
        {
          "default": "id,name",
          "enum": null,
          "name": "fields",
          "required": false,
          "type": "str"
        }
      ],
      "agent_example": "mammoth workspace list",
      "command_id": "workspace.list",
      "contract_level": "typed",
      "description": "List accessible workspaces.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth workspace list --help",
      "notes": [],
      "positionals": [],
      "request_model": "WorkspaceListRequest",
      "result_model": "WorkspaceListResult",
      "runnable_example": "mammoth workspace list"
    },
    "workspace llm-task": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "task_type",
          "required": true,
          "type": "str"
        },
        {
          "default": null,
          "enum": null,
          "name": "params",
          "required": true,
          "type": "dict[str, any]"
        }
      ],
      "agent_example": "mammoth workspace llm-task --input '{\"task_type\": \"run_data_retrieval\", \"params\": {\"name\": \"Status\"}}'",
      "command_id": "workspace.llm-task",
      "contract_level": "typed",
      "description": "Submit a unified LLM task. 'task_type' and 'params' come from '--input'.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth workspace llm-task --help",
      "notes": [],
      "positionals": [],
      "request_model": "WorkspaceLlmTaskRequest",
      "result_model": "WorkspaceLlmTaskResult",
      "runnable_example": "mammoth workspace llm-task --input '{\"task_type\": \"run_data_retrieval\", \"params\": {\"name\": \"Status\"}}'"
    },
    "workspace oauth-client create": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "name",
          "required": true,
          "type": "str"
        },
        {
          "default": null,
          "enum": null,
          "name": "redirect_uris",
          "required": true,
          "type": "list[str]"
        },
        {
          "default": null,
          "enum": null,
          "name": "description",
          "required": false,
          "type": "str"
        },
        {
          "default": null,
          "enum": null,
          "name": "logo_url",
          "required": false,
          "type": "str"
        },
        {
          "default": null,
          "enum": null,
          "name": "tos_url",
          "required": false,
          "type": "str"
        },
        {
          "default": null,
          "enum": null,
          "name": "privacy_url",
          "required": false,
          "type": "str"
        },
        {
          "default": "client_secret_basic",
          "enum": null,
          "name": "token_endpoint_auth_method",
          "required": false,
          "type": "str"
        }
      ],
      "agent_example": "mammoth workspace oauth-client create 123 --input '{\"name\": \"Revenue report\", \"redirect_uris\": [\"https://example.com/data.csv\"]}' --yes",
      "command_id": "workspace.oauth-client.create",
      "contract_level": "typed",
      "description": "Create an OAuth client through the generated path, revealing its secret.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth workspace oauth-client create --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the workspace to act on; defaults to the client's own workspace.",
          "metavar": "WORKSPACE_ID",
          "name": "workspace_id",
          "required": false,
          "type": "int"
        }
      ],
      "request_model": "WorkspaceOauthClientCreateRequest",
      "result_model": "WorkspaceOauthClientCreateResult",
      "runnable_example": "mammoth workspace oauth-client create 123 --input '{\"name\": \"Revenue report\", \"redirect_uris\": [\"https://example.com/data.csv\"]}' --yes"
    },
    "workspace oauth-client delete": {
      "accepted_fields": [],
      "agent_example": "mammoth workspace oauth-client delete 123 456 --yes --confirm 123",
      "command_id": "workspace.oauth-client.delete",
      "contract_level": "typed",
      "description": "Delete an OAuth client registration; its grants stop working.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth workspace oauth-client delete OAUTH_CLIENT_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the OAuth client.",
          "metavar": "OAUTH_CLIENT_ID",
          "name": "oauth_client_id",
          "required": true,
          "type": "int"
        },
        {
          "falls_back_to_field": null,
          "help": "ID of the workspace to act on; defaults to the client's own workspace.",
          "metavar": "WORKSPACE_ID",
          "name": "workspace_id",
          "required": false,
          "type": "int"
        }
      ],
      "request_model": "WorkspaceOauthClientDeleteRequest",
      "result_model": "WorkspaceOauthClientDeleteResult",
      "runnable_example": "mammoth workspace oauth-client delete 123 456 --yes --confirm 123"
    },
    "workspace oauth-client list": {
      "accepted_fields": [],
      "agent_example": "mammoth workspace oauth-client list 123",
      "command_id": "workspace.oauth-client.list",
      "contract_level": "typed",
      "description": "List the workspace's registered OAuth clients (no secrets).",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth workspace oauth-client list --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the workspace to act on; defaults to the client's own workspace.",
          "metavar": "WORKSPACE_ID",
          "name": "workspace_id",
          "required": false,
          "type": "int"
        }
      ],
      "request_model": "WorkspaceOauthClientListRequest",
      "result_model": "AuthOauthClientListResult",
      "runnable_example": "mammoth workspace oauth-client list 123"
    },
    "workspace oauth-client revoke-grant": {
      "accepted_fields": [],
      "agent_example": "mammoth workspace oauth-client revoke-grant 123 456 --yes --confirm 123",
      "command_id": "workspace.oauth-client.revoke-grant",
      "contract_level": "typed",
      "description": "Revoke every grant to an OAuth client; users must authorise it again.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth workspace oauth-client revoke-grant OAUTH_CLIENT_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the OAuth client.",
          "metavar": "OAUTH_CLIENT_ID",
          "name": "oauth_client_id",
          "required": true,
          "type": "int"
        },
        {
          "falls_back_to_field": null,
          "help": "ID of the workspace to act on; defaults to the client's own workspace.",
          "metavar": "WORKSPACE_ID",
          "name": "workspace_id",
          "required": false,
          "type": "int"
        }
      ],
      "request_model": "WorkspaceOauthClientRevokeGrantRequest",
      "result_model": "WorkspaceOauthClientRevokeGrantResult",
      "runnable_example": "mammoth workspace oauth-client revoke-grant 123 456 --yes --confirm 123"
    },
    "workspace reactivate": {
      "accepted_fields": [],
      "agent_example": "mammoth workspace reactivate 123 --yes --confirm 123",
      "command_id": "workspace.reactivate",
      "contract_level": "typed",
      "description": "Reactivate a deactivated workspace. High-impact: '--yes --confirm WORKSPACE_ID'.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth workspace reactivate --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the workspace to act on; defaults to the client's own workspace.",
          "metavar": "WORKSPACE_ID",
          "name": "workspace_id",
          "required": false,
          "type": "int"
        }
      ],
      "request_model": "WorkspaceReactivateRequest",
      "result_model": "WorkspaceReactivateResult",
      "runnable_example": "mammoth workspace reactivate 123 --yes --confirm 123"
    },
    "workspace segment list": {
      "accepted_fields": [],
      "agent_example": "mammoth workspace segment list",
      "command_id": "workspace.segment.list",
      "contract_level": "typed",
      "description": "List split-test segments for the workspace.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth workspace segment list --help",
      "notes": [],
      "positionals": [],
      "request_model": "WorkspaceSegmentListRequest",
      "result_model": "WorkspaceSegmentListResult",
      "runnable_example": "mammoth workspace segment list"
    },
    "workspace segment update": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "patch",
          "required": true,
          "type": "list[dict[str, any]]"
        }
      ],
      "agent_example": "mammoth workspace segment update --input '{\"patch\": [{\"name\": \"Status\"}]}'",
      "command_id": "workspace.segment.update",
      "contract_level": "typed",
      "description": "Update split-test segments. 'patch' comes from '--input'.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth workspace segment update --help",
      "notes": [],
      "positionals": [],
      "request_model": "WorkspaceSegmentUpdateRequest",
      "result_model": "WorkspaceSegmentUpdateResult",
      "runnable_example": "mammoth workspace segment update --input '{\"patch\": [{\"name\": \"Status\"}]}'"
    },
    "workspace storage-breakdown": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "limit",
          "required": false,
          "type": "int"
        },
        {
          "default": null,
          "enum": null,
          "name": "offset",
          "required": false,
          "type": "int"
        }
      ],
      "agent_example": "mammoth workspace storage-breakdown",
      "command_id": "workspace.storage-breakdown",
      "contract_level": "typed",
      "description": "Report a breakdown of storage usage for the workspace.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth workspace storage-breakdown --help",
      "notes": [],
      "positionals": [],
      "request_model": "WorkspaceStorageBreakdownRequest",
      "result_model": "WorkspaceStorageBreakdownResult",
      "runnable_example": "mammoth workspace storage-breakdown"
    },
    "workspace update": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "patches",
          "required": true,
          "type": "list[WorkspacePatchOp]"
        }
      ],
      "agent_example": "mammoth workspace update 123 --input '{\"patches\": [{\"op\": \"replace\", \"path\": \"name\", \"value\": \"Revenue team\"}]}' --yes --confirm 123",
      "command_id": "workspace.update",
      "contract_level": "typed",
      "description": "Patch workspace settings. High-impact: '--yes --confirm WORKSPACE_ID'.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth workspace update --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the workspace to act on; defaults to the client's own workspace.",
          "metavar": "WORKSPACE_ID",
          "name": "workspace_id",
          "required": false,
          "type": "int"
        }
      ],
      "request_model": "WorkspaceUpdateRequest",
      "result_model": "WorkspaceUpdateResult",
      "runnable_example": "mammoth workspace update 123 --input '{\"patches\": [{\"op\": \"replace\", \"path\": \"name\", \"value\": \"Revenue team\"}]}' --yes --confirm 123"
    },
    "workspace user add": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "email_ids",
          "required": true,
          "type": "list[str]"
        },
        {
          "default": null,
          "enum": null,
          "name": "projects",
          "required": false,
          "type": "list[dict[str, any]]"
        }
      ],
      "agent_example": "mammoth workspace user add --input '{\"email_ids\": [\"analyst@example.com\"]}' --yes",
      "command_id": "workspace.user.add",
      "contract_level": "typed",
      "description": "Invite one or more users to the workspace. High-impact: '--yes'.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth workspace user add --help",
      "notes": [],
      "positionals": [],
      "request_model": "WorkspaceUserAddRequest",
      "result_model": "WorkspaceUserAddResult",
      "runnable_example": "mammoth workspace user add --input '{\"email_ids\": [\"analyst@example.com\"]}' --yes"
    },
    "workspace user get": {
      "accepted_fields": [],
      "agent_example": "mammoth workspace user get resource-123",
      "command_id": "workspace.user.get",
      "contract_level": "typed",
      "description": "Get one workspace user by id (positional), in the client's own workspace.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth workspace user get USER_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the user.",
          "metavar": "USER_ID",
          "name": "user_id",
          "required": true,
          "type": "str"
        }
      ],
      "request_model": "WorkspaceUserGetRequest",
      "result_model": "WorkspaceUserGetResult",
      "runnable_example": "mammoth workspace user get resource-123"
    },
    "workspace user list": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "fields",
          "required": false,
          "type": "str"
        }
      ],
      "agent_example": "mammoth workspace user list",
      "command_id": "workspace.user.list",
      "contract_level": "typed",
      "description": "List users in the client's own workspace, with their roles and status.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth workspace user list --help",
      "notes": [],
      "positionals": [],
      "request_model": "WorkspaceUserListRequest",
      "result_model": "WorkspaceUserListResult",
      "runnable_example": "mammoth workspace user list"
    },
    "workspace user remove": {
      "accepted_fields": [],
      "agent_example": "mammoth workspace user remove 123 --yes",
      "command_id": "workspace.user.remove",
      "contract_level": "typed",
      "description": "Remove a single user from the workspace. Prompt or '--yes' required.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth workspace user remove USER_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the user.",
          "metavar": "USER_ID",
          "name": "user_id",
          "required": true,
          "type": "int"
        }
      ],
      "request_model": "WorkspaceUserRemoveRequest",
      "result_model": "WorkspaceUserRemoveResult",
      "runnable_example": "mammoth workspace user remove 123 --yes"
    },
    "workspace user remove-batch": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "ids",
          "required": false,
          "type": "str"
        },
        {
          "default": null,
          "enum": null,
          "name": "invite_ids",
          "required": false,
          "type": "str"
        }
      ],
      "agent_example": "mammoth workspace user remove-batch --yes",
      "command_id": "workspace.user.remove-batch",
      "contract_level": "typed",
      "description": "Remove several users and/or pending invites. Prompt or '--yes' required.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth workspace user remove-batch --help",
      "notes": [],
      "positionals": [],
      "request_model": "WorkspaceUserRemoveBatchRequest",
      "result_model": "WorkspaceUserRemoveBatchResult",
      "runnable_example": "mammoth workspace user remove-batch --yes"
    },
    "workspace user update": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "patches",
          "required": true,
          "type": "list[UserRolePatchOp]"
        }
      ],
      "agent_example": "mammoth workspace user update resource-123 --input '{\"patches\": [{\"op\": \"replace\", \"path\": \"role\", \"value\": \"workspace_member\"}]}' --yes --confirm resource-123",
      "command_id": "workspace.user.update",
      "contract_level": "typed",
      "description": "Update a user's role. High-impact: '--yes --confirm USER_ID'.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth workspace user update USER_ID --help",
      "notes": [],
      "positionals": [
        {
          "falls_back_to_field": null,
          "help": "ID of the user.",
          "metavar": "USER_ID",
          "name": "user_id",
          "required": true,
          "type": "str"
        }
      ],
      "request_model": "WorkspaceUserUpdateRequest",
      "result_model": "WorkspaceUserUpdateResult",
      "runnable_example": "mammoth workspace user update resource-123 --input '{\"patches\": [{\"op\": \"replace\", \"path\": \"role\", \"value\": \"workspace_member\"}]}' --yes --confirm resource-123"
    },
    "workspace user update-batch": {
      "accepted_fields": [
        {
          "default": null,
          "enum": null,
          "name": "patches",
          "required": true,
          "type": "list[dict[str, any]]"
        }
      ],
      "agent_example": "mammoth workspace user update-batch --input '{\"patches\": [{\"name\": \"Status\"}]}' --yes",
      "command_id": "workspace.user.update-batch",
      "contract_level": "typed",
      "description": "Update workspace users via JSON-patch operations. High-impact: '--yes --confirm WS'.",
      "flags": [],
      "hidden": false,
      "human_example": "mammoth workspace user update-batch --help",
      "notes": [],
      "positionals": [],
      "request_model": "WorkspaceUserUpdateBatchRequest",
      "result_model": "WorkspaceUserUpdateBatchResult",
      "runnable_example": "mammoth workspace user update-batch --input '{\"patches\": [{\"name\": \"Status\"}]}' --yes"
    }
  },
  "exit_codes": [
    {
      "code": 0,
      "name": "EXIT_OK"
    },
    {
      "code": 1,
      "name": "EXIT_API"
    },
    {
      "code": 2,
      "name": "EXIT_USAGE"
    },
    {
      "code": 3,
      "name": "EXIT_PARTIAL"
    },
    {
      "code": 4,
      "name": "EXIT_AUTH"
    },
    {
      "code": 5,
      "name": "EXIT_NOT_FOUND"
    },
    {
      "code": 6,
      "name": "EXIT_CONFLICT"
    },
    {
      "code": 7,
      "name": "EXIT_RETRYABLE"
    },
    {
      "code": 130,
      "name": "EXIT_INTERRUPT"
    }
  ],
  "families": {
    "activity": {
      "help": "Inspect workspace activity and audit history.",
      "hidden": false
    },
    "addon": {
      "help": "Manage workspace add-ons.",
      "hidden": false
    },
    "agent": {
      "help": "Work with Mammoth agent sessions, the changes a chat made, and its runs.",
      "hidden": true
    },
    "ai": {
      "help": "Generate AI-assisted expressions and conditions.",
      "hidden": false
    },
    "annotation": {
      "help": "Manage annotations on Mammoth resources.",
      "hidden": false
    },
    "auth": {
      "help": "Sign in, sign out, and inspect credentials.",
      "hidden": false
    },
    "automation": {
      "help": "Create and manage automations.",
      "hidden": false
    },
    "batch": {
      "help": "Run and inspect batch operations.",
      "hidden": false
    },
    "billing": {
      "help": "Manage billing and hosted checkout flows.",
      "hidden": false
    },
    "browse": {
      "help": "Browse projects and workspace resources.",
      "hidden": false
    },
    "calc": {
      "help": "Evaluate one arithmetic expression exactly.",
      "hidden": false
    },
    "capabilities": {
      "help": "List what the CLI cannot do yet, and what to do instead.",
      "hidden": false
    },
    "capability": {
      "help": "Discover API operation support and policies.",
      "hidden": false
    },
    "client-app": {
      "help": "Manage the workspace's API keys (client apps): key + secret credentials for scripts and integrations.",
      "hidden": false
    },
    "collection": {
      "help": "Group dashboards into a collection and share the set as one.",
      "hidden": false
    },
    "completion": {
      "help": "Install or print shell completion.",
      "hidden": false
    },
    "config": {
      "help": "Read and update local CLI configuration.",
      "hidden": false
    },
    "connector": {
      "help": "Manage data connectors and connector profiles.",
      "hidden": false
    },
    "context": {
      "help": "Inspect and select the active project context.",
      "hidden": false
    },
    "dashboard": {
      "help": "Build, query, and publish dashboards.",
      "hidden": false
    },
    "dataset": {
      "help": "Create, inspect, and manage datasets.",
      "hidden": false
    },
    "doctor": {
      "help": "Run environment and connectivity diagnostics.",
      "hidden": false
    },
    "external-key": {
      "help": "Manage LLM provider keys (OpenAI, Anthropic, etc.) used by AI features.",
      "hidden": false
    },
    "file": {
      "help": "Upload files (file upload; a whole local directory: file upload-folder) and manage uploaded source files. An uploaded file becomes a dataset: delete it with 'dataset delete'.",
      "hidden": false
    },
    "folder": {
      "help": "Create, rename, move and delete project folders that organize datasets, views and dashboards. To upload a local directory use 'file upload-folder'.",
      "hidden": false
    },
    "history": {
      "help": "List the writes made from this machine, undo them, and resume a stopped run.",
      "hidden": false
    },
    "how": {
      "help": "Turn a plain-language goal into an ordered recipe of commands.",
      "hidden": false
    },
    "job": {
      "help": "Inspect and wait for asynchronous jobs.",
      "hidden": false
    },
    "link": {
      "help": "Read the workspace, project, folder, dataset and view ids out of a pasted app URL.",
      "hidden": false
    },
    "log": {
      "help": "Locate and read the local run log.",
      "hidden": false
    },
    "notification": {
      "help": "Manage workspace notifications.",
      "hidden": false
    },
    "parameter": {
      "help": "Manage parameters and parameter groups.",
      "hidden": false
    },
    "project": {
      "help": "Create and manage projects.",
      "hidden": false
    },
    "recipe": {
      "help": "Run a common multi-step task as one command.",
      "hidden": false
    },
    "report": {
      "help": "Create and manage reports.",
      "hidden": false
    },
    "resolve": {
      "help": "Say what NAME refers to: a dataset, a view or a project, with ids and projects.",
      "hidden": false
    },
    "run": {
      "help": "Run many commands in one process: JSON Lines of cmd, args, input and flags.",
      "hidden": false
    },
    "schedule": {
      "help": "Manage scheduled work.",
      "hidden": false
    },
    "schema": {
      "help": "Find concise command input guidance or fetch full schemas.",
      "hidden": false
    },
    "skill": {
      "help": "Install and manage the Mammoth agent skill.",
      "hidden": false
    },
    "snippet": {
      "help": "Manage reusable snippets.",
      "hidden": false
    },
    "support": {
      "help": "Manage support and administration resources.",
      "hidden": false
    },
    "template": {
      "help": "Manage legacy workspace templates (the project catalog is 'workflow template').",
      "hidden": false
    },
    "token": {
      "help": "Create, list, and revoke long-lived API keys (aliases of client-app).",
      "hidden": false
    },
    "trash": {
      "help": "Inspect, restore, and remove trashed resources.",
      "hidden": false
    },
    "upgrade": {
      "help": "Upgrade the mammoth CLI to the latest (or a specified) version from PyPI.",
      "hidden": false
    },
    "user": {
      "help": "Manage users and account settings.",
      "hidden": false
    },
    "version": {
      "help": null,
      "hidden": false
    },
    "view": {
      "help": "Transform, query, and publish data views.",
      "hidden": false
    },
    "webhook": {
      "help": "Manage webhooks.",
      "hidden": false
    },
    "workflow": {
      "help": "Create and manage workflows.",
      "hidden": false
    },
    "workspace": {
      "help": "Manage workspace settings and members.",
      "hidden": false
    }
  },
  "global_flags": [
    {
      "choices": null,
      "default": "auto",
      "help": "Output format. 'auto' picks a table on a terminal, JSON when piped.",
      "is_flag": false,
      "metavar": "auto|table|json|yaml|ndjson|plain|csv",
      "not_on": [],
      "opts": [
        "--output",
        "-o"
      ],
      "panel": "Output and automation",
      "type": "str"
    },
    {
      "choices": null,
      "default": null,
      "help": "Credential profile name.",
      "is_flag": false,
      "metavar": null,
      "not_on": [],
      "opts": [
        "--profile"
      ],
      "panel": "Context and timeouts",
      "type": "str"
    },
    {
      "choices": null,
      "default": null,
      "help": "Active project id override.",
      "is_flag": false,
      "metavar": null,
      "not_on": [],
      "opts": [
        "--project"
      ],
      "panel": "Context and timeouts",
      "type": "int"
    },
    {
      "choices": null,
      "default": null,
      "help": "Agent chat session id for 'agent action' and 'agent run' commands.",
      "is_flag": false,
      "metavar": null,
      "not_on": [
        "auth login",
        "auth logout",
        "auth status",
        "config get",
        "config list",
        "config path",
        "config set",
        "context project clear",
        "context project status",
        "context project use",
        "context show",
        "upgrade"
      ],
      "opts": [
        "--session"
      ],
      "panel": "Context and timeouts",
      "type": "str"
    },
    {
      "choices": null,
      "default": null,
      "help": "Per-request timeout seconds.",
      "is_flag": false,
      "metavar": null,
      "not_on": [],
      "opts": [
        "--timeout"
      ],
      "panel": "Context and timeouts",
      "type": "float"
    },
    {
      "choices": null,
      "default": null,
      "help": "Job wait timeout seconds.",
      "is_flag": false,
      "metavar": null,
      "not_on": [],
      "opts": [
        "--job-timeout"
      ],
      "panel": "Context and timeouts",
      "type": "float"
    },
    {
      "choices": null,
      "default": false,
      "help": "When a job or pipeline wait runs out, exit 0 with {status: running, job_id or dataview_id, resume} instead of a timeout error; resume with 'mammoth job wait JOB_ID' (reports success, failure or still running; waits at most 15 minutes by default).",
      "is_flag": true,
      "metavar": null,
      "not_on": [
        "auth login",
        "auth logout",
        "auth status",
        "config get",
        "config list",
        "config path",
        "config set",
        "context project clear",
        "context project status",
        "context project use",
        "context show",
        "upgrade"
      ],
      "opts": [
        "--return-running"
      ],
      "panel": "Context and timeouts",
      "type": "boolean"
    },
    {
      "choices": null,
      "default": null,
      "help": "Pipeline wait timeout seconds.",
      "is_flag": false,
      "metavar": null,
      "not_on": [],
      "opts": [
        "--pipeline-timeout"
      ],
      "panel": "Context and timeouts",
      "type": "float"
    },
    {
      "choices": null,
      "default": "auto",
      "help": "Color policy.",
      "is_flag": false,
      "metavar": "auto|always|never",
      "not_on": [],
      "opts": [
        "--color"
      ],
      "panel": "Output and automation",
      "type": "str"
    },
    {
      "choices": null,
      "default": false,
      "help": "Never prompt; fail instead.",
      "is_flag": true,
      "metavar": null,
      "not_on": [],
      "opts": [
        "--no-input"
      ],
      "panel": "Output and automation",
      "type": "boolean"
    },
    {
      "choices": null,
      "default": false,
      "help": "Never render progress.",
      "is_flag": true,
      "metavar": null,
      "not_on": [],
      "opts": [
        "--no-progress"
      ],
      "panel": "Output and automation",
      "type": "boolean"
    },
    {
      "choices": null,
      "default": false,
      "help": "Emit diagnostic detail to stderr.",
      "is_flag": true,
      "metavar": null,
      "not_on": [],
      "opts": [
        "--debug"
      ],
      "panel": "Output and automation",
      "type": "boolean"
    },
    {
      "choices": null,
      "default": false,
      "help": "Confirm a mutation without prompting.",
      "is_flag": true,
      "metavar": null,
      "not_on": [
        "auth login",
        "auth status",
        "config get",
        "config list",
        "config path",
        "config set",
        "context project clear",
        "context project status",
        "context project use",
        "context show"
      ],
      "opts": [
        "--yes",
        "-y"
      ],
      "panel": "Safety",
      "type": "boolean"
    },
    {
      "choices": null,
      "default": null,
      "help": "Exact target name required for high-impact actions.",
      "is_flag": false,
      "metavar": null,
      "not_on": [
        "auth login",
        "auth logout",
        "auth status",
        "config get",
        "config list",
        "config path",
        "config set",
        "context project clear",
        "context project status",
        "context project use",
        "context show",
        "upgrade"
      ],
      "opts": [
        "--confirm"
      ],
      "panel": "Safety",
      "type": "str"
    },
    {
      "choices": null,
      "default": false,
      "help": "Resolve and validate, then report the request instead of sending it.",
      "is_flag": true,
      "metavar": null,
      "not_on": [
        "auth login",
        "auth logout",
        "auth status",
        "config get",
        "config list",
        "config path",
        "config set",
        "context project clear",
        "context project status",
        "context project use",
        "context show",
        "upgrade"
      ],
      "opts": [
        "--dry-run"
      ],
      "panel": "Safety",
      "type": "boolean"
    },
    {
      "choices": null,
      "default": false,
      "help": "Add a keep filter that matches no row; without it the dry run fails.",
      "is_flag": true,
      "metavar": null,
      "not_on": [
        "auth login",
        "auth logout",
        "auth status",
        "config get",
        "config list",
        "config path",
        "config set",
        "context project clear",
        "context project status",
        "context project use",
        "context show",
        "upgrade"
      ],
      "opts": [
        "--allow-empty"
      ],
      "panel": "Safety",
      "type": "boolean"
    },
    {
      "choices": null,
      "default": false,
      "help": "Replace a local file the command writes to when it already exists.",
      "is_flag": true,
      "metavar": null,
      "not_on": [
        "auth login",
        "auth logout",
        "auth status",
        "config get",
        "config list",
        "config path",
        "config set",
        "context project clear",
        "context project status",
        "context project use",
        "context show",
        "upgrade"
      ],
      "opts": [
        "--overwrite"
      ],
      "panel": "Safety",
      "type": "boolean"
    },
    {
      "choices": null,
      "default": false,
      "help": "Stage a step that changes no row today, as a rule for future data.",
      "is_flag": true,
      "metavar": null,
      "not_on": [
        "auth login",
        "auth logout",
        "auth status",
        "config get",
        "config list",
        "config path",
        "config set",
        "context project clear",
        "context project status",
        "context project use",
        "context show",
        "upgrade"
      ],
      "opts": [
        "--standing"
      ],
      "panel": "Safety",
      "type": "boolean"
    },
    {
      "choices": null,
      "default": null,
      "help": "Strict JSON/YAML request document, or '-' for stdin.",
      "is_flag": false,
      "metavar": null,
      "not_on": [],
      "opts": [
        "--input"
      ],
      "panel": "Request input",
      "type": "str"
    },
    {
      "choices": null,
      "default": null,
      "help": "Required for stdin: json or yaml.",
      "is_flag": false,
      "metavar": null,
      "not_on": [],
      "opts": [
        "--input-format"
      ],
      "panel": "Request input",
      "type": "str"
    }
  ]
}
