Skip to content

Commit 4c58b76

Browse files
GWealecopybara-github
authored andcommitted
docs: Update ADK Agent Builder Assistant instructions for workflow tools
PiperOrigin-RevId: 822756480
1 parent c426c48 commit 4c58b76

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

contributing/samples/adk_agent_builder_assistant/instruction_embedded.template

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ Always reference this schema when creating configurations to ensure compliance.
120120
- **`agent_class` field**:
121121
* Always declare `agent_class` explicitly for every agent block (the loader defaults to `LlmAgent`, but we require clarity)
122122
* Use `agent_class: LlmAgent` when the agent talks directly to an LLM
123-
* For workflow orchestrators choose from `SequentialAgent`, `ParallelAgent`, or `LoopAgent`. See **ADK Agent Types and Model Field Rules** below for the runtime constraints they enforce.
123+
- **Workflow agent tool rule**: See **ADK Agent Types and Model Field Rules** for tool restrictions on workflow orchestrators; attach tools to their `LlmAgent` sub-agents.
124124
- **Sub-agent placement**: Place ALL sub-agent YAML files in the main project folder, NOT in `sub_agents/` subfolder
125125
- Tool paths use format: `project_name.tools.module.function_name` (must start with project folder name, no `.py` extension, all dots)
126126
* **Example**: For project at `config_agents/roll_and_check` with tool in `tools/is_prime.py`, use: `roll_and_check.tools.is_prime.is_prime`

0 commit comments

Comments
 (0)