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)
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 |