# Interface: NodeAction

Defined in: [packages/actions/src/index.ts:68](https://github.com/leifriksheim/minca/blob/main/actions/src/index.ts#L68)

## Properties

| Property | Modifier | Type | Description | Defined in |
| ------ | ------ | ------ | ------ | ------ |
| <a id="property-description"></a> `description` | `readonly` | `string` | One or more sentences, for a person or a model | [packages/actions/src/index.ts:74](https://github.com/leifriksheim/minca/blob/main/actions/src/index.ts#L74) |
| <a id="property-destructive"></a> `destructive?` | `readonly` | `boolean` | Removes 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](https://github.com/leifriksheim/minca/blob/main/actions/src/index.ts#L90) |
| <a id="property-input"></a> `input` | `readonly` | [`ActionSchema`](https://minca.dev/api/actions/interfaces/ActionSchema.md) | What it takes, as a JSON Schema object | [packages/actions/src/index.ts:76](https://github.com/leifriksheim/minca/blob/main/actions/src/index.ts#L76) |
| <a id="property-name"></a> `name` | `readonly` | `string` | `[a-z_]+`, so it is a valid tool name everywhere | [packages/actions/src/index.ts:70](https://github.com/leifriksheim/minca/blob/main/actions/src/index.ts#L70) |
| <a id="property-peercontent"></a> `peerContent?` | `readonly` | `boolean` | Returns 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](https://github.com/leifriksheim/minca/blob/main/actions/src/index.ts#L95) |
| <a id="property-readonly"></a> `readOnly` | `readonly` | `boolean` | Reads only. Agents may run these without asking; everything else changes data. Default false. | [packages/actions/src/index.ts:78](https://github.com/leifriksheim/minca/blob/main/actions/src/index.ts#L78) |
| <a id="property-run"></a> `run` | `readonly` | (`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](https://github.com/leifriksheim/minca/blob/main/actions/src/index.ts#L97) |
| <a id="property-sensitive"></a> `sensitive?` | `readonly` | `boolean` | Returns 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](https://github.com/leifriksheim/minca/blob/main/actions/src/index.ts#L84) |
| <a id="property-title"></a> `title` | `readonly` | `string` | A few words for people: what a client shows when it asks before running it | [packages/actions/src/index.ts:72](https://github.com/leifriksheim/minca/blob/main/actions/src/index.ts#L72) |
