dbe2995df4
The sanitizeSchemaForGoogle function was incorrectly stripping property names like "pattern" and "format" from tool schemas because they matched JSON Schema keywords in UNSUPPORTED_SCHEMA_FIELDS. This caused errors like "required fields ['pattern'] are not defined in the schema properties" when using tools like grep/find with Google's Cloud Code Assist API. Modified the sanitization to track when processing inside a "properties" object, only stripping schema keywords at the schema level, not when they appear as property names.