const explorer = await api.agents.subagents.get("explore");
console.log(explorer.description);
console.log(explorer.tools); // ["read", "list", "glob", …] or null
console.log(explorer.model); // "gemini-3.5-flash" or null
console.log(explorer.content); // its instructionsexplorer = api.agents.subagents.get("explore")
print(explorer["description"])
print(explorer.get("tools")) # ["read", "list", "glob", …] or None
print(explorer.get("model")) # "gemini-3.5-flash" or None
print(explorer["content"]) # its instructionsnull means inherit
| Field | null means |
|---|---|
tools | The parent agent's selection |
model | The parent agent's model |
A file that names a model of another family — or writes inherit — comes back as null rather than failing, so a file copied from elsewhere works unchanged.
The order
The account first; only a 404 falls through to the disk. Any other refusal is raised.
Subagents have no extra files
A subagent is one document. readFile() answers not_a_skill on this library.