Frontmatter
| id | 7500 |
| title | Simplify Description Handling in Zod Schema Generation |
| state | Closed |
| labels | enhancementai |
| assignees | tobiu |
| createdAt | Oct 15, 2025, 4:07 PM |
| updatedAt | Oct 15, 2025, 4:07 PM |
| githubUrl | https://github.com/neomjs/neo/issues/7500 |
| author | tobiu |
| commentsCount | 0 |
| parentIssue | 7477 |
| subIssues | [] |
| subIssuesCompleted | 0 |
| subIssuesTotal | 0 |
| blockedBy | [] |
| blocking | [] |
| closedAt | Oct 15, 2025, 4:07 PM |
The current implementation of
describe()calls inbuildZodSchemaFromResponseandbuildOutputZodSchemacan be simplified for better consistency and readability. This ticket aims to centralize the application of descriptions to Zod schemas.Acceptance Criteria
buildZodSchemaFromResponseis refactored to applyschema.descriptionto the generatedzodSchemaconsistently for all types.buildOutputZodSchemais refactored to ensure descriptions are applied correctly to the wrapped object fortext/plainresponses.