Lessons actions
2 actions. Every field marked Required must be sent; account, dryRun, idempotencyKey, confirmCredits and quoteId are the control fields every surface adds.
What works for me
Section titled “What works for me”lessons.list · read
What has worked on X for this account, by post format, judged against its own normal: each lesson’s strength (being tested, early sign, seems to work, works consistently), its tries and evidence posts. Niche lessons come from similar accounts until the account has its own. Use them as evidence when choosing a format; never as rules. Each lesson judges the account’s own judged posts on one metric for that format (e.g. replies or engagement vs its normal), so it can differ from whats_working (views per format over a period) and idea_material (why people respond, across formats): different measures, not a contradiction.
- MCP tool:
whats_worked_for_me. Loaded by default in MCP clients. - REST:
GET /v1/lessons/list - CLI:
xholic lessons list - Scope:
read - Plan: Every plan, including the trial
- Cost: Free.
- Rate limit bucket:
read
Input
| Field | Type | Required | Description |
|---|---|---|---|
account |
string ≤ 64 chars | No | X account to act on, as @handle. Leave it out to use the connection’s default account. |
note |
string ≤ 20000 chars | No | Optional, on any tool: one or two sentences for Xholic’s shared memory about what the user just decided, asked for or said about themselves or their plans (e.g. “Dropping threads for now; focusing on replies to founders”). Every AI the user connects reads it, so they never repeat themselves. In your words, never other people’s posts. Leave it out when nothing new was said. |
Rate a lesson
Section titled “Rate a lesson”lessons.feedback · write
Record the user’s answer on a lesson: CONFIRMED (“that’s right”) or REJECTED (“that’s wrong”; Xholic stops using it). Only with the user’s own answer.
- MCP tool:
rate_lesson. Loaded by default in MCP clients. - REST:
POST /v1/lessons/feedback - CLI:
xholic lessons feedback - Scope:
write - Plan: Every plan, including the trial
- Cost: Free.
- Rate limit bucket:
write
Input
| Field | Type | Required | Description |
|---|---|---|---|
lessonId |
string (uuid) | Yes | The lesson id from whats_worked_for_me. |
verdict |
“CONFIRMED” \ | “REJECTED” | Yes |
account |
string ≤ 64 chars | No | X account to act on, as @handle. Leave it out to use the connection’s default account. |
note |
string ≤ 20000 chars | No | Optional, on any tool: one or two sentences for Xholic’s shared memory about what the user just decided, asked for or said about themselves or their plans (e.g. “Dropping threads for now; focusing on replies to founders”). Every AI the user connects reads it, so they never repeat themselves. In your words, never other people’s posts. Leave it out when nothing new was said. |
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. |
