apply_v2_cube_write_scope_transition
Commits the exact scope transition reviewed with preview_v2_program. The lock illustration uses the function's own idempotencyKey inside program.arguments. Confirm returned policy revision and receipt. A stale or mismatched token blocks the apply.
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
Commit one reviewed domain-neutral cube write-scope transition.
- Required arguments
program,preview_token- Optional arguments
- None
{
"program": {
"languageVersion": 2,
"function": "cube.write.scope.lock",
"arguments": {
"scopeMembers": {
"Entity": "PointA"
},
"scopeAll": false,
"reason": "Isolated training lock",
"idempotencyKey": "docs-example-0001"
}
},
"preview_token": "{{preview_token}}"
}
Exact JSON input schema
{
"properties": {
"program": {
"additionalProperties": true,
"title": "Program",
"type": "object"
},
"preview_token": {
"title": "Preview Token",
"type": "string"
}
},
"required": [
"program",
"preview_token"
],
"title": "apply_v2_cube_write_scope_transitionArguments",
"type": "object"
}
Application router
Apply one reviewed domain-neutral cube write-scope transition.
- Required arguments
workspace_id,application_id,program,preview_token- Optional arguments
- None
{
"workspace_id": "{{workspace_id}}",
"application_id": "operating-cube",
"program": {
"languageVersion": 2,
"function": "cube.write.scope.lock",
"arguments": {
"scopeMembers": {
"Entity": "PointA"
},
"scopeAll": false,
"reason": "Isolated training lock",
"idempotencyKey": "docs-example-0001"
}
},
"preview_token": "{{preview_token}}"
}
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"
},
"preview_token": {
"title": "Preview Token",
"type": "string"
}
},
"required": [
"workspace_id",
"application_id",
"program",
"preview_token"
],
"title": "apply_v2_cube_write_scope_transitionArguments",
"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.