execute_v2_expression_rule_program
Run and manage the remaining published calculation operations exposed by current discovery. Author new saved rules, member lists and calculated definitions as Python through the source registry; direct JSON definition save/publish is retired from public authoring. Runs must identify the reviewed active version and digest, and results report actual committed checkpoints.
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
Save, publish, run or cancel an immutable generic rule workflow.
- Required arguments
program,idempotency_key- Optional arguments
- None
{
"program": {
"languageVersion": 2,
"function": "application.rule.run",
"arguments": {
"ruleId": "{{published_rule_id}}",
"bindings": {},
"expectedVersion": 1,
"expectedProgramDigest": "{{compiled_program_digest}}"
}
},
"idempotency_key": "docs-example-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_expression_rule_programArguments",
"type": "object"
}
Application router
Save, publish, run or cancel a scoped immutable generic rule workflow.
- 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.rule.run",
"arguments": {
"ruleId": "{{published_rule_id}}",
"bindings": {},
"expectedVersion": 1,
"expectedProgramDigest": "{{compiled_program_digest}}"
}
},
"idempotency_key": "docs-example-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_expression_rule_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