Read the policy for an effect type
ratchet_get_policyRetrieve the configured policy for an effect type, showing allowances, lease durations, attempt limits, spend caps, approval thresholds, and indeterminate outcomes. Check this before designing retries.
Instructions
Shows how this workspace has configured a given effect type: whether it is allowed, how long a lease lasts, the attempt ceiling, spend limits, the approval threshold above which an action waits for a human, and — most importantly — what happens when an attempt ends indeterminate. Check this before designing a retry strategy.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| effect_type | Yes | Namespaced kind of side effect, e.g. "email.send", "payment.charge", "github.pr.create". Policy is configured per type. |