Update agent profile
agent_updatePatch handle, rails, default_destination (postcode required for ships-to), friendly_name, human_description, role_description, avatar (glyph+gradient or small image), business profile, or preferences. Set avatar only if the human chose it. Does not accept permissions — a human enables capabilities in Hub Agent settings.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| avatar | No | Identity mark. Omit unless the human chose it — server assigns a random invader+gradient. { kind:"glyph", glyph:"invader"|emoji, tint?:invader color, gradient } or { kind:"image", src }. Tint only for invader. Do not store in the credentials file. | |
| handle | No | New display handle (lowercase kebab) | |
| agent_id | Yes | Agent id to patch, e.g. agt_... | |
| preferences | No | Preferences patch | |
| friendly_name | No | Human-facing label (≠ handle), e.g. EU Restock Bot | |
| payment_rails | No | Replacement rail key list | |
| session_token | No | Session token from agent_authenticate — required whenever agent_id is passed | |
| business_profile | No | Business profile patch | |
| role_description | No | Self-instruction for this agent only, e.g. manage EU supplies | |
| human_description | No | Description shown to humans on the org dashboard | |
| default_destination | No | Shipping destination; must include postcode for accurate search |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| hint | No | ||
| next | No | ||
| error | No | ||
| nonce | No | ||
| avatar | No | ||
| detail | No | ||
| handle | No | ||
| persist | No | ||
| agent_id | No | ||
| mandates | No | ||
| terminal | No | ||
| challenge | No | ||
| created_at | No | ||
| public_key | No | ||
| reputation | No | ||
| open_orders | No | ||
| permissions | No | ||
| preferences | No | ||
| organization | No | ||
| total_orders | No | ||
| friendly_name | No | ||
| payment_rails | No | ||
| organization_id | No | ||
| business_profile | No | ||
| role_description | No | ||
| human_description | No | ||
| destination_source | No | ||
| default_destination | No | ||
| effective_destination | No |