pcc_schedule_evaluate
Evaluate a published RateSchedule at a moment, returning the effective bps. Inputs: scheduleHash + now (unix seconds) + optional jobValueCents (piecewise-value) + optional jobsPerDay (adoption-indexed). Returns {scheduleHash, bps, segmentKind, segmentIndex}. segmentIndex=-1 + bps=0 when no segment covers the moment (silent gap).
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": {
"scheduleHash": "<scheduleHash>",
"now": "<now>"
},
"name": "pcc_schedule_evaluate"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| now | Yes | Unix seconds at evaluation moment | |
| jobsPerDay | No | Rolling 24h job count (adoption-indexed segments) | |
| scheduleHash | Yes | 0x + 64 hex schedule hash | |
| jobValueCents | No | Job value in cents (piecewise-value segments) |