Inspect a template
get_templateInspect a visible template without creating a project. Start with only templateId. Choose a source page from screenshots[].id, then pass that ID as screenshotId to read its compact element IDs and types. Use the source IDs with add_project_screenshot or apply_screenshot_layout. Cloned project pages have different IDs. Follow page.nextCursor with the same selectors until null.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"templateId": "<templateId>"
},
"name": "get_template"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| cursor | No | ||
| templateId | Yes | ||
| screenshotId | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | Yes | ||
| elements | Yes | ||
| revision | Yes | ||
| template | Yes | ||
| screenshots | Yes | ||
| revisionHash | Yes |