dev_deterministic_tools
Executes zero-hallucination deterministic developer calculations across four explicit modes: 'cron' (next UTC run timestamps), 'json_diff' (RFC-6902 patch ops), 'jwt' (decode header/payload & expiry without signature verification), and 'semver' (exact version sort/max). Use for exact algorithmic checks; use ai_code_security_review for code auditing or ai_reasoning_120b for open-ended reasoning. Read-only, stateless; costs $0.002 Base USDC via x402 (unpaid calls return a v2 quote challenge without charging; invalid inputs return 400 uncharged).
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": {
"mode": "<mode>"
},
"name": "dev_deterministic_tools"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | Yes | Operation mode: 'cron' (requires expression), 'json_diff' (requires before & after), 'jwt' (requires token), or 'semver' (requires versions). | |
| after | No | Target JSON value/object to compare against. Used only when mode is 'json_diff'. | |
| count | No | Number of upcoming UTC schedule timestamps to compute (1-25, default 5). Used only when mode is 'cron'. | |
| token | No | Compact JWS/JWT string ('header.payload.signature') to decode and check exp/nbf timestamps. Used only when mode is 'jwt'. | |
| before | No | Original JSON value/object to compare from. Used only when mode is 'json_diff'. | |
| versions | No | Array of SemVer version strings (e.g. ['1.10.0', '1.2.3-beta.1', '2.0.0']) to sort and inspect. Used only when mode is 'semver'. | |
| expression | No | 5-field UTC cron expression (e.g. '0 */2 * * *'). Used only when mode is 'cron'. |