Bug: page_pdf OpenRPC spec missing print params #29

Open
opened 2026-06-08 14:14:41 +00:00 by fatmaebrahim · 0 comments
Member

Description:

The page_pdf tool recently got new options like landscape, print_background, scale, and page margins. The actual code accepted these params, but the API spec file (openrpc.rs) wasn't updated to list them. So MCP clients like Claude couldn't see or use the new options — they only saw browser_id and page_id. Fixed by adding the missing params to the spec.

### Description: The page_pdf tool recently got new options like landscape, print_background, scale, and page margins. The actual code accepted these params, but the API spec file (openrpc.rs) wasn't updated to list them. So MCP clients like Claude couldn't see or use the new options — they only saw browser_id and page_id. Fixed by adding the missing params to the spec.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
lhumina_code/hero_browser#29
No description provided.