Generate a weapon (Meshy)
gripforge_generate_weaponCREATE a game-ready weapon GLB (knife, gun, sword…) and save it to Library as kind=weapon. Default provider Meshy, no T-pose, no biped rig. polycount defaults to 4000. style=melee|gun is written to meta.style for gripforge_attach. 10 credits. Returns a persistent job_id; poll gripforge_generation_read. Do NOT write one-off Meshy scripts.
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": {
"prompt": "<prompt>"
},
"name": "gripforge_generate_weapon"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Library name (default: prompt) | |
| style | No | Grip style for attach (inferred if omitted) | |
| engine | No | GPU engine, only with provider gpu: hunyuan (Hunyuan3D 2.1, shape then paint) or trellis2 (TRELLIS.2). Server default GRIPFORGE_GPU_ENGINE, else hunyuan. | |
| prompt | Yes | e.g. "tactical combat knife, silver blade, black grip". Up to 2000 characters: the on-demand GPU (provider gpu) always takes them; another provider refuses a text over its own limit with the error prompt_too_long_for_provider. | |
| provider | No | Default meshy (or the server default). gpu = our rented GPU: Hunyuan3D 2.1 (default engine) or TRELLIS.2 image-to-3D, then the game-ready chain (shape gate, normalisation, decimation, normal + AO bake from the high-poly, collider for props/weapons, meta.gameReady verdict); text-only first makes a concept image; no Tripo/Meshy spend. The server default can be gpu (GRIPFORGE_FORGE_DEFAULT=gpu|meshy). | |
| polycount | No | Target triangles (default 4000) | |
| idempotency_key | No | Stable key per asset role. Reuse after an uncertain response to avoid duplicate paid jobs. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| job | No | ||
| item | No | ||
| notes | No | ||
| stage | No | ||
| job_id | No | ||
| status | No | ||
| provider | No | ||
| status_url | No | ||
| studio_url | No | ||
| library_url | No |