Skip to content

Commit e4215bf

Browse files
Update llm-agents.md (#627)
Co-authored-by: Joe Fernandez <[email protected]>
1 parent 42c2faa commit e4215bf

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

docs/agents/llm-agents.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -252,7 +252,6 @@ For scenarios requiring structured data exchange with an `LLM Agent`, the ADK pr
252252
* **`input_schema` (Optional):** Define a schema representing the expected input structure. If set, the user message content passed to this agent *must* be a JSON string conforming to this schema. Your instructions should guide the user or preceding agent accordingly.
253253

254254
* **`output_schema` (Optional):** Define a schema representing the desired output structure. If set, the agent's final response *must* be a JSON string conforming to this schema.
255-
* **Constraint:** Using `output_schema` enables controlled generation within the LLM but **disables the agent's ability to use tools or transfer control to other agents**. Your instructions must guide the LLM to produce JSON matching the schema directly.
256255

257256
* **`output_key` (Optional):** Provide a string key. If set, the text content of the agent's *final* response will be automatically saved to the session's state dictionary under this key. This is useful for passing results between agents or steps in a workflow.
258257
* In Python, this might look like: `session.state[output_key] = agent_response_text`

0 commit comments

Comments
 (0)