You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When Passing the api a tool with additional properties field
when passing additional properties field in json schema
{
"name": "write_app",
"description": "submit js app project code in record of file path/name.ext",
"input_schema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"type": "object",
"properties": {
"appName": {
"type": "string",
"description": "descriptive name for the app"
},
"rootFileName": {
"type": "string",
"description": "application root file name with default export, for example: application/App.tsx"
}
},
"required": [
"appName",
"rootFileName"
],
"additionalProperties": {
"type": "object",
"properties": {
"nonTechnicalProgressDescription": {
"type": "string",
"description": "this will be shown to the user while you write the file, for example: \"creating dashboard charts\" or \"connecting to integrations\", define this field before file content"
},
"content": {
"type": "string",
"description": "file content"
}
},
"required": [
"nonTechnicalProgressDescription",
"content"
],
"additionalProperties": false
},
"description": "App configuration with files as additional properties"
}
}
When Passing the api a tool with additional properties field
when passing additional properties field in json schema
the api call tool with
nonTechnicalProgressDescription should be parsed to json insted of anthropic xml
this issue effect sdk typescript but related to api itself, opening it here because api do not have a place to report errors
The text was updated successfully, but these errors were encountered: