getWorkspace
Retrieve details about a Bitbucket workspace (Cloud) or project (Data Center) by slug or key, using the default when omitted. Use it to confirm workspace or project identity before repo operations.
Instructions
Get details about a Bitbucket workspace (Cloud) or project (Data Center)
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": "getWorkspace"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| workspace | No | Bitbucket workspace slug or project key (uses default if omitted) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes | Tool-specific result payload | |
| status | Yes | Whether the tool call succeeded | |
| message | Yes | Human-readable status message |