| Call | Does |
|---|---|
| list() | Both sources, merged. |
| get(name) | One, with its content, tools and model. |
| save(item) | Creates or replaces — on the account. |
| remove(name) | Removes it from the account. |
With an empty library, the task tool is not declared at all. An agent that « never delegates » is usually an agent with nothing to delegate to — libraryStatus says whether that is because there is nothing, or because a source refused.
await api.agents.subagents.save({
name: "explore",
description: "Dig through files and data to answer a question, and report the facts.",
tools: ["read", "list", "glob", "grep", "search", "fetch", "query_storage", "account"],
model: "gemini-3.5-flash",
content: "Find what was asked. Quote exactly, with paths. Do not change anything.",
});api.agents.subagents.save(
name="explore",
description="Dig through files and data to answer a question, and report the facts.",
tools=["read", "list", "glob", "grep", "search", "fetch", "query_storage", "account"],
model="gemini-3.5-flash",
content="Find what was asked. Quote exactly, with paths. Do not change anything.",
)Two fields skills do not have
toolsstring[]Which tools it gets. Absent means the parent's selection.
modelstringIts own model. Absent means the parent's.
The read-only set
For an investigating subagent: read, list, glob, grep, search, fetch, query_storage, account. Everything that looks, nothing that changes.
Three tools it never gets
ask_user, todo_write and memory, whatever its file says — it cannot talk to the user, does not hold the plan, and does not change what is remembered. It gets recall instead.