Skip to content

Interface: PackDefinition

Deprecated

Use ComponentVersionDefinition.

The legacy complete definition of a Pack including un-versioned metadata. This should only be used by legacy pack implementations.

Extends

Properties

agent?

optional agent: AgentDefinition

The agent this pack defines. Create it with sdk.newAgent().

Inherited from

PackVersionDefinition.agent


benchInitializationSkill?

optional benchInitializationSkill: Partial<Skill>

The skill used when the agent is first initialized in the bench. All fields are optional - omitted fields will use defaults at runtime.

Deprecated

No longer used, now that agents are connectors.

Inherited from

PackVersionDefinition.benchInitializationSkill


category?

optional category: PackCategory


chatSkill?

optional chatSkill: Partial<Skill>

The skill used when chatting with the agent. All fields are optional - omitted fields will use defaults at runtime.

Example

// Override just the tools
connector.setChatSkill({
  tools: [
    { type: sdk.ToolType.Pack },
  ],
});

// Override just the prompt
connector.setChatSkill({
  prompt: "You are an expert in this pack.",
});

Deprecated

No longer used, now that agents are connectors.

Inherited from

PackVersionDefinition.chatSkill


defaultAuthentication?

optional defaultAuthentication: Authentication

If specified, the user must provide personal authentication credentials before using the pack.

Inherited from

PackVersionDefinition.defaultAuthentication


defaultRoutines?

optional defaultRoutines: AgentRoutineMetadata[]

Default routines for this agent. Add them with sdk.newAgent().addDefaultRoutine().

Inherited from

PackVersionDefinition.defaultRoutines


description

description: string


exampleImages?

optional exampleImages: string[]


exampleVideoIds?

optional exampleVideoIds: string[]


formats?

optional formats: Format[]

Definitions of this pack's column formats. See Format.

Inherited from

PackVersionDefinition.formats


formulaNamespace?

optional formulaNamespace: string

Deprecated

Inherited from

PackVersionDefinition.formulaNamespace


formulas?

optional formulas: Formula[]

Definitions of this pack's formulas. See Formula.

Note that button actions are also defined here. Buttons are simply formulas with isAction: true.

Inherited from

PackVersionDefinition.formulas


id

id: number


isSystem?

optional isSystem: boolean

Whether this is a pack that will be used internally and not exposed directly to users.


logoPath

logoPath: string


mcpServers?

optional mcpServers: MCPServer[]

Definitions of MCP servers that this pack can connect to.

Inherited from

PackVersionDefinition.mcpServers


minimumFeatureSet?

optional minimumFeatureSet: FeatureSet


name

name: string


networkDomains?

optional networkDomains: string[]

Any domain(s) to which this pack makes fetcher requests. The domains this pack connects to must be declared up front here, both to clearly communicate to users what a pack is capable of connecting to, and for security reasons. These network domains are enforced at execution time: any fetcher request to a domain not listed here will be rejected.

Only one network domain is allowed by default. If your pack has needs to connect to multiple domains contact support for approval.

Inherited from

PackVersionDefinition.networkDomains


permissionsDescription?

optional permissionsDescription: string


quotas?

optional quotas: Partial<{ Basic: Quota; Enterprise: Quota; Pro: Quota; Team: Quota; }>


rateLimits?

optional rateLimits: RateLimits


shortDescription

shortDescription: string


skillEntrypoints?

optional skillEntrypoints: SkillEntrypoints

Mapping of skills to entrypoints that the agent can be invoked from.

Deprecated

No longer used, now that agents are connectors.

Inherited from

PackVersionDefinition.skillEntrypoints


skills?

optional skills: Skill[]

Definitions of skills that can be executed within this pack.

Deprecated

Skills are no longer used. Connectors should not set tools.

Inherited from

PackVersionDefinition.skills


suggestedPrompts?

optional suggestedPrompts: SuggestedPrompt[]

Static suggested prompts that appear when the agent is opened in chat. Set them with addSuggestedPrompt() on an agent. Connectors no longer use this field.

Inherited from

PackVersionDefinition.suggestedPrompts


syncTables?

optional syncTables: SyncTable[]

Definitions of this pack's sync tables. See SyncTable.

Inherited from

PackVersionDefinition.syncTables


systemConnectionAuthentication?

optional systemConnectionAuthentication: SystemAuthentication

If specified, this pack requires system credentials to be set up via the admin console in order to work when no explicit connection is specified by the user.

Inherited from

PackVersionDefinition.systemConnectionAuthentication


version

version: string

The semantic version of the pack. This must be valid semantic version of the form 1, 1.2, or 1.2.3. When uploading a pack version, the semantic version must be greater than any previously uploaded version.

Inherited from

PackVersionDefinition.version