(marker: dict[str, Any])
| 213 | own, and so do the `tool_changes` of its compaction block, whatever `marker` is.""" |
| 214 | |
| 215 | def added_tool(marker: dict[str, Any]) -> dict[str, Any]: |
| 216 | definition: dict[str, Any] = { |
| 217 | "name": "fetch", |
| 218 | "input_schema": {"type": "object", "properties": {"cache_control": {}}}, |
| 219 | "input_examples": [{"cache_control": "no-store"}], |
| 220 | **marker, |
| 221 | } |
| 222 | return {"type": "tool_addition", "tool": {"type": "tool_definition", "definition": definition}, **marker} |
| 223 | |
| 224 | return [ |
| 225 | {"role": "user", "content": "Hello"}, |
no outgoing calls
no test coverage detected