u
This commit is contained in:
@@ -11,10 +11,7 @@ import * as db from '../db/company.js';
|
||||
export function createApiSuggestionsOrIssuesTool({ googleAuthId, companyId }) {
|
||||
return defineTool({
|
||||
name: 'apisuggestionsorissues',
|
||||
description:
|
||||
'Report a missing API endpoint, feature request, bug, or general issue. ' +
|
||||
'The report is recorded in the company history table for review by the triage agent. ' +
|
||||
'Provide a clear description of the missing functionality or issue.',
|
||||
description: 'Report missing API endpoint, feature request, bug, or issue for triage.',
|
||||
strict: false,
|
||||
parameters: {
|
||||
type: 'object',
|
||||
@@ -23,16 +20,16 @@ export function createApiSuggestionsOrIssuesTool({ googleAuthId, companyId }) {
|
||||
properties: {
|
||||
text: {
|
||||
type: 'string',
|
||||
description: 'Detailed description of the missing API, bug, or issue.',
|
||||
description: 'Issue or request details.',
|
||||
},
|
||||
type: {
|
||||
type: 'string',
|
||||
enum: ['missing_api', 'bug', 'suggestion', 'issue', 'other'],
|
||||
description: 'Category/type of the report.',
|
||||
description: 'Report category.',
|
||||
},
|
||||
title: {
|
||||
type: 'string',
|
||||
description: 'Optional short summary or title.',
|
||||
description: 'Short summary.',
|
||||
},
|
||||
},
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user