NewWacht Bench is live — AI-assisted development for Wacht

setAgentRoleAgent()

Calls the corresponding backend method for this capability.

Usage

The following example shows a basic usage of the backend client from @wacht/nextjs/server.

import { wachtClient } from '@wacht/nextjs/server';export async function example() {  const client = await wachtClient();  return client.ai.setAgentRoleAgent();}

Signature

function setAgentRoleAgent(...args: unknown[]): Promise<unknown>

On this page