rlm_task_create
Creates a hierarchical task for queue-style workflows. Use to assign work items with dependencies, deadlines, and agent affinity.
Instructions
Compatibility alias that creates a canonical HierarchicalTask N3 work item. Prefer rlm_htask_create for explicit hierarchical workflows; use this for simple queue-style task creation.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| swarm_id | Yes | ||
| agent_id | Yes | ||
| title | Yes | ||
| description | No | ||
| priority | No | Higher = more urgent | |
| deadline | No | Optional deadline (ISO 8601 format) | |
| depends_on | No | Task IDs this depends on | |
| metadata | No | ||
| for_agent_id | No | Pre-assign task to specific agent (task affinity). If set, only this agent can claim the task. Use agent's agentId string, not the DB id. |