Interface: ActionSpec
Defined in: control.ts:92
An action: a registered verb the app exposes.
Properties
description?
optionaldescription?:string
Defined in: control.ts:99
Human description — compiler-lifted from the doc comment, or explicit.
inputSchema?
optionalinputSchema?:Record<string,unknown>
Defined in: control.ts:105
Real JSON Schema for the arguments, when the loose form isn't enough.
loc?
optionalloc?:string
Defined in: control.ts:101
Definition site "file:line" — compiler-injected.
name?
optionalname?:string
Defined in: control.ts:94
Identity — same rules as a control's name.
params?
optionalparams?:Record<string,string>
Defined in: control.ts:103
Human/agent-readable parameter docs (WebMCP-style loose schema).
run
run: (
args?) =>unknown
Defined in: control.ts:107
The implementation.
Parameters
args?
Record<string, unknown>
Returns
unknown
scope?
optionalscope?:Scope
Defined in: control.ts:97
Instance qualifier (see ControlSpec.scope): the registered name — and so the derived agent tool — becomes <scope>/<name>.