Approve a pending action
approve_actionRecord a HUMAN's approval of a proposed action.
This writes an audit record naming who approved what, and when. It does NOT execute the
action: TWMD has no order or funds path, by design. Execution, if any, happens elsewhere and
is performed by a person.
Args:
action_id: from `list_pending_actions` or a report's `proposed_actions`.
approver: who is approving. Required — an unattributed approval is not an approval.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| approver | Yes | ||
| action_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| hint | No | ||
| error | No | ||
| reason | No | ||
| status | No | ||
| blocked | No | ||
| executed | No | ||
| action_id | No | ||
| approved_at | No | ||
| approved_by | No | ||
| execution_note | No | ||
| not_investment_advice | No |