rosh_publish
Compile and publish Rosh programs to rosh.cloud, generating a public URL. Supports web, Phaser, and Three.js targets.
Instructions
Compile and publish a Rosh program to rosh.cloud. Requires API key with write scope.
The published program gets a public URL at https://rosh.cloud/p/{username}/{slug}
Args: title: Display title for the program slug: URL-safe identifier (lowercase, hyphens only, e.g. "space-shooter") code: Rosh source code target: Target platform — "web", "phaser", or "threejs" description: One-line description of what the program does
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": {
"title": "<title>",
"slug": "<slug>",
"code": "<code>"
},
"name": "rosh_publish"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| title | Yes | ||
| slug | Yes | ||
| code | Yes | ||
| target | No | web | |
| description | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |