Read only
Inspect current state, constraints, and audit events without changing proposals or active load.
- get_load_state
- get_package_constraints
- get_action_ledger
WebMCP
The page registers a small capability surface through document.modelContext. The agent gets structured planning tools, but approval authority remains outside WebMCP and is enforced server-side.
Connected contract
7 tools
No approval tool is registered. The human approval control lives in the LoadGuard UI and records the exact staged proposal hash.
Consequence tiers
Inspect current state, constraints, and audit events without changing proposals or active load.
Create, validate, and stage proposal snapshots that remain separate from active truck state.
Request execution of an already approved proposal. The database still decides whether it is allowed.
Tool inventory
| Tool | Purpose | Consequence |
|---|---|---|
| get_load_state | Inspect truck state | READ ONLY |
| get_package_constraints | Inspect package constraints | READ ONLY |
| create_load_plan | Build candidate plan | CANDIDATE |
| validate_load_plan | Validate candidate | CANDIDATE |
| stage_load_plan | Stage immutable proposal | CANDIDATE |
| commit_load_plan | Apply approved proposal | OPERATIONAL |
| get_action_ledger | Inspect audit events | READ ONLY |
Contract
commit_load_plan({
"proposal_id": "PLAN_PROPOSAL_UUID"
})commit_load_plan({
"coordinates": "...",
"approval": true,
"force": true
})This asymmetry is deliberate. The agent can ask for execution, but the application and database verify whether the operator already authorized that exact staged plan.
Expected responses
{
"ok": false,
"code": "APPROVAL_REQUIRED",
"status": "STAGED"
}{
"ok": true,
"status": "EXECUTED",
"state_revision": 2
}{
"ok": false,
"code": "ALREADY_EXECUTED",
"status": "EXECUTED"
}