Set an agent's goals
set_goalsCreate or update an agent's goals — targets on quality, speed, volume, outcomes, cost or ROI that Agent Performance tracks. Each goal: {metric, target, comparator?, period?, name?, node?, baseline_value?, notify?, id?}.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| goals | Yes | Goals to create or update (matched by id, else metric + node). | |
| replace | No | Deactivate the agent's other goals. Default false. | |
| agent_id | Yes | Target agent's id (from list_agents / create_agent / get_catalog view=agents). |