Tool: explain_translation
Explains the SQL translation for a given translation ID.
The following sample demonstrate how to use curl to invoke the explain_translation MCP tool.
| Curl Request |
|---|
curl --location 'https://bigquerymigration.googleapis.com/mcp' \ --header 'content-type: application/json' \ --header 'accept: application/json, text/event-stream' \ --data '{ "method": "tools/call", "params": { "name": "explain_translation", "arguments": { // provide these details according to the tool's MCP specification } }, "jsonrpc": "2.0", "id": 1 }' |
Input Schema
Request message for ExplainTranslation.
ExplainTranslationRequest
| JSON representation |
|---|
{ "name": string } |
| Fields | |
|---|---|
name |
Required. The name of the translation to explain. Format: |
Output Schema
Response message for ExplainTranslation.
ExplainTranslationResponse
| JSON representation |
|---|
{ "explanation": string } |
| Fields | |
|---|---|
explanation |
The string that explains the translation. |
Tool Annotations
Destructive Hint: ❌ | Idempotent Hint: ✅ | Read Only Hint: ✅ | Open World Hint: ❌