(inp: str)
| 705 | |
| 706 | @r.tool("read") |
| 707 | def handle_read(inp: str) -> str: |
| 708 | return f"cat {json.loads(inp)['path']}" |
| 709 | |
| 710 | print(f" @r.tool('bash') → {r.execute('bash', json.dumps({'command': 'ls'}))}") |
| 711 | print(f" @r.tool('read') → {r.execute('read', json.dumps({'path': 'a.py'}))}") |
nothing calls this directly
no outgoing calls
no test coverage detected