Imsoup
05/05/2025, 8:20 AMShubham Bajaj
05/05/2025, 9:10 AMjson
{
name: 'Test Assistant',
model: {
provider: 'openai',
model: 'gpt-4',
messages: [],
tools: [
{
type: GOOGLE_CALENDAR_CHECK_AVAILABILITY_TOOL,
function: {
name: GOOGLE_CALENDAR_CHECK_AVAILABILITY_TOOL,
description: 'Calendar availability check function',
parameters: {
type: 'object',
properties: {
startDateTime: {
type: 'string',
description: customStartDateTimeDesc,
},
endDateTime: {
type: 'string',
description: 'End date time',
},
customParam: {
type: 'string',
description: 'Custom parameter that should be ignored',
},
},
required: ['startDateTime', 'endDateTime', 'customParam'],
},
},
metadata: {
calendarId: 'primary',
timeZone: 'UTC',
},
},
],
},
}Shubham Bajaj
05/05/2025, 9:11 AMImsoup
05/05/2025, 9:19 AMShubham Bajaj
05/05/2025, 11:06 AM