Skip to main content

AiModDefinition

interface

The AI slot of a mod: what the agent can be, and what it can call.

interface AiModDefinition

Import

import { AiModDefinition } from '@modular/sdk';

Members2

agentsoptional
readonly Agent[]

Named agent configurations, callable as `<extensionId>/<name>`.

toolsoptional
readonly ToolContribution[]

Capabilities the model may invoke during a turn, built with `tool`.