Allow a tool for an agent
This guide gives an agent the tools it needs, either by granting what it asks for or by setting one cell. An agent starts with nothing: every tool is off until you allow it. It assumes an agent in agents/<name>/agent.md (see Automations).
Grant what the agent asks for
An agent names the tools it wants in the tools: line of its file. Asking gives it nothing.
---
when: "0 7 * * *"
tools: [http_read, file_write]
---
Every morning, read the departures and write them to notes/departures.md.- In the app, open Permissions, tap Others and choose the agent.
- Its column starts with an amber row, digest asks for 2 tools. Tap Review.
- Each requested tool has an Allow, Ask, Off switch, set to what accepting proposes. Change a line if you want less.
- Tap Grant these.


What accepting proposes is what an unwatched run would get: allow for tools that act on nothing outside the workspace (file_read, time_now, work_create), ask for anything that reaches a host, a path, a recipient or a server. An agent on a schedule turns an ask into a draft for you to review (Review a draft). To let it read your hosts without a draft, allow those hosts as below.
From the terminal, on the daemon's machine:
nocturn agent show digest # what it asks for, beside its column
nocturn agent accept digest # grant it, replacing those cells
nocturn reload # a running daemon picks it upAllow one target for an agent
A tool with targets (a host, a path, a recipient, an SSH command) is allowed per target. Allow on the tool itself covers no target.
- In Permissions, open the tool, for example
http_read. - Tap Add a host and type the pattern, such as
*.home.example. Under Gets, choose the agent and allow. - Or, on an existing pattern's page, switch to the Agents tab and set the agent's switch to Allow.
From the terminal:
nocturn perms set agent:digest http_read '*.home.example' allow --reload--reload tells the running daemon at once. Without it, run nocturn reload later.
Allow a tool for a paired device
A device that calls tools, such as an MCP client, also starts with nothing. Give it tools by name:
nocturn remote allow claude-desktop file_read http_read --reload
nocturn remote show claude-desktopEach tool gets the cell an unwatched caller gets; a tool of an MCP server or a plugin gets ask.
Related
- Permission reference
- Built-in tools: what accepting proposes for each tool
nocturn agentandnocturn perms