Set endpoint auth
set_endpoint_authPoint an agent's attached API endpoint at authentication BY REFERENCE (never inline secrets). Either reuse an existing AuthProfile (auth_profile_id), define one inline (auth_method+auth_config), or clear the per-agent override (use_endpoint_auth=false).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| agent_id | Yes | Target agent's id (from list_agents / create_agent / get_catalog view=agents). | |
| auth_config | No | Non-secret auth configuration for an inline profile (reference secrets, never raw credentials). | |
| auth_method | No | Auth type when defining a profile inline. | |
| endpoint_id | Yes | Id of the attached API endpoint. | |
| auth_profile_id | No | Id of an existing org AuthProfile to attach (empty string clears it). | |
| auth_profile_name | No | Optional name for an inline-created auth profile. | |
| use_endpoint_auth | No | false clears the per-agent auth override (falls back to the endpoint's own auth). |