propose_add_task
Propose a new async task definition for AimDB, defining input/output records and task type, so users can review it before resolution.
Instructions
Propose adding a new task definition. Tasks are async functions that produce, transform, or consume record data. Present the proposal to the user before calling resolve_proposal.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | snake_case task function name, e.g. "sensor_polling_task" | |
| inputs | No | Records this task reads from | |
| outputs | No | Records this task writes to | |
| task_type | No | Functional role: source (autonomous producer writing to a record), transform (reactive derivation from input records to output record), tap (read-only observer, no output records), agent (LLM reasoning loop). Default: transform | |
| description | Yes | Human-readable description of the proposal shown to the user |