Follow the pattern in src/odoo_mcp/schemas.py (v1.1 typed the 10 read tools): add Pydantic response models for preview_write, validate_write, execute_approved_write, chatter_post, execute_method in tools_write.py and switch their return annotations. All payload fields Optional, extra='allow', runtime keeps returning the dict envelope. Add a marker-field assertion to tests/test_schemas.py::TYPED_READ_TOOLS-style table. Guide: docs/adding-a-tool.md.
Follow the pattern in
src/odoo_mcp/schemas.py(v1.1 typed the 10 read tools): add Pydantic response models forpreview_write,validate_write,execute_approved_write,chatter_post,execute_methodintools_write.pyand switch their return annotations. All payload fields Optional,extra='allow', runtime keeps returning the dict envelope. Add a marker-field assertion totests/test_schemas.py::TYPED_READ_TOOLS-style table. Guide: docs/adding-a-tool.md.