UserChatSettings is a TypeScript type in the Relevance AI Node.js SDK that lets you configure the chat interface when starting or managing an agent conversation programmatically. It controls which mounts (built-in capabilities like file upload or code execution) and agent skills (other agents callable from within the conversation) are enabled or disabled.
Concepts
Mounts are named capabilities that can be attached to a chat session. Each mount maps to a feature the agent can use during a conversation — for example, accessing files, running code, or calling external services. Disabling a mount prevents the agent from using that capability in a given session. Agent skills are agents that have been configured as callable skills from within another agent’s conversation. Each skill is identified by its agent ID. You can control whether a given skill is available to the agent in a specific session.API structure
UserChatSettings takes an object where keys are mount names or agent IDs. Each value is an object with a single boolean field.
Mount format
Agent skill format
Usage examples
Enable and disable mounts
Control agent skills
Combine mounts and agent skills
Deprecated format
The old format used two separate list fields:Migrating from the old format
Migrate disabled_mounts to the new format
Migrate disabled_mounts to the new format
Old code using Equivalent new format:Mounts not listed in the new format retain their default state. If you previously relied on the absence from
disabled_mounts:disabled_mounts to mean “enabled”, explicitly set is_enabled: true for those entries to be unambiguous.Migrate disabled_skills to the new format
Migrate disabled_skills to the new format
Old code using Equivalent new format:
disabled_skills:Migrate a combined old-format config
Migrate a combined old-format config
Old code with both fields:Equivalent new format:
Related pages
SDK & API triggers
Trigger agents programmatically using the SDK or HTTP API
Conversation API
Create and continue conversations with agents via the API

