set_matrix_data
Writes a 2D numeric grid into a matrix by providing a matrix book name and a JSON array of equal-length rows.
Instructions
Write a 2D numeric grid into a matrix.
Args: book_name: Matrix book name data: JSON array of equal-length rows, e.g. [[1,2,3],[4,5,6]]
Returns: Success message
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": {
"book_name": "<book_name>",
"data": "<data>"
},
"name": "set_matrix_data"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| book_name | Yes | ||
| data | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |