# Set or change the growth goal

> Start the account's growth goal after the user agreed to it (one active goal at a time), or change or close the active one (goalId with status DONE or DROPPED, or a new target, length or commitments). followers is the follower count to reach; impressions, replies_received and posts count what happens inside the window; engagement_rate is a percent. Xholic tracks it in every session's brief and grades it when it closes. It posts nothing. Call it only when the user agreed in this conversation; never on your own initiative.

`mentor.set_goal` · write

- **MCP tool:** `set_growth_goal`. Loaded by default in MCP clients.
- **REST:** `POST /v1/mentor/set-goal`
- **CLI:** `xholic mentor set-goal`
- **Scope:** `write`
- **Plan:** Every plan, including the trial
- **Cost:** Free.
- **Rate limit bucket:** `write`

## Input

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `goalId` | string (uuid) | No | The active goal to change or close. Leave out to start a new goal. |
| `status` | "DONE" \\| "DROPPED" | No | Close the active goal: DONE grades it now, DROPPED abandons it. |
| `metric` | "followers" \\| "impressions" \\| "replies_received" \\| "engagement_rate" \\| "posts" | No | Required for a new goal. |
| `target` | number 0–100000000 | No | Required for a new goal: a follower count (18), a total (2000) or a percent (4). |
| `days` | integer 3–31 | No | How long it runs (default 7). |
| `startsAt` | string (date-time) | No | When it starts (default now), at most a week ahead. |
| `commitments` | object | No | What the user agreed to do; defaults to the proposal's. |
| `commitments.postsPerDay` | number 0–10 | No | Original posts a day the user agreed to. |
| `commitments.repliesPerDay` | integer 0–100 | No | Replies a day the user agreed to. |
| `commitments.other` | array of string ≤ 160 chars (max 4) | No | Anything else the user agreed to, in their words. |
| `note` | string ≤ 500 chars | No | Why this goal, in the user's words. |
| `account` | string ≤ 64 chars | No | X account to act on, as @handle. Leave it out to use the connection's default account. |
| `dryRun` | boolean | No | Return exactly what would happen without doing it. |
| `idempotencyKey` | string ≤ 200 chars | No | A unique key for this write. Repeating a call with the same key returns the first result instead of acting twice. |
