promote_sandbox_agent
Promote a sandbox agent's tested config to its paired live agent, updating operational fields while preserving reputation and audit logs.
Instructions
Push a sandbox agent's tested config onto its paired live agent — the way a sandbox-tested change actually goes live. Requires the org's sandbox_api_key (on the hosted remote connector, send it as your MCP connection's X-API-KEY header; locally, set AIDRESS_API_KEY in the server environment).
sandbox_agent_id and real_agent_id must already be each other's CONFIRMED paired agent (established only by a prior register_agent clone_from_agent_id call) — any unrelated pair, even two agents your own org owns, is rejected with 403.
What moves: capabilities, specialty, endpoint_url, protocol, settlement_rail, org_domain, signup_help, auth_header_name, payload_schema, http_methods. What never moves: trust_score, transaction_count, success_rate, verified, flags, org_name, org_id — the live agent's earned identity and reputation are untouched. Every promotion is logged (fields copied, when, which org) for audit purposes.
Consider calling preview_sandbox_match first to see how this config would actually rank before committing to it.
Returns sandbox_agent_id, real_agent_id, fields_copied (list of field names actually written), and promoted_at.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| real_agent_id | Yes | ||
| sandbox_agent_id | Yes |