np_transpose
Reverse or permute the axes of an array to rearrange its dimensions.
Instructions
Reverse or permute the axes of an array.
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": {
"array": "<array>"
},
"name": "np_transpose"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| array | Yes | The input array. | |
| axes | No | By default, reverse the axes. Otherwise, permute the axes. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |