Skip to main content
View as Markdown

Function: addAgentToDomain()

addAgentToDomain(directory): (id, agent, version?) => Promise<void>

Defined in: domains.ts:402

Add an agent to a domain by its id.

Optionally specify a version to add the agent to a specific version of the domain.

Parameters

ParameterType
directorystring

Returns

Function

Parameters

ParameterType
idstring
agent{ id: string; version: string; }
agent.idstring
agent.version?string
version?string

Returns

Promise<void>