solve
Finds rifle moves that meet all goals from the current pose, reporting each goal's best move and success rate across samples.
Instructions
Searches rifle moves from the current pose for one meeting every goal, and leaves the scene there. Reports each goal at the best move and how often it was met across samples: a goal never met is a fact of the geometry.
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": {
"dofs": "<dofs>",
"goals": "<goals>"
},
"name": "solve"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dofs | Yes | roll, swing, pitch, right, forward, up -> [min, max] | |
| goals | Yes | each {type: faces_eye|visible (point, min), on_screen (point), clearance (parts, ignore, max_cm), barrel (max_deg), distance (a, b, max_cm)} | |
| pivot | No | stock | |
| samples | No | ||
| maximize | No | a goal's index to push higher once all are met | |
| keep_hands | No | hands that keep their hold on the rifle as it moves (arm IK) |