spell_facts
Retrieve SRD 5.2.1 spell details: casting time, range, components, duration, and concentration. Optionally compute expiration from a cast time.
Instructions
Machine-readable facts for a registered SRD 5.2.1 spell: casting_time, range, components, duration, concentration (bool). Optional caller blank cast_at (a number on the CALLER'S clock) adds expires_at = cast_at + duration as pure arithmetic; non-fixed durations return expires_at null. srdcheck holds no state and no clock. Unknown spell name -> exit 2.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | registered spell name | |
| cast_at | No | caller clock value at cast time (any unit-consistent number, e.g. epoch seconds) | |
| request_id | No | ||
| table_policy | No | ||
| asserted_facts | No | ||
| policy_context | No | ||
| table_decision | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| why | Yes | ||
| data | No | ||
| facts | Yes | ||
| adapter | Yes | ||
| verdict | Yes | ||
| rule_ids | Yes | ||
| citations | Yes | ||
| exit_code | Yes | ||
| assumptions | Yes | ||
| explanation | Yes | ||
| rule_result | Yes | ||
| checked_scope | Yes | ||
| coverage_level | Yes | ||
| state_mutation | Yes | ||
| table_decision | Yes | ||
| unchecked_scope | Yes |