Skip to content

Interface: RegisteredAction

Defined in: control.ts:111

One registered action (spec with identity resolved; scope as its name).

Extends

Properties

description?

optional description?: string

Defined in: control.ts:99

Human description — compiler-lifted from the doc comment, or explicit.

Inherited from

ActionSpec.description


inputSchema?

optional inputSchema?: Record<string, unknown>

Defined in: control.ts:105

Real JSON Schema for the arguments, when the loose form isn't enough.

Inherited from

ActionSpec.inputSchema


loc?

optional loc?: string

Defined in: control.ts:101

Definition site "file:line" — compiler-injected.

Inherited from

ActionSpec.loc


name

name: string

Defined in: control.ts:112


params?

optional params?: Record<string, string>

Defined in: control.ts:103

Human/agent-readable parameter docs (WebMCP-style loose schema).

Inherited from

ActionSpec.params


run

run: (args?) => unknown

Defined in: control.ts:107

The implementation.

Parameters

args?

Record<string, unknown>

Returns

unknown

Inherited from

ActionSpec.run


scope?

optional scope?: string

Defined in: control.ts:113