set_time_signature
Set the time signature by specifying numerator (beats per measure) and denominator (beat unit). Optionally insert at a specific bar number.
Instructions
Set the time signature.
Args: numerator: Top number (beats per measure). Range: 1-32 denominator: Bottom number (beat unit). Common values: 2, 4, 8, 16 bar: Bar number to insert at. None = current position.
Returns: Success status
Examples: - Common time: set_time_signature(4, 4) - Waltz: set_time_signature(3, 4) - Compound duple: set_time_signature(6, 8) - Cut time: set_time_signature(2, 2)
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": {
"numerator": "<numerator>",
"denominator": "<denominator>"
},
"name": "set_time_signature"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| numerator | Yes | ||
| denominator | Yes | ||
| bar | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||