gen_check_credit_budget
Check estimated credits against a session's Tripo budget before generating, then confirm or reserve spend to prevent exceeding the limit.
Instructions
Guard a Tripo spend against the per-session credit budget.
KB: see knowledge_base/31_GENERATIVE_CONTENT_PIPELINE.md#cost-guard Example: gen_check_credit_budget(estimated_credits=120, session_name="demo", operation="text_to_model", confirm_spend=True, reserve_credits=True)
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": {
"estimated_credits": "<estimated_credits>"
},
"name": "gen_check_credit_budget"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| operation | No | tripo_generation | |
| session_name | No | default | |
| confirm_spend | No | ||
| reserve_credits | No | ||
| estimated_credits | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |