mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-09 00:38:28 +00:00
style: format gmail hooks and tools
This commit is contained in:
@@ -150,7 +150,7 @@ function normalizeToolParameters(tool: AnyAgentTool): AnyAgentTool {
|
||||
properties:
|
||||
Object.keys(mergedProperties).length > 0
|
||||
? mergedProperties
|
||||
: schema.properties ?? {},
|
||||
: (schema.properties ?? {}),
|
||||
...(mergedRequired && mergedRequired.length > 0
|
||||
? { required: mergedRequired }
|
||||
: {}),
|
||||
|
||||
Reference in New Issue
Block a user