Open in Pugi
open_projectUse this when the person wants to open, see or work on one of their Pugi sites or apps in Pugi itself (the full workspace: chat, live preview, files, publish, domain). Pass the project_id from a build or my_sites; without one it opens their newest project. Read-only: it builds, publishes and changes nothing.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "open_project"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| language | No | The language the person is writing in, as a BCP 47 tag such as "ru". | |
| project_id | No | The project to open, from a build or my_sites. Optional: the newest project when left out. |