Converts a tool or structured-output schema declaration into the JSON Schema shape providers expect, falling back to an open object when a schema can't be represented so definitions always have some parameter shape.

## Before writing SPEC.md files

Read https://raw.githubusercontent.com/brillout/sdd/refs/heads/main/sdd.md
