Unit test tools directly
Tools are just functions. Test them without a server:Tools using context
Tools that callget_context() require an active request. Test them via integration tests with a real server, or structure your tool to make the context-dependent part mockable:
