Skip to main content
The write_tools parameter accepts a list of tools that replace the default write toolkit. Pass a pre-configured toolkit with specific operations disabled, or pass completely custom tools.
write_tools_restriction.py

Run the Example

1

Set up your virtual environment

2

Install dependencies

3

Export environment variables

4

Run the example

Save the code above as write_tools_restriction.py, then run:
Full source: cookbook/12_context/25_write_tools_restriction.py