Capabilities
Tools, links, skills, drive, and shares on a Lunnoa agent JSON file.
These fields say what the agent can use. They live on lunnoa/agents/<slug>.json. Leave a list out and push keeps what is already stored. Send a list, including [], and that list replaces what is stored.
Ids are for this deployment. Slugs are safer when the other resource is also in lunnoa/. See The agent file for identity and for what never goes in the file.
Tools
A tool is one catalogue action. Discover the id with npx @lunnoa/client tools get <actionId> --json. Do not invent it.
| Field | Required | Meaning |
|---|---|---|
key | Yes | Stable id. Starts with a letter, then letters, digits, _, or -. The same key keeps the same node id across pushes. |
id | Yes | Catalogue action id, such as http_action_send-request. |
name | Yes | Name shown to the model. Max 100 characters. |
input | Yes | Pre-filled config. An empty object is allowed. Fields you leave empty are filled by the model. Do not put secrets here. |
appId | No | Catalogue app id. Omitted when it is the prefix of id before _action_. |
description | No | Shown to the model. Max 1000 characters. |
connection | No | { "id": "<connection uuid>" } when the action needs an account. |
"tools": [
{
"key": "fetchTicket",
"id": "http_action_send-request",
"name": "Fetch ticket",
"connection": { "id": "00000000-0000-4000-8000-000000000001" },
"input": { "method": "GET", "url": "https://api.example.com/tickets" }
}
]Workflows and sub-agents
| Field | Each item | Meaning |
|---|---|---|
workflows | { "slug" } or { "id" }, not both | Workflows this agent may run. |
agents | { "slug" } or { "id" }, not both | Sub-agents. |
push sends workflow files before agent files, so a workflow slug in this file can be a file in the same folder.
Connections, knowledge, and variables
Each item is { "id": "<uuid>" }.
| Field | Attaches |
|---|---|
connections | App connections the agent's tools may use. |
knowledge | Knowledge notebooks the agent can search. |
variables | Workspace variables. |
Objects
| Field | Attaches |
|---|---|
objectTypes | A whole object type, such as customers. |
objects | One pinned record. |
Either item may include scope, a JSON object stored on the link:
{ "id": "00000000-0000-4000-8000-000000000002", "scope": { "read": true } }pull writes scope only when one is stored. push of an item without scope clears it. The agent runtime still uses one read-only rule for every linked object. The stored scope is kept so a later permission model can read it. It does not change access today.
MCP and A2A
| Field | Shape | Meaning |
|---|---|---|
mcpServers | { "id", "connectionId"? } | An MCP server. connectionId pins one user connection. Omit it and runtime uses the user's default. |
a2aAgents | { "id" } | An A2A agent the agent may call. |
Skills
skills replaces the agent's skill assignments.
| Field | Meaning |
|---|---|
slug | Skill slug. The skill must already be installed. |
enabled | Defaults to true. |
configuration | A JSON object passed to the skill. null clears it. Do not put secrets here. |
"skills": [
{ "slug": "policy-extract", "enabled": true, "configuration": { "locale": "en-GB" } }
][] removes every skill. Leaving skills out leaves them as they are. pull writes the list, including [].
Drive
drive is the working folder mounted on the agent. null removes the mount. Leaving the key out leaves the mount.
| Field | Meaning |
|---|---|
provider | GOOGLE_DRIVE, MICROSOFT_ONEDRIVE, or LUNNOA_STORAGE. |
folderId | Folder id in that provider. |
folderName | Label, max 500 characters. |
connectionId | Required for Google Drive and OneDrive. Omit it for Lunnoa storage. |
knowledgeId | Notebook created for the folder, when one exists. pull writes it. |
pull writes drive when a mount exists. A push restores that row. It does not create a new knowledge notebook if knowledgeId is missing. Mounting from the UI still creates one.
Shares
Signed-in grants
shares replaces authenticated grants. Someone with the grant can open and chat. [] removes them. The API key's user must belong to the workspace, because each new grant records who created it.
| Field | Meaning |
|---|---|
scope | USER, WORKSPACE, or GLOBAL. |
userId | Required when scope is USER. An existing user. |
workspaceId | Required when scope is WORKSPACE. |
maxMessagesPerHour | 1 to 1000. Default 60. |
One GLOBAL grant per agent. User and workspace ids are for this deployment.
Sharing stays off while any of dynamicActionDiscoveryEnabled, dynamicMcpDiscoveryEnabled, or dynamicSelfInstructionsEnabled is on. Turn those off in Runtime settings before you push grants.
Public link
publicShare updates the anonymous link. null deletes it. The token is created on the server and is not in the file. Read the link in the UI.
| Field | Meaning |
|---|---|
enabled | Whether the link accepts chats. |
maxMessagesPerHour | 1 to 1000. Default 60 on create. |
expiresAt | ISO-8601 time, or null to clear it. |
passwordProtected | true keeps the password already stored. false clears it. You cannot set a new password from the file. |
A public link also stays off while dynamic discovery or self-maintained instructions is on.