feat(forms): Add batch_update_form tool for Google Forms API

Add batch_update_form MCP tool that exposes the Google Forms
batchUpdate API endpoint. Supports createItem, updateItem,
deleteItem, moveItem, updateFormInfo, and updateSettings operations.

Includes _batch_update_form_impl internal function for testability
and 6 unit tests covering multiple requests, single request, empty
replies, missing replies key, URL generation, and mixed reply types.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
Ugo Anomelechi
2026-01-27 16:47:47 +00:00
parent af17085509
commit 134cffc88e
3 changed files with 326 additions and 1 deletions

0
tests/gforms/__init__.py Normal file
View File