| from __future__ import annotations | |
| from typing import Any | |
| SCHEMA: dict[str, Any] = { | |
| "type": "function", | |
| "function": { | |
| "name": "think", | |
| "description": ( | |
| "Use this tool as a private scratchpad to reason step by step before " | |
| "taking other actions. Record hypotheses, summarize evidence, plan " | |
| "next steps, or note uncertainties. Do not use it for final " | |
| "user-facing output." | |
| ), | |
| "parameters": { | |
| "type": "object", | |
| "properties": { | |
| "thought": { | |
| "type": "string", | |
| "description": ( | |
| "Internal reasoning notes, intermediate analysis, " | |
| "assumptions, and next-step planning." | |
| ), | |
| }, | |
| }, | |
| "required": ["thought"], | |
| }, | |
| }, | |
| } | |