validate_completion_metadata
Validates required billing metadata before run_prompt_completion to catch attribution errors before a paid call, without making changes.
Instructions
Preflight billing metadata before run_prompt_completion. Validates required fields and values without making changes, so you can catch attribution errors before paying for the call.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "validate_completion_metadata"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| app | No | App identifier (REQUIRED). Use your deployed app name, for example 'hourlink' or 'support-console'. | |
| env | No | Environment identifier (REQUIRED). Use your environment name, for example 'dev', 'staging', 'prod', or 'qa'. | |
| feature | No | Feature name for tracking | |
| client_id | No | Client ID for billing attribution | |
| project_id | No | Project ID for granular billing |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | Call succeeded | |
| data | No | Success payload | |
| error | No | Failure details |