Create or edit an agent
agents_saveCreate an agent (no id) or edit one (with id). Setting autoPublishPosts arms publishing without human approval and needs the publish scope; everything else needs write.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | The agent id to edit; omit to create. | |
| name | No | Name, up to 60 characters. | |
| prompt | No | The standing brief, up to 4000 characters. | |
| status | No | ||
| planDays | No | Wake days, 0=Sunday. | |
| timezone | No | IANA timezone. | |
| planHours | No | Wake hours. | |
| subreddits | No | Up to 5 subreddits. | |
| connectionIds | No | Accounts to post through; null means all. | |
| monthlyCapCents | No | Monthly spend cap in cents; null = no cap. The studio shows it in credits. | |
| autoPublishPosts | No | DANGEROUS: publish with no human approval. Needs the publish scope. |