fix: support object and array parameters in custom HTTP tools (#373)

* fix: support object and array parameters in custom HTTP tools

* feat(ui): expose object and array types in the custom tool parameter editor

* fix: error handling and schema generation

---------

Co-authored-by: Matt Van Horn <455140+mvanhorn@users.noreply.github.com>
Co-authored-by: Abhishek Kumar <abhishek@a6k.me>
This commit is contained in:
Matt Van Horn 2026-06-01 23:05:38 -07:00 committed by GitHub
parent 98d2b24cba
commit dd85c4a1b4
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
18 changed files with 308 additions and 67 deletions

View file

@ -1,6 +1,6 @@
# generated by datamodel-codegen:
# filename: dograh-openapi-DuffQq.json
# timestamp: 2026-05-31T11:41:57+00:00
# filename: dograh-openapi-rs5H7P.json
# timestamp: 2026-06-02T06:01:29+00:00
from __future__ import annotations
@ -337,6 +337,8 @@ class Type(Enum):
string = 'string'
number = 'number'
boolean = 'boolean'
object = 'object'
array = 'array'
class PresetToolParameter(BaseModel):
@ -427,6 +429,8 @@ class Type1(Enum):
string = 'string'
number = 'number'
boolean = 'boolean'
object = 'object'
array = 'array'
class ToolParameter(BaseModel):