Validate a forge request's shape against the rules that dominate
cheap-tier failures. Every violation is reported at once (no
short-circuit) so the caller can build one comprehensive error
message to show the LLM.
Rules enforced:
inputSchema.properties must declare at least one field.
outputSchema.properties must declare at least one field.
testCases must have at least 2 entries.
Every testCase must have a non-empty input object.
Validate a forge request's shape against the rules that dominate cheap-tier failures. Every violation is reported at once (no short-circuit) so the caller can build one comprehensive error message to show the LLM.
Rules enforced:
inputSchema.propertiesmust declare at least one field.outputSchema.propertiesmust declare at least one field.testCasesmust have at least 2 entries.inputobject.