tascan_evidence_policy
Read or author a task's evidence policy (protocol v0.2 V9b, GET|PUT /evidence/policy/:task_id — one route, two methods, so one tool). action=get evaluates the pinned policy against the evidence ledger so far: whether it is usable and satisfied, and its progress (read tier). action=set authors/updates a policy in your org's namespace when definition is given (definition.require is a non-empty array of requirement objects; definition.min_count, when set, must be an integer from 1 through definition.require.length) or, when definition is omitted, pins the task to an existing active policy_id (write tier).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | get = GET (evaluate, read tier). set = PUT (author/pin, write tier). | |
| task_id | Yes | Task ID (UUID) in your organization. | |
| version | No | action=set only: optional version for a new/updated policy definition (default 1). Ignored when only pinning an existing policy. | |
| policy_id | No | action=set only, required: lowercase letters/digits/underscore/dot, starting with a letter, up to 80 chars, e.g. loto_v1. | |
| definition | No | action=set only, optional: policy definition to create or update — require (array, required), min_count, window, any_of, allow_fallback. Omit to pin the task to the existing active policy_id instead. |