Open EPM ← Back to openepm.dev

read_v2_program

Returns the chosen program's scoped result. Raw scan returns snapshot-pinned rows, while typed export preserves supporting detail and provenance. Use the program's own continuation and result contract. Several bounded technical controls also use this dispatcher.

These signatures come from local MCP tool discovery. Use the signature registered by your deployment and confirm your identity and permissions before calling the tool.

Endpoint signatures and example arguments

Examples show the arguments to the tool. Replace placeholder IDs and illustrative revisions with values from your authorized disposable scope.

Bound application

Run a catalogued bounded read program.

Required arguments
program
Optional arguments
None
{
  "program": {
    "languageVersion": 2,
    "function": "facts.cube.scan",
    "arguments": {
      "members": {
        "Account": "InputA",
        "Entity": "PointA",
        "Year": "Y2027",
        "Period": "P01",
        "View": "Input",
        "Value": "Raw",
        "Custom01": "ItemA"
      },
      "limit": 10
    }
  }
}
Exact JSON input schema
{
  "properties": {
    "program": {
      "additionalProperties": true,
      "title": "Program",
      "type": "object"
    }
  },
  "required": [
    "program"
  ],
  "title": "read_v2_programArguments",
  "type": "object"
}

Application router

Execute a bounded scoped read program.

Required arguments
workspace_id, application_id, program
Optional arguments
None
{
  "workspace_id": "{{workspace_id}}",
  "application_id": "operating-cube",
  "program": {
    "languageVersion": 2,
    "function": "facts.cube.scan",
    "arguments": {
      "members": {
        "Account": "InputA",
        "Entity": "PointA",
        "Year": "Y2027",
        "Period": "P01",
        "View": "Input",
        "Value": "Raw",
        "Custom01": "ItemA"
      },
      "limit": 10
    }
  }
}
Exact JSON input schema
{
  "properties": {
    "workspace_id": {
      "title": "Workspace Id",
      "type": "string"
    },
    "application_id": {
      "title": "Application Id",
      "type": "string"
    },
    "program": {
      "additionalProperties": true,
      "title": "Program",
      "type": "object"
    }
  },
  "required": [
    "workspace_id",
    "application_id",
    "program"
  ],
  "title": "read_v2_programArguments",
  "type": "object"
}
Supported application-language functions

Handling errors

MCP_TOOL_CAPACITY_NOT_DISPATCHED means the server did not dispatch this call. MCP_TOOL_DEADLINE_OUTCOME_UNKNOWN or MCP_TOOL_PROCESS_FAILED_OUTCOME_UNKNOWN leaves the outcome unknown. For a call with effects, reconcile the original request before starting a new one. For a scoped denial, verify the caller's grant and the selected target.

Module guidelines Β· Related workflow Β· Application-language function catalog

Discussion

Discussing read_v2_program

The discussion service requires JavaScript and a connection to Firebase.