copy_to_clipboard
Run a DAX query and copy the full result to the system clipboard as TSV for Excel or Markdown, returning a row count and preview.
Instructions
Run a DAX query and copy the full result to the system clipboard.
Use format="tsv" (default) to paste into Excel, or format="markdown" for a markdown table. Returns a JSON summary with row_count and a short preview.
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": {
"connection_name": "<connection_name>",
"query": "<query>"
},
"name": "copy_to_clipboard"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | ||
| format | No | tsv | |
| max_rows | No | ||
| connection_name | Yes | ||
| connections_dir | No | Connections |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |