doforwork.com
discovery ยท phase 1

get_doml

Get a DO's input contract by id or exact/partial name: the JSON-Schema of the inputs you must supply to do, plus whether it can run anonymously (reasoning-only) or needs sign-in (integrations).

Input

FieldTypeRequiredDescription
idOrName string yes DO id or (exact or partial) name.

Example request

{
  "jsonrpc": "2.0",
  "id": 2,
  "method": "tools/call",
  "params": {
    "name": "get_doml",
    "arguments": { "idOrName": "KPI Tree Architect" }
  }
}

Example response

{
  "id": "wf_kpi_tree_architect",
  "title": "KPI Tree Architect",
  "classification": "reasoning_only",
  "needsIntegration": false,
  "inputs": {
    "type": "object",
    "properties": {
      "metric": { "type": "string", "description": "The top-line metric to decompose." },
      "horizon": { "type": "string", "default": "1 quarter" }
    },
    "required": ["metric"]
  }
}

For a DO with needsIntegration: true, the inputs also include one read-slot per connector-read step โ€” you fill each with the rows that step would otherwise fetch. Any write steps come back as proposedActionSteps.

Machine files