Compare expected versus actual state — $0.001
prepare_state_deviation_purchaseBrowse the $0.001 primitive catalog. Create a purchase intent and pay only when /market.primitive_entry.paid_execution_enabled is true; otherwise paid execution is unavailable. Prepare a machine-payable x402 request. Check whether an observed state materially differs from an expected state. Compare expected versus actual system state for exact text equality or explicit boolean and configuration polarity mismatch, such as enabled versus disabled. Binary 0/1 when decidable; abstains before billing otherwise. Current deterministic scope: exact normalized text equality returns 0; true/false, yes/no, enabled/disabled, present/absent, required/not required and allowed/not allowed return 1. Other inputs abstain before billing. This is not general language interpretation, diagnosis or a similarity score.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"EXPECTED_STATE": "<EXPECTED_STATE>",
"OBSERVED_STATE": "<OBSERVED_STATE>"
},
"name": "prepare_state_deviation_purchase"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| EXPECTED_STATE | Yes | ||
| OBSERVED_STATE | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| method | Yes | ||
| endpoint | Yes | ||
| price_usd | Yes | ||
| request_body | Yes | ||
| payment_protocol | Yes | ||
| required_headers | Yes | ||
| purchase_intent_method | Yes | ||
| purchase_intent_endpoint | Yes |