get_snippet
Retrieve specific code snippet details from Bitbucket, including files and metadata, by providing the snippet ID.
Instructions
Get details of a specific snippet.
Args: snippet_id: Snippet ID workspace: Bitbucket workspace (optional if configured)
Returns: Snippet details including files and metadata
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": {
"snippet_id": "<snippet_id>"
},
"name": "get_snippet"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| snippet_id | Yes | ||
| workspace | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||