MCP tools

The AirBuild MCP tool that changes an Agent's profile: its name, role, bio, persona, instructions or model.

update_agent changes an Agent’s profile: its name, role, bio, persona, instructions or model. Send only what changes. A field left out stays as it is; null returns it to its template’s. Renaming an Agent renames its direct messages too. The @ handle (agentId) cannot be changed, and this tool does not turn an Agent on or off or make it the host: those are done in the app. Its photo is set with start_picture_upload. Any person on the Team can call it.

Read-only Destructive Idempotent
No No Yes

Inputs

Give at least one field besides teamId and agentId.

Input Type Required Default What it does
teamId string (UUID) Yes — The Team, from list_teams
agentId string Yes — The Agent, from list_team_members
displayName string or null No unchanged Its name; null returns to the template’s
role string or null No unchanged One line: what it does on the Team
bio string or null No unchanged What it looks after; the Team uses it to decide who takes a message
persona string or null No unchanged How it speaks
rolePrompt string or null No unchanged Its instructions
replyRegister general, professional or null No — Retired: accepted, changes nothing
model string No unchanged A model id from list_models, or default to follow the Team’s default

Result

Field What
agent The Agent after the change, with the fields of list_team_members: agentId, name, template, role, bio, persona, rolePrompt, model, replyRegister, host, enabled
{
  "agent": {
    "agentId": "designer",
    "name": "Designer",
    "template": "designer",
    "role": "Designs the app's screens and icons",
    "bio": "Layout, icons and colors.",
    "persona": null,
    "rolePrompt": null,
    "model": "<model id>",
    "replyRegister": null,
    "host": false,
    "enabled": true
  }
}

Errors

Italic words stand for the values in the sentence.

Message When What to do
Give at least one field to change. Only teamId and agentId were sent Send a field to change
field must be text or null. A profile field is neither text nor null Send text or null
Enter a value for field, or reset it to use the default. A profile field is empty or only spaces Send text, or null for the template’s
Choose a valid model and try again. model is empty, has spaces or is too long Take an id from list_models
Team member not found. No Agent on the Team has this agentId Take it from list_team_members
Team not found. The Team does not exist, or you are not in it Use a teamId from list_teams

The errors every tool can return are on Server and sign-in.

Example

{"name": "update_agent", "arguments": {"teamId": "00000000-0000-0000-0000-000000000000", "agentId": "designer", "role": "Designs the app's screens and icons"}}