(items: GroupedConversationItem[])
| 239 | ...(memoryId === undefined ? {} : { memoryId }), |
| 240 | ...(providerToolCallId === undefined ? {} : { providerToolCallId }), |
| 241 | ...(query === undefined ? {} : { query }), |
| 242 | ...(snapshotId === undefined ? {} : { snapshotId }), |
| 243 | tabId, |
| 244 | ...(textStart === undefined ? {} : { textStart }), |
| 245 | type: 'tool-call', |
| 246 | }); |
| 247 | |
| 248 | export const createRemoteMcpToolCall = ({ |
| 249 | arguments: toolArguments, |
| 250 | name, |
| 251 | providerToolCallId, |
| 252 | remoteToolName, |
| 253 | serverId, |
| 254 | serverName, |
| 255 | }: CreateRemoteMcpToolCallOptions): RemoteMcpToolCallEvent => ({ |
| 256 | arguments: toolArguments, |
| 257 | id: createEventId(), |
no test coverage detected