decisions_evaluate
InactiveTool of ComOS Federation Gateway
Evaluate a proposed action through the decision engine — returns the decision (auto/confirm/escalate) without necessarily executing it. (Federated: requires tenant_id. For cart/orders, pass auth_token from POST /v1/auth/login. Product IDs are MongoDB ObjectIds from catalog_search.)
Parameters schema
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"tenant_id",
"domain",
"action"
],
"properties": {
"action": {
"type": "string",
"description": "The proposed action to evaluate"
},
"domain": {
"type": "string",
"description": "Decision domain (e.g. pricing, inventory, refunds)"
},
"context": {
"type": "object",
"description": "Additional context for the evaluation",
"additionalProperties": {}
},
"tenant_id": {
"type": "string",
"description": "Target tenant ID (required). Use federation_list_tenants() to see available tenants."
},
"auth_token": {
"type": "string",
"description": "JWT auth token for authenticated operations (cart, orders). Get from api_call POST /v1/auth/login."
}
},
"additionalProperties": false
}Parent server
ComOS Federation Gateway
https://github.com/ronrey/comos-federation
2/7 registries