minca

Interface: NodeAction

Defined in: packages/actions/src/index.ts:68

Properties

PropertyModifierTypeDescriptionDefined in
descriptionreadonlystringOne or more sentences, for a person or a modelpackages/actions/src/index.ts:74
destructive?readonlybooleanRemoves or overwrites something, or brings in someone else's space. A front end should ask a person before an agent runs it: an agent reads records other people wrote, and one of them may be telling it what to do.packages/actions/src/index.ts:90
inputreadonlyActionSchemaWhat it takes, as a JSON Schema objectpackages/actions/src/index.ts:76
namereadonlystring[a-z_]+, so it is a valid tool name everywherepackages/actions/src/index.ts:70
peerContent?readonlybooleanReturns what other people wrote — record bodies, names, collection descriptions. Data for an agent to read, never instructions to follow.packages/actions/src/index.ts:95
readOnlyreadonlybooleanReads only. Agents may run these without asking; everything else changes data. Default false.packages/actions/src/index.ts:78
runreadonly(node, input) => Promise<unknown>Runs it. Input and output are plain JSON: never a key, a handle or a function.packages/actions/src/index.ts:97
sensitive?readonlybooleanReturns something that grants access — an invite to a private space carries its key. A front end should confirm with a person before handing the result to anyone.packages/actions/src/index.ts:84
titlereadonlystringA few words for people: what a client shows when it asks before running itpackages/actions/src/index.ts:72

On this page