Macro is a unified workspace for teams: email, chat, docs, tasks, agents, calls, and CRM — @-linked together with shared AI memory.
TypeScript agentaiai-agentsall-in-onecrmcrm-systememaillinearmcpmessagingnotesnotionofficerustslackslack-alternativestartupstartup-toolstypescriptworkspace
/**
* Generated by orval v7.21.0 🍺
* Do not edit manually.
* document_storage_service
* OpenAPI spec version: 0.1.0
*/
import type { AgentChannelScope } from './agentChannelScope';
import type { AgentMcpServers } from './agentMcpServers';
import type { UpdateAgentRequestAutoAcceptPermissions } from './updateAgentRequestAutoAcceptPermissions';
import type { UpdateAgentRequestAvatarUrl } from './updateAgentRequestAvatarUrl';
import type { UpdateAgentRequestDescription } from './updateAgentRequestDescription';
import type { UpdateAgentRequestHarnessId } from './updateAgentRequestHarnessId';
import type { UpdateAgentRequestTeamId } from './updateAgentRequestTeamId';
/**
* Request to replace the editable configuration of a persisted AI agent.
*/
export interface UpdateAgentRequest {
/** Whether the agent's sessions approve ACP permission requests without
asking. Omit to always prompt. */
auto_accept_permissions?: UpdateAgentRequestAutoAcceptPermissions;
/** Optional avatar URL or data URL. */
avatar_url?: UpdateAgentRequestAvatarUrl;
/** Selected channels. Must be non-empty only for `selected` scope. */
channel_ids?: string[];
/** Whether the agent is global or channel-specific. */
channel_scope: AgentChannelScope;
/** Model selected specifically for this agent. */
default_model: string;
/** Optional description. */
description?: UpdateAgentRequestDescription;
/** Stable `@` handle. */
handle: string;
/** Harness used to run the agent. */
harness: string;
harness_id?: UpdateAgentRequestHarnessId;
/** Instructions supplied to the agent at the start of a conversation. */
instructions: string;
/** Whether the agent is a coding agent: a mention is answered with a magic
chip into its live session (`true`) or a reply in the thread (`false`). */
is_coding: boolean;
/** Which MCP servers sessions of this agent are handed. */
mcp?: AgentMcpServers;
/** Display name. */
name: string;
/** Team owner. Omit to make the agent private to the caller. */
team_id?: UpdateAgentRequestTeamId;
}