mirror of
https://github.com/simstudioai/sim.git
synced 2026-01-11 07:58:06 -05:00
Compare commits
2 Commits
fix/copilo
...
fix/tool-o
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
92a08b0a33 | ||
|
|
5d3b216922 |
@@ -762,7 +762,6 @@ export const JiraBlock: BlockConfig<JiraResponse> = {
|
||||
outputs: {
|
||||
// Common outputs across all Jira operations
|
||||
ts: { type: 'string', description: 'Timestamp of the operation' },
|
||||
success: { type: 'boolean', description: 'Whether the operation was successful' },
|
||||
|
||||
// jira_retrieve (read) outputs
|
||||
issueKey: { type: 'string', description: 'Issue key (e.g., PROJ-123)' },
|
||||
|
||||
@@ -163,14 +163,9 @@ export const jiraAddCommentTool: ToolConfig<JiraAddCommentParams, JiraAddComment
|
||||
},
|
||||
|
||||
outputs: {
|
||||
success: {
|
||||
type: 'boolean',
|
||||
description: 'Operation success status',
|
||||
},
|
||||
output: {
|
||||
type: 'object',
|
||||
description:
|
||||
'Comment details with timestamp, issue key, comment ID, body, and success status',
|
||||
},
|
||||
ts: { type: 'string', description: 'Timestamp of the operation' },
|
||||
issueKey: { type: 'string', description: 'Issue key the comment was added to' },
|
||||
commentId: { type: 'string', description: 'Created comment ID' },
|
||||
body: { type: 'string', description: 'Comment text content' },
|
||||
},
|
||||
}
|
||||
|
||||
@@ -141,14 +141,8 @@ export const jiraAddWatcherTool: ToolConfig<JiraAddWatcherParams, JiraAddWatcher
|
||||
},
|
||||
|
||||
outputs: {
|
||||
success: {
|
||||
type: 'boolean',
|
||||
description: 'Operation success status',
|
||||
},
|
||||
output: {
|
||||
type: 'object',
|
||||
description:
|
||||
'Watcher details with timestamp, issue key, watcher account ID, and success status',
|
||||
},
|
||||
ts: { type: 'string', description: 'Timestamp of the operation' },
|
||||
issueKey: { type: 'string', description: 'Issue key' },
|
||||
watcherAccountId: { type: 'string', description: 'Added watcher account ID' },
|
||||
},
|
||||
}
|
||||
|
||||
@@ -191,14 +191,9 @@ export const jiraAddWorklogTool: ToolConfig<JiraAddWorklogParams, JiraAddWorklog
|
||||
},
|
||||
|
||||
outputs: {
|
||||
success: {
|
||||
type: 'boolean',
|
||||
description: 'Operation success status',
|
||||
},
|
||||
output: {
|
||||
type: 'object',
|
||||
description:
|
||||
'Worklog details with timestamp, issue key, worklog ID, time spent in seconds, and success status',
|
||||
},
|
||||
ts: { type: 'string', description: 'Timestamp of the operation' },
|
||||
issueKey: { type: 'string', description: 'Issue key the worklog was added to' },
|
||||
worklogId: { type: 'string', description: 'Created worklog ID' },
|
||||
timeSpentSeconds: { type: 'number', description: 'Time spent in seconds' },
|
||||
},
|
||||
}
|
||||
|
||||
@@ -144,13 +144,8 @@ export const jiraAssignIssueTool: ToolConfig<JiraAssignIssueParams, JiraAssignIs
|
||||
},
|
||||
|
||||
outputs: {
|
||||
success: {
|
||||
type: 'boolean',
|
||||
description: 'Operation success status',
|
||||
},
|
||||
output: {
|
||||
type: 'object',
|
||||
description: 'Assignment details with timestamp, issue key, assignee ID, and success status',
|
||||
},
|
||||
ts: { type: 'string', description: 'Timestamp of the operation' },
|
||||
issueKey: { type: 'string', description: 'Issue key that was assigned' },
|
||||
assigneeId: { type: 'string', description: 'Account ID of the assignee' },
|
||||
},
|
||||
}
|
||||
|
||||
@@ -204,13 +204,10 @@ export const jiraBulkRetrieveTool: ToolConfig<JiraRetrieveBulkParams, JiraRetrie
|
||||
},
|
||||
|
||||
outputs: {
|
||||
success: {
|
||||
type: 'boolean',
|
||||
description: 'Operation success status',
|
||||
},
|
||||
output: {
|
||||
issues: {
|
||||
type: 'array',
|
||||
description: 'Array of Jira issues with summary, description, created and updated timestamps',
|
||||
description:
|
||||
'Array of Jira issues with ts, summary, description, created, and updated timestamps',
|
||||
},
|
||||
},
|
||||
}
|
||||
|
||||
@@ -201,14 +201,10 @@ export const jiraCreateIssueLinkTool: ToolConfig<
|
||||
},
|
||||
|
||||
outputs: {
|
||||
success: {
|
||||
type: 'boolean',
|
||||
description: 'Operation success status',
|
||||
},
|
||||
output: {
|
||||
type: 'object',
|
||||
description:
|
||||
'Issue link details with timestamp, inward issue key, outward issue key, link type, and success status',
|
||||
},
|
||||
ts: { type: 'string', description: 'Timestamp of the operation' },
|
||||
inwardIssue: { type: 'string', description: 'Inward issue key' },
|
||||
outwardIssue: { type: 'string', description: 'Outward issue key' },
|
||||
linkType: { type: 'string', description: 'Type of issue link' },
|
||||
linkId: { type: 'string', description: 'Created link ID' },
|
||||
},
|
||||
}
|
||||
|
||||
@@ -127,13 +127,7 @@ export const jiraDeleteAttachmentTool: ToolConfig<
|
||||
},
|
||||
|
||||
outputs: {
|
||||
success: {
|
||||
type: 'boolean',
|
||||
description: 'Operation success status',
|
||||
},
|
||||
output: {
|
||||
type: 'object',
|
||||
description: 'Deletion details with timestamp, attachment ID, and success status',
|
||||
},
|
||||
ts: { type: 'string', description: 'Timestamp of the operation' },
|
||||
attachmentId: { type: 'string', description: 'Deleted attachment ID' },
|
||||
},
|
||||
}
|
||||
|
||||
@@ -135,13 +135,8 @@ export const jiraDeleteCommentTool: ToolConfig<JiraDeleteCommentParams, JiraDele
|
||||
},
|
||||
|
||||
outputs: {
|
||||
success: {
|
||||
type: 'boolean',
|
||||
description: 'Operation success status',
|
||||
},
|
||||
output: {
|
||||
type: 'object',
|
||||
description: 'Deletion details with timestamp, issue key, comment ID, and success status',
|
||||
},
|
||||
ts: { type: 'string', description: 'Timestamp of the operation' },
|
||||
issueKey: { type: 'string', description: 'Issue key' },
|
||||
commentId: { type: 'string', description: 'Deleted comment ID' },
|
||||
},
|
||||
}
|
||||
|
||||
@@ -170,13 +170,7 @@ export const jiraDeleteIssueTool: ToolConfig<JiraDeleteIssueParams, JiraDeleteIs
|
||||
},
|
||||
|
||||
outputs: {
|
||||
success: {
|
||||
type: 'boolean',
|
||||
description: 'Operation success status',
|
||||
},
|
||||
output: {
|
||||
type: 'object',
|
||||
description: 'Deleted issue details with timestamp, issue key, and success status',
|
||||
},
|
||||
ts: { type: 'string', description: 'Timestamp of the operation' },
|
||||
issueKey: { type: 'string', description: 'Deleted issue key' },
|
||||
},
|
||||
}
|
||||
|
||||
@@ -127,13 +127,7 @@ export const jiraDeleteIssueLinkTool: ToolConfig<
|
||||
},
|
||||
|
||||
outputs: {
|
||||
success: {
|
||||
type: 'boolean',
|
||||
description: 'Operation success status',
|
||||
},
|
||||
output: {
|
||||
type: 'object',
|
||||
description: 'Deletion details with timestamp, link ID, and success status',
|
||||
},
|
||||
ts: { type: 'string', description: 'Timestamp of the operation' },
|
||||
linkId: { type: 'string', description: 'Deleted link ID' },
|
||||
},
|
||||
}
|
||||
|
||||
@@ -135,13 +135,8 @@ export const jiraDeleteWorklogTool: ToolConfig<JiraDeleteWorklogParams, JiraDele
|
||||
},
|
||||
|
||||
outputs: {
|
||||
success: {
|
||||
type: 'boolean',
|
||||
description: 'Operation success status',
|
||||
},
|
||||
output: {
|
||||
type: 'object',
|
||||
description: 'Deletion details with timestamp, issue key, worklog ID, and success status',
|
||||
},
|
||||
ts: { type: 'string', description: 'Timestamp of the operation' },
|
||||
issueKey: { type: 'string', description: 'Issue key' },
|
||||
worklogId: { type: 'string', description: 'Deleted worklog ID' },
|
||||
},
|
||||
}
|
||||
|
||||
@@ -131,13 +131,11 @@ export const jiraGetAttachmentsTool: ToolConfig<
|
||||
},
|
||||
|
||||
outputs: {
|
||||
success: {
|
||||
type: 'boolean',
|
||||
description: 'Operation success status',
|
||||
},
|
||||
output: {
|
||||
type: 'object',
|
||||
description: 'Attachments data with timestamp, issue key, and array of attachments',
|
||||
ts: { type: 'string', description: 'Timestamp of the operation' },
|
||||
issueKey: { type: 'string', description: 'Issue key' },
|
||||
attachments: {
|
||||
type: 'array',
|
||||
description: 'Array of attachments with id, filename, size, mimeType, created, author',
|
||||
},
|
||||
},
|
||||
}
|
||||
|
||||
@@ -179,13 +179,12 @@ export const jiraGetCommentsTool: ToolConfig<JiraGetCommentsParams, JiraGetComme
|
||||
},
|
||||
|
||||
outputs: {
|
||||
success: {
|
||||
type: 'boolean',
|
||||
description: 'Operation success status',
|
||||
},
|
||||
output: {
|
||||
type: 'object',
|
||||
description: 'Comments data with timestamp, issue key, total count, and array of comments',
|
||||
ts: { type: 'string', description: 'Timestamp of the operation' },
|
||||
issueKey: { type: 'string', description: 'Issue key' },
|
||||
total: { type: 'number', description: 'Total number of comments' },
|
||||
comments: {
|
||||
type: 'array',
|
||||
description: 'Array of comments with id, author, body, created, updated',
|
||||
},
|
||||
},
|
||||
}
|
||||
|
||||
@@ -188,13 +188,13 @@ export const jiraGetWorklogsTool: ToolConfig<JiraGetWorklogsParams, JiraGetWorkl
|
||||
},
|
||||
|
||||
outputs: {
|
||||
success: {
|
||||
type: 'boolean',
|
||||
description: 'Operation success status',
|
||||
},
|
||||
output: {
|
||||
type: 'object',
|
||||
description: 'Worklogs data with timestamp, issue key, total count, and array of worklogs',
|
||||
ts: { type: 'string', description: 'Timestamp of the operation' },
|
||||
issueKey: { type: 'string', description: 'Issue key' },
|
||||
total: { type: 'number', description: 'Total number of worklogs' },
|
||||
worklogs: {
|
||||
type: 'array',
|
||||
description:
|
||||
'Array of worklogs with id, author, timeSpentSeconds, timeSpent, comment, created, updated, started',
|
||||
},
|
||||
},
|
||||
}
|
||||
|
||||
@@ -135,14 +135,8 @@ export const jiraRemoveWatcherTool: ToolConfig<JiraRemoveWatcherParams, JiraRemo
|
||||
},
|
||||
|
||||
outputs: {
|
||||
success: {
|
||||
type: 'boolean',
|
||||
description: 'Operation success status',
|
||||
},
|
||||
output: {
|
||||
type: 'object',
|
||||
description:
|
||||
'Removal details with timestamp, issue key, watcher account ID, and success status',
|
||||
},
|
||||
ts: { type: 'string', description: 'Timestamp of the operation' },
|
||||
issueKey: { type: 'string', description: 'Issue key' },
|
||||
watcherAccountId: { type: 'string', description: 'Removed watcher account ID' },
|
||||
},
|
||||
}
|
||||
|
||||
@@ -229,14 +229,12 @@ export const jiraRetrieveTool: ToolConfig<JiraRetrieveParams, JiraRetrieveRespon
|
||||
},
|
||||
|
||||
outputs: {
|
||||
success: {
|
||||
type: 'boolean',
|
||||
description: 'Operation success status',
|
||||
},
|
||||
output: {
|
||||
type: 'object',
|
||||
description:
|
||||
'Jira issue details with issue key, summary, description, created and updated timestamps',
|
||||
},
|
||||
ts: { type: 'string', description: 'Timestamp of the operation' },
|
||||
issueKey: { type: 'string', description: 'Issue key (e.g., PROJ-123)' },
|
||||
summary: { type: 'string', description: 'Issue summary' },
|
||||
description: { type: 'json', description: 'Issue description content' },
|
||||
created: { type: 'string', description: 'Issue creation timestamp' },
|
||||
updated: { type: 'string', description: 'Issue last updated timestamp' },
|
||||
issue: { type: 'json', description: 'Complete issue object with all fields' },
|
||||
},
|
||||
}
|
||||
|
||||
@@ -172,14 +172,13 @@ export const jiraSearchIssuesTool: ToolConfig<JiraSearchIssuesParams, JiraSearch
|
||||
},
|
||||
|
||||
outputs: {
|
||||
success: {
|
||||
type: 'boolean',
|
||||
description: 'Operation success status',
|
||||
},
|
||||
output: {
|
||||
type: 'object',
|
||||
description:
|
||||
'Search results with timestamp, total count, pagination details, and array of matching issues',
|
||||
ts: { type: 'string', description: 'Timestamp of the operation' },
|
||||
total: { type: 'number', description: 'Total number of matching issues' },
|
||||
startAt: { type: 'number', description: 'Pagination start index' },
|
||||
maxResults: { type: 'number', description: 'Maximum results per page' },
|
||||
issues: {
|
||||
type: 'array',
|
||||
description: 'Array of matching issues with key, summary, status, assignee, created, updated',
|
||||
},
|
||||
},
|
||||
}
|
||||
|
||||
@@ -200,14 +200,8 @@ export const jiraTransitionIssueTool: ToolConfig<
|
||||
},
|
||||
|
||||
outputs: {
|
||||
success: {
|
||||
type: 'boolean',
|
||||
description: 'Operation success status',
|
||||
},
|
||||
output: {
|
||||
type: 'object',
|
||||
description:
|
||||
'Transition details with timestamp, issue key, transition ID, and success status',
|
||||
},
|
||||
ts: { type: 'string', description: 'Timestamp of the operation' },
|
||||
issueKey: { type: 'string', description: 'Issue key that was transitioned' },
|
||||
transitionId: { type: 'string', description: 'Applied transition ID' },
|
||||
},
|
||||
}
|
||||
|
||||
@@ -136,14 +136,8 @@ export const jiraUpdateTool: ToolConfig<JiraUpdateParams, JiraUpdateResponse> =
|
||||
},
|
||||
|
||||
outputs: {
|
||||
success: {
|
||||
type: 'boolean',
|
||||
description: 'Operation success status',
|
||||
},
|
||||
output: {
|
||||
type: 'object',
|
||||
description:
|
||||
'Updated Jira issue details with timestamp, issue key, summary, and success status',
|
||||
},
|
||||
ts: { type: 'string', description: 'Timestamp of the operation' },
|
||||
issueKey: { type: 'string', description: 'Updated issue key (e.g., PROJ-123)' },
|
||||
summary: { type: 'string', description: 'Issue summary after update' },
|
||||
},
|
||||
}
|
||||
|
||||
@@ -170,14 +170,9 @@ export const jiraUpdateCommentTool: ToolConfig<JiraUpdateCommentParams, JiraUpda
|
||||
},
|
||||
|
||||
outputs: {
|
||||
success: {
|
||||
type: 'boolean',
|
||||
description: 'Operation success status',
|
||||
},
|
||||
output: {
|
||||
type: 'object',
|
||||
description:
|
||||
'Updated comment details with timestamp, issue key, comment ID, body text, and success status',
|
||||
},
|
||||
ts: { type: 'string', description: 'Timestamp of the operation' },
|
||||
issueKey: { type: 'string', description: 'Issue key' },
|
||||
commentId: { type: 'string', description: 'Updated comment ID' },
|
||||
body: { type: 'string', description: 'Updated comment text' },
|
||||
},
|
||||
}
|
||||
|
||||
@@ -188,14 +188,8 @@ export const jiraUpdateWorklogTool: ToolConfig<JiraUpdateWorklogParams, JiraUpda
|
||||
},
|
||||
|
||||
outputs: {
|
||||
success: {
|
||||
type: 'boolean',
|
||||
description: 'Operation success status',
|
||||
},
|
||||
output: {
|
||||
type: 'object',
|
||||
description:
|
||||
'Worklog update details with timestamp, issue key, worklog ID, and success status',
|
||||
},
|
||||
ts: { type: 'string', description: 'Timestamp of the operation' },
|
||||
issueKey: { type: 'string', description: 'Issue key' },
|
||||
worklogId: { type: 'string', description: 'Updated worklog ID' },
|
||||
},
|
||||
}
|
||||
|
||||
@@ -130,14 +130,9 @@ export const jiraWriteTool: ToolConfig<JiraWriteParams, JiraWriteResponse> = {
|
||||
},
|
||||
|
||||
outputs: {
|
||||
success: {
|
||||
type: 'boolean',
|
||||
description: 'Operation success status',
|
||||
},
|
||||
output: {
|
||||
type: 'object',
|
||||
description:
|
||||
'Created Jira issue details with timestamp, issue key, summary, success status, and URL',
|
||||
},
|
||||
ts: { type: 'string', description: 'Timestamp of the operation' },
|
||||
issueKey: { type: 'string', description: 'Created issue key (e.g., PROJ-123)' },
|
||||
summary: { type: 'string', description: 'Issue summary' },
|
||||
url: { type: 'string', description: 'URL to the created issue' },
|
||||
},
|
||||
}
|
||||
|
||||
@@ -93,7 +93,6 @@ export const createBucketTool: ToolConfig<
|
||||
},
|
||||
|
||||
outputs: {
|
||||
success: { type: 'boolean', description: 'Whether the bucket was created successfully' },
|
||||
bucket: { type: 'object', description: 'The created bucket object with all properties' },
|
||||
metadata: { type: 'object', description: 'Metadata including bucketId and planId' },
|
||||
},
|
||||
|
||||
@@ -143,7 +143,6 @@ export const createTaskTool: ToolConfig<
|
||||
},
|
||||
|
||||
outputs: {
|
||||
success: { type: 'boolean', description: 'Whether the task was created successfully' },
|
||||
task: { type: 'object', description: 'The created task object with all properties' },
|
||||
metadata: { type: 'object', description: 'Metadata including planId, taskId, and taskUrl' },
|
||||
},
|
||||
|
||||
@@ -92,7 +92,6 @@ export const deleteBucketTool: ToolConfig<
|
||||
},
|
||||
|
||||
outputs: {
|
||||
success: { type: 'boolean', description: 'Whether the bucket was deleted successfully' },
|
||||
deleted: { type: 'boolean', description: 'Confirmation of deletion' },
|
||||
metadata: { type: 'object', description: 'Additional metadata' },
|
||||
},
|
||||
|
||||
@@ -92,7 +92,6 @@ export const deleteTaskTool: ToolConfig<
|
||||
},
|
||||
|
||||
outputs: {
|
||||
success: { type: 'boolean', description: 'Whether the task was deleted successfully' },
|
||||
deleted: { type: 'boolean', description: 'Confirmation of deletion' },
|
||||
metadata: { type: 'object', description: 'Additional metadata' },
|
||||
},
|
||||
|
||||
@@ -76,10 +76,6 @@ export const getTaskDetailsTool: ToolConfig<
|
||||
},
|
||||
|
||||
outputs: {
|
||||
success: {
|
||||
type: 'boolean',
|
||||
description: 'Whether the task details were retrieved successfully',
|
||||
},
|
||||
taskDetails: {
|
||||
type: 'object',
|
||||
description: 'The task details including description, checklist, and references',
|
||||
|
||||
@@ -76,7 +76,6 @@ export const listBucketsTool: ToolConfig<
|
||||
},
|
||||
|
||||
outputs: {
|
||||
success: { type: 'boolean', description: 'Whether buckets were retrieved successfully' },
|
||||
buckets: { type: 'array', description: 'Array of bucket objects' },
|
||||
metadata: { type: 'object', description: 'Metadata including planId and count' },
|
||||
},
|
||||
|
||||
@@ -67,7 +67,6 @@ export const listPlansTool: ToolConfig<
|
||||
},
|
||||
|
||||
outputs: {
|
||||
success: { type: 'boolean', description: 'Whether plans were retrieved successfully' },
|
||||
plans: { type: 'array', description: 'Array of plan objects shared with the current user' },
|
||||
metadata: { type: 'object', description: 'Metadata including userId and count' },
|
||||
},
|
||||
|
||||
@@ -74,7 +74,6 @@ export const readBucketTool: ToolConfig<
|
||||
},
|
||||
|
||||
outputs: {
|
||||
success: { type: 'boolean', description: 'Whether the bucket was retrieved successfully' },
|
||||
bucket: { type: 'object', description: 'The bucket object with all properties' },
|
||||
metadata: { type: 'object', description: 'Metadata including bucketId and planId' },
|
||||
},
|
||||
|
||||
@@ -74,7 +74,6 @@ export const readPlanTool: ToolConfig<
|
||||
},
|
||||
|
||||
outputs: {
|
||||
success: { type: 'boolean', description: 'Whether the plan was retrieved successfully' },
|
||||
plan: { type: 'object', description: 'The plan object with all properties' },
|
||||
metadata: { type: 'object', description: 'Metadata including planId and planUrl' },
|
||||
},
|
||||
|
||||
@@ -151,7 +151,6 @@ export const readTaskTool: ToolConfig<MicrosoftPlannerToolParams, MicrosoftPlann
|
||||
},
|
||||
|
||||
outputs: {
|
||||
success: { type: 'boolean', description: 'Whether tasks were retrieved successfully' },
|
||||
tasks: { type: 'array', description: 'Array of task objects with filtered properties' },
|
||||
metadata: { type: 'object', description: 'Metadata including planId, userId, and planUrl' },
|
||||
},
|
||||
|
||||
@@ -118,7 +118,6 @@ export const updateBucketTool: ToolConfig<
|
||||
},
|
||||
|
||||
outputs: {
|
||||
success: { type: 'boolean', description: 'Whether the bucket was updated successfully' },
|
||||
bucket: { type: 'object', description: 'The updated bucket object with all properties' },
|
||||
metadata: { type: 'object', description: 'Metadata including bucketId and planId' },
|
||||
},
|
||||
|
||||
@@ -228,7 +228,6 @@ export const updateTaskTool: ToolConfig<
|
||||
},
|
||||
|
||||
outputs: {
|
||||
success: { type: 'boolean', description: 'Whether the task was updated successfully' },
|
||||
message: { type: 'string', description: 'Success message when task is updated' },
|
||||
task: { type: 'object', description: 'The updated task object with all properties' },
|
||||
taskId: { type: 'string', description: 'ID of the updated task' },
|
||||
|
||||
@@ -165,10 +165,6 @@ export const updateTaskDetailsTool: ToolConfig<
|
||||
},
|
||||
|
||||
outputs: {
|
||||
success: {
|
||||
type: 'boolean',
|
||||
description: 'Whether the task details were updated successfully',
|
||||
},
|
||||
taskDetails: {
|
||||
type: 'object',
|
||||
description: 'The updated task details object with all properties',
|
||||
|
||||
@@ -45,7 +45,6 @@ export const deleteChannelMessageTool: ToolConfig<
|
||||
},
|
||||
|
||||
outputs: {
|
||||
success: { type: 'boolean', description: 'Whether the deletion was successful' },
|
||||
deleted: { type: 'boolean', description: 'Confirmation of deletion' },
|
||||
messageId: { type: 'string', description: 'ID of the deleted message' },
|
||||
},
|
||||
|
||||
@@ -39,7 +39,6 @@ export const deleteChatMessageTool: ToolConfig<
|
||||
},
|
||||
|
||||
outputs: {
|
||||
success: { type: 'boolean', description: 'Whether the deletion was successful' },
|
||||
deleted: { type: 'boolean', description: 'Confirmation of deletion' },
|
||||
messageId: { type: 'string', description: 'ID of the deleted message' },
|
||||
},
|
||||
|
||||
@@ -51,7 +51,6 @@ export const getMessageTool: ToolConfig<
|
||||
},
|
||||
|
||||
outputs: {
|
||||
success: { type: 'boolean', description: 'Whether the retrieval was successful' },
|
||||
content: { type: 'string', description: 'The message content' },
|
||||
metadata: { type: 'object', description: 'Message metadata including sender, timestamp, etc.' },
|
||||
},
|
||||
|
||||
@@ -39,7 +39,6 @@ export const listChannelMembersTool: ToolConfig<
|
||||
},
|
||||
|
||||
outputs: {
|
||||
success: { type: 'boolean', description: 'Whether the listing was successful' },
|
||||
members: { type: 'array', description: 'Array of channel members' },
|
||||
memberCount: { type: 'number', description: 'Total number of members' },
|
||||
},
|
||||
|
||||
@@ -33,7 +33,6 @@ export const listTeamMembersTool: ToolConfig<
|
||||
},
|
||||
|
||||
outputs: {
|
||||
success: { type: 'boolean', description: 'Whether the listing was successful' },
|
||||
members: { type: 'array', description: 'Array of team members' },
|
||||
memberCount: { type: 'number', description: 'Total number of members' },
|
||||
},
|
||||
|
||||
@@ -217,7 +217,6 @@ export const readChannelTool: ToolConfig<MicrosoftTeamsToolParams, MicrosoftTeam
|
||||
},
|
||||
|
||||
outputs: {
|
||||
success: { type: 'boolean', description: 'Teams channel read operation success status' },
|
||||
messageCount: { type: 'number', description: 'Number of messages retrieved from channel' },
|
||||
teamId: { type: 'string', description: 'ID of the team that was read from' },
|
||||
channelId: { type: 'string', description: 'ID of the channel that was read from' },
|
||||
|
||||
@@ -173,7 +173,6 @@ export const readChatTool: ToolConfig<MicrosoftTeamsToolParams, MicrosoftTeamsRe
|
||||
},
|
||||
|
||||
outputs: {
|
||||
success: { type: 'boolean', description: 'Teams chat read operation success status' },
|
||||
messageCount: { type: 'number', description: 'Number of messages retrieved from chat' },
|
||||
chatId: { type: 'string', description: 'ID of the chat that was read from' },
|
||||
messages: { type: 'array', description: 'Array of chat message objects' },
|
||||
|
||||
@@ -51,7 +51,6 @@ export const replyToMessageTool: ToolConfig<
|
||||
},
|
||||
|
||||
outputs: {
|
||||
success: { type: 'boolean', description: 'Whether the reply was successful' },
|
||||
messageId: { type: 'string', description: 'ID of the reply message' },
|
||||
updatedContent: { type: 'boolean', description: 'Whether content was successfully sent' },
|
||||
},
|
||||
|
||||
@@ -57,7 +57,6 @@ export const setReactionTool: ToolConfig<
|
||||
},
|
||||
|
||||
outputs: {
|
||||
success: { type: 'boolean', description: 'Whether the reaction was added successfully' },
|
||||
reactionType: { type: 'string', description: 'The emoji that was added' },
|
||||
messageId: { type: 'string', description: 'ID of the message' },
|
||||
},
|
||||
|
||||
@@ -57,7 +57,6 @@ export const unsetReactionTool: ToolConfig<
|
||||
},
|
||||
|
||||
outputs: {
|
||||
success: { type: 'boolean', description: 'Whether the reaction was removed successfully' },
|
||||
reactionType: { type: 'string', description: 'The emoji that was removed' },
|
||||
messageId: { type: 'string', description: 'ID of the message' },
|
||||
},
|
||||
|
||||
@@ -51,7 +51,6 @@ export const updateChannelMessageTool: ToolConfig<
|
||||
},
|
||||
|
||||
outputs: {
|
||||
success: { type: 'boolean', description: 'Whether the update was successful' },
|
||||
messageId: { type: 'string', description: 'ID of the updated message' },
|
||||
updatedContent: { type: 'boolean', description: 'Whether content was successfully updated' },
|
||||
},
|
||||
|
||||
@@ -45,7 +45,6 @@ export const updateChatMessageTool: ToolConfig<
|
||||
},
|
||||
|
||||
outputs: {
|
||||
success: { type: 'boolean', description: 'Whether the update was successful' },
|
||||
messageId: { type: 'string', description: 'ID of the updated message' },
|
||||
updatedContent: { type: 'boolean', description: 'Whether content was successfully updated' },
|
||||
},
|
||||
|
||||
@@ -48,7 +48,6 @@ export const writeChannelTool: ToolConfig<MicrosoftTeamsToolParams, MicrosoftTea
|
||||
},
|
||||
|
||||
outputs: {
|
||||
success: { type: 'boolean', description: 'Teams channel message send success status' },
|
||||
messageId: { type: 'string', description: 'Unique identifier for the sent message' },
|
||||
teamId: { type: 'string', description: 'ID of the team where message was sent' },
|
||||
channelId: { type: 'string', description: 'ID of the channel where message was sent' },
|
||||
|
||||
@@ -42,7 +42,6 @@ export const writeChatTool: ToolConfig<MicrosoftTeamsToolParams, MicrosoftTeamsW
|
||||
},
|
||||
|
||||
outputs: {
|
||||
success: { type: 'boolean', description: 'Teams chat message send success status' },
|
||||
messageId: { type: 'string', description: 'Unique identifier for the sent message' },
|
||||
chatId: { type: 'string', description: 'ID of the chat where message was sent' },
|
||||
createdTime: { type: 'string', description: 'Timestamp when message was created' },
|
||||
|
||||
Reference in New Issue
Block a user