Open EPM ← Back to openepm.dev

execute_v2_application_decision

Record shared application context using current application-administrator authority. UserDecision records an explicit administrator decision; AgentInterpretation identifies an inference. Creates, revisions and withdrawals preserve server attribution and immutable history. Revisions require expectedVersion. Read, list and history use read_v2_program and enforce the same admin boundary. A decision does not change facts or formulas.

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

Create, revise or withdraw shared application-admin decision context.

Required arguments
program, idempotency_key
Optional arguments
None
{
  "program": {
    "languageVersion": 2,
    "function": "application.decision.create",
    "arguments": {
      "decisionId": "margin-freight",
      "title": "Freight treatment",
      "text": "Exclude freight from this application’s contribution margin calculation.",
      "rationale": "The administrator assigns freight to a separate responsibility centre.",
      "provenance": "UserDecision"
    }
  },
  "idempotency_key": "docs-decision-0001"
}
Exact JSON input schema
{
  "properties": {
    "program": {
      "additionalProperties": true,
      "title": "Program",
      "type": "object"
    },
    "idempotency_key": {
      "title": "Idempotency Key",
      "type": "string"
    }
  },
  "required": [
    "program",
    "idempotency_key"
  ],
  "title": "execute_v2_application_decisionArguments",
  "type": "object"
}

Application router

Create, revise or withdraw shared application-admin decision context.

Required arguments
workspace_id, application_id, program, idempotency_key
Optional arguments
None
{
  "workspace_id": "{{workspace_id}}",
  "application_id": "operating-cube",
  "program": {
    "languageVersion": 2,
    "function": "application.decision.create",
    "arguments": {
      "decisionId": "margin-freight",
      "title": "Freight treatment",
      "text": "Exclude freight from this application’s contribution margin calculation.",
      "rationale": "The administrator assigns freight to a separate responsibility centre.",
      "provenance": "UserDecision"
    }
  },
  "idempotency_key": "docs-decision-0001"
}
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"
    },
    "idempotency_key": {
      "title": "Idempotency Key",
      "type": "string"
    }
  },
  "required": [
    "workspace_id",
    "application_id",
    "program",
    "idempotency_key"
  ],
  "title": "execute_v2_application_decisionArguments",
  "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 Β· Application-language function catalog

Discussion

Discussing execute_v2_application_decision

The discussion service requires JavaScript and a connection to Firebase.