Skip to main content

updateRemixAgent

client.agents.updateRemixAgent(name: string, data: RemixAgent): Promise<RemixAgent>

Updates a remix agent.

Modifies the configuration of an existing remix agent.

Parameters

ParameterTypeRequiredDescription
namestringYesThe name of the remix agent to update
dataRemixAgentYesThe updated remix agent definition

Returns

Promise<RemixAgent> — A promise that resolves to the updated RemixAgent

Example

import { CodeBoltClient } from '@codebolt/clientsdk';

const client = new CodeBoltClient();

const result = await client.agents.updateRemixAgent('name', /* RemixAgent */);
console.log(result);