Set browserSettings.viewport when creating a session. Use positive integer width and height within the published schema limits.
curl -X POST "https://api.tooluse.net/v1/browsers/sessions" \
-H "Authorization: Bearer $TOOLUSE_API_KEY" \
-H "Idempotency-Key: tooluse-example-001" \
-H "Content-Type: application/json" \
-d '{"timeout":300,"browserSettings":{"viewport":{"width":1280,"height":720}}}'
The viewport applies to the remote Chromium page. Resizing your local browser window or live-view frame does not change the remote page viewport. A CDP client can change page emulation for its own automation.