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.

FieldRequiredMeaning
keyYesStable id. Starts with a letter, then letters, digits, _, or -. The same key keeps the same node id across pushes.
idYesCatalogue action id, such as http_action_send-request.
nameYesName shown to the model. Max 100 characters.
inputYesPre-filled config. An empty object is allowed. Fields you leave empty are filled by the model. Do not put secrets here.
appIdNoCatalogue app id. Omitted when it is the prefix of id before _action_.
descriptionNoShown to the model. Max 1000 characters.
connectionNo{ "id": "<connection uuid>" } when the action needs an account.
tools
"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

FieldEach itemMeaning
workflows{ "slug" } or { "id" }, not bothWorkflows this agent may run.
agents{ "slug" } or { "id" }, not bothSub-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>" }.

FieldAttaches
connectionsApp connections the agent's tools may use.
knowledgeKnowledge notebooks the agent can search.
variablesWorkspace variables.

Objects

FieldAttaches
objectTypesA whole object type, such as customers.
objectsOne pinned record.

Either item may include scope, a JSON object stored on the link:

json
{ "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

FieldShapeMeaning
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.

FieldMeaning
slugSkill slug. The skill must already be installed.
enabledDefaults to true.
configurationA JSON object passed to the skill. null clears it. Do not put secrets here.
json
"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.

FieldMeaning
providerGOOGLE_DRIVE, MICROSOFT_ONEDRIVE, or LUNNOA_STORAGE.
folderIdFolder id in that provider.
folderNameLabel, max 500 characters.
connectionIdRequired for Google Drive and OneDrive. Omit it for Lunnoa storage.
knowledgeIdNotebook 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.

FieldMeaning
scopeUSER, WORKSPACE, or GLOBAL.
userIdRequired when scope is USER. An existing user.
workspaceIdRequired when scope is WORKSPACE.
maxMessagesPerHour1 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.

FieldMeaning
enabledWhether the link accepts chats.
maxMessagesPerHour1 to 1000. Default 60 on create.
expiresAtISO-8601 time, or null to clear it.
passwordProtectedtrue 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.

Related