Load a project's screen viewer
get_project_viewCalled by Sleek's screen viewer to load a project's screens, in canvas order, with their images and the viewer's text. To read screens yourself, use list_components.
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": {
"projectId": "<projectId>"
},
"name": "get_project_view"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| runId | No | Run id from data.runId in a design result. Marks the screens that run changed. | |
| style | No | The style to read, by its letter, such as b. Defaults to the project's main style. | |
| locale | No | The host's BCP 47 locale, such as pt-BR. The viewer's text uses it when Sleek supports that language. | |
| projectId | Yes | Project id from an item's id in list_projects, or data.id in create_project. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Project name. | |
| screens | Yes | The project's screens in canvas order, up to 200. Every screen the runId run changed is listed. | |
| projectId | Yes | The project's id. | |
| runStatus | No | Status of the run named by runId, when one was given. | |
| projectUrl | Yes | Open link for the project. Share it with your user. | |
| screenCount | Yes | How many screens the project has, including any not listed. |