The connected workspace
get_workspaceReturn the Kalpana workspace this connection designs in, chosen when the user connected: its id, name and slug, whether its organization has an active subscription, and allowed_image_domains, the hosts an image URL may come from (subdomains included). Read-only. Call it when you need the workspace's name for the user, when a tool says a subscription or credits are missing, or before placing an image from a URL: a URL on another host is refused, so tell the user to add the domain in Workspace Settings > Domain Whitelisting, or to upload the image with upload_images. Every other tool already works in this workspace and takes no workspace id; to design in another workspace the user reconnects and chooses it.
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": "get_workspace"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||