ide на основе vs code
Это ide на основе vs code(code oss), в ней будет встроенный умный апи роутинг, свой маркет с плагинами(агент харнесс, поддержка java/kotlin/мобильной разработки, командная разработка проектов, orca, оркестратор агентов
Это ide на основе vs code(code oss), в ней будет встроенный умный апи роутинг, свой маркет с плагинами(агент харнесс, поддержка java/kotlin/мобильной разработки, командная разработка проектов, orca, оркестратор агентов
/*---------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
*--------------------------------------------------------------------------------------------*/
import type { SessionEvent, ToolExecutionCompleteEvent, ToolExecutionStartEvent } from '@github/copilot/sdk';
import * as l10n from '@vscode/l10n';
import type { CancellationToken, ChatParticipantToolToken, ChatPromptReference, ChatSimpleToolResultData, ChatTerminalToolInvocationData, LanguageModelToolDefinition, LanguageModelToolInformation, LanguageModelToolInvocationOptions, LanguageModelToolResult2 } from 'vscode';
import { ILogger } from '../../../../platform/log/common/logService';
import { IChatEndpoint } from '../../../../platform/networking/common/networking';
import isLocation
findLast
decodeBase64
Emitter
ResourceMap
constObservable IObservable
isAbsolutePath isEqual
ChatMcpToolInvocationData ChatReferenceBinaryData ChatRequestTurn2 ChatResponseMarkdownPart ChatResponseThinkingProgressPart ChatResponseTurn2 ChatSubagentToolInvocationData ChatToolInvocationPart LanguageModelTextPart Location MarkdownString McpToolInvocationContentData Range Uri
ToolName
ICopilotTool
IOnWillInvokeToolEvent IToolsService IToolValidationResult
formatUriForFileWidget
StoredModeInstructions
formatModelDetails ModelDetailsInfo
appendResponsePartsForEvent createResponseEventRenderContext flushPendingAssistantMessage ResponseEventRenderContext ToolEventHandlers
extractChatPromptReferences getFolderAttachmentPath
IChatDelegationSummaryService
toolName
arguments
path
file_text
toolName
arguments
path
view_range
forceReadLargeFiles
toolName
arguments
path
old_str
new_str
toolName
arguments
path
old_str
new_str
toolName
arguments
path
insert_line
new_str
toolName
arguments
command
description
shellId
mode
detach
initial_wait
toolName
arguments
shellId
input
delay
toolName
arguments
shellId
delay
toolName
arguments
shellId
toolName
arguments Record
toolName
arguments
pattern
path
output_mode
glob
type
head_limit
multiline
toolName
arguments
pattern
path
toolName
arguments
intent
toolName
arguments
thought
toolName
arguments
todos
toolName
arguments
commitMessage
prDescription
toolName
arguments
url
max_length
start_index
raw
toolName
arguments
query
toolName
arguments
query
toolName
arguments
reply
comment_id
toolName
arguments
prTitle
prDescription
toolName
arguments
path
view_range
diff
toolName
arguments Record
toolName
arguments
workType
workTitle
workDescription
toolName
arguments
summary
toolName
arguments
question
choices
allow_freeform
message
requestedSchema
properties Record
required
toolName
arguments
skill
toolName
arguments
description
prompt
agent_type
model
mode
toolName
arguments
include_completed
toolName
arguments
agent_id
wait
timeout
toolName
arguments
summary
actions
recommendedAction
toolName
arguments
description
query
database
toolName
arguments
operation
file
line
character
newName
includeDeclaration
query
language
toolName
arguments
title
description
draft
toolName
arguments
dependencies version name ecosystem
toolName
arguments
subject
fact
citations
reason
category
toolName
arguments Record
toolName
arguments
input
patch
toolName
arguments
agent_id
message
toolName
arguments Record
toolName
arguments
path
toolName
arguments
pattern
limit
toolName
arguments Record
CreateTool ViewTool StrReplaceTool EditTool InsertTool
command
toolName
arguments ToStringReplaceEditorArgumentsCreateTool ToStringReplaceEditorArgumentsViewTool ToStringReplaceEditorArgumentsEditTool ToStringReplaceEditorArgumentsStrReplaceTool
ToStringReplaceEditorArgumentsInsertTool
StringReplaceEditorTool EditTool CreateTool ViewTool InsertTool
ShellTool WriteShellTool ReadShellTool StopShellTool ListShellTool
GrepTool GLobTool
ReportIntentTool ThinkTool ReportProgressTool
SearchCodeSubagentTool
ReplyToCommentTool CodeReviewTool WebFetchTool UpdateTodoTool WebSearchTool
ShowFileTool FetchCopilotCliDocumentationTool ProposeWorkTool TaskCompleteTool
AskUserTool SkillTool TaskTool ListAgentsTool ReadAgentTool WriteAgentTool
ExitPlanModeTool SqlTool LspTool CreatePullRequestTool DependencyCheckerTool StoreMemoryTool ParallelValidationTool
ApplyPatchTool McpReloadTool McpValidateTool ToolSearchTool CodeQLCheckerTool
ToolInfo
toolCallId
mcpServerName
mcpToolName
toolName arguments toolCallId
path
normalizedPath path
normalizedPath
normalizedPath normalizedPath
data toolName arguments
toolCall data ToolCall
toolCalltoolName
toolCallargumentscommand
toolCalltoolName toolCalltoolName
event ToolExecutionStartEvent
toolCall eventdata ToolCall
toolCall
toolCallmcpServerName
toolCalltoolName toolCalltoolName
toolCalltoolName
data toolName arguments
toolCall data ToolCall
toolCalltoolName toolCallargumentscommand toolCallargumentspath
toolCallargumentspath
toolCalltoolName toolCalltoolName toolCallargumentspath
toolCallargumentspath
text
text
requestId
toolIdEditMap Record
modeInstructions StoredModeInstructions
responseModelId
creditsUsed
isUsingAutoModel
sessionId modelId events SessionEvent sdkRequestId RequestIdDetails delegationSummaryService IChatDelegationSummaryService logger ILogger workingDirectory defaultModeInstructionsForLastRequest StoredModeInstructions modelDetailsById ReadonlyMap ModelDetailsInfo ChatRequestTurn2 ChatResponseTurn2
turns ChatRequestTurn2 ChatResponseTurn2
details RequestIdDetails
isFirstUserMessage
currentModelId modelId
currentResponseModelId
currentCreditsUsed
currentRequestTurnIndex
ctx ResponseEventRenderContextToolCall
logger
workingDirectory
toolCallId detailstoolIdEditMaptoolCallId
modelId ModelDetailsInfo
modelId modelDetailsById
modelDetailsByIdmodelId
modelId creditsUsed
modelInfo modelId
modelInfo
details modelInfoname modelInfomultiplier creditsUsed
ctxcurrentResponsePartslength
turns ctxcurrentResponseParts currentResponseModelId currentModelId currentCreditsUsed
ctxcurrentResponsePartslength
currentResponseModelId
currentCreditsUsed
currentRequestTurnIndex
modelId
currentRequestTurnIndex modelId
turn turnscurrentRequestTurnIndex
turn turnmodelId modelId
turnscurrentRequestTurnIndex turnprompt turncommand turnreferences turnparticipant turntoolReferences turneditedFileEvents turnid modelId turnmodeInstructions2
lastUserMessageId events event eventtype eventid
event events
eventtype
ctx
eventtype
currentModelId eventdataselectedModel currentModelId
currentModelId eventdatanewModel
currentRequestTurnIndex ctxcurrentResponsePartslength
currentResponseModelId currentModelId
currentModelId
currentModelId eventdatamodel currentModelId
currentRequestTurnIndex
currentResponseModelId currentModelId
currentModelId
event
details eventid
ctx
references ChatPromptReference
referenceseventdatacontent
ex
existingReferences
referencesref
refvalue
existingReferencesrefvalue
refvalue
existingReferencesrefvalueuri refvaluerange
eventdataattachments
attachment attachmenttype attachmenttype attachmenttype attachmenttype attachmenttype attachmenttype attachmenttype attachmenttype attachmenttype attachmenttype attachmenttype attachmenttype attachmentpath
attachment
attachmenttype
attachmenttype
range attachmentdisplayName eventdatacontent attachmentdisplayName
uri UriattachmentfilePath
existingReferencesuri existingReferencesuri
references
id attachmentfilePath
name attachmentdisplayName
value uri attachmentselectionstartline attachmentselectionstartcharacter attachmentselectionendline attachmentselectionendcharacter
range
attachmenttype attachmenttype
range attachmentdisplayName eventdatacontent attachmentdisplayName
attachmentPath attachmenttype
attachmentpath
attachmentpath
uri UriattachmentPath
existingReferencesuri
references
id attachmentpath
name attachmentdisplayName
value uri
range
attachmenttype
attachmentdata
data attachmentdata
databuffer
error
loggererror
error
references
id
name attachmentdisplayName
value attachmentmimeType binaryDataSupplier
prompt eventdatacontent
info isFirstUserMessage delegationSummaryServicesessionId prompt
info
prompt infoprompt
referencesinforeference
isFirstUserMessage
modeInstructions2 detailsmodeInstructions
uri detailsmodeInstructionsuri UridetailsmodeInstructionsuri
name detailsmodeInstructionsname
content detailsmodeInstructionscontent
metadata detailsmodeInstructionsmetadata
isBuiltin detailsmodeInstructionsisBuiltin
lastUserMessageId eventid lastUserMessageId defaultModeInstructionsForLastRequest modeInstructions2
modeInstructions2 modeInstructions2
uri defaultModeInstructionsForLastRequesturi UridefaultModeInstructionsForLastRequesturi
name defaultModeInstructionsForLastRequestname
content defaultModeInstructionsForLastRequestcontent
metadata defaultModeInstructionsForLastRequestmetadata
isBuiltin defaultModeInstructionsForLastRequestisBuiltin
commandPrefix
eventdataagentMode
commandPrefix
commandPrefix
resolvedRequestModelId detailsresponseModelId currentModelId
currentResponseModelId resolvedRequestModelId
currentCreditsUsed detailscreditsUsed
turns references detailsrequestId eventid detailsisUsingAutoModel resolvedRequestModelId modeInstructions2
currentRequestTurnIndex turnslength
event ctx
ctx
turns
prompt referencedName
referencedName
index promptreferencedName
index
index index referencedNamelength
result ToolExecutionCompleteEvent logger ILogger McpToolInvocationContentData
output McpToolInvocationContentData
encoder
resultcontents resultcontentslength
output
block resultcontents
blocktype
encoderblocktext
blockdatabuffer
blockmimeType
blockdatabuffer
blockmimeType
resource blockresource
resource
mimeType resourcemimeType
output
encoderresourcetext
mimeType
resource
mimeType resourcemimeType
output
resourceblobbuffer
mimeType
displayName blocktitle blockname
linkText displayName blockuri
output
encoderlinkText
error
loggererror
output
toolCallId
agentDisplayName
agentDescription
pendingToolInvocations Map ChatToolInvocationPart ChatResponseMarkdownPart ChatResponseThinkingProgressPart toolData ToolCall parentToolCallId
invocation pendingToolInvocationstoolCallId
invocation
part invocation
part
parttoolSpecificData
parttoolSpecificDataagentName agentDisplayName
agentDescription
parttoolSpecificDatadescription agentDescription
event ToolExecutionStartEvent pendingToolInvocations Map ChatToolInvocationPart ChatResponseMarkdownPart ChatResponseThinkingProgressPart toolData ToolCall parentToolCallId workingDirectory ChatToolInvocationPart ChatResponseMarkdownPart ChatResponseThinkingProgressPart
toolInvocation eventdata ToolCall workingDirectory
toolInvocation
toolInvocation eventdataparentToolCallId
toolInvocationsubAgentInvocationId eventdataparentToolCallId pendingToolInvocations
toolInvocationtoolSpecificData
toolInvocationtoolSpecificData
pendingToolInvocationseventdatatoolCallId toolInvocation eventdata ToolCall eventdataparentToolCallId
toolInvocation
parentToolCallId
pendingToolInvocations Map ChatToolInvocationPart ChatResponseMarkdownPart ChatResponseThinkingProgressPart toolData ToolCall parentToolCallId
currentId parentToolCallId
visited
visitedcurrentId
visitedcurrentId
parent pendingToolInvocationscurrentId
parent parent
currentId parent
currentId
event ToolExecutionCompleteEvent pendingToolInvocations Map ChatToolInvocationPart ChatResponseMarkdownPart ChatResponseThinkingProgressPart toolData ToolCall parentToolCallId logger ILogger workingDirectory ChatToolInvocationPart ChatResponseMarkdownPart ChatResponseThinkingProgressPart toolData ToolCall parentToolCallId
invocation pendingToolInvocationseventdatatoolCallId
pendingToolInvocationseventdatatoolCallId
invocation invocation
invocationisComplete
invocationisError eventdataerror
invocationinvocationMessage eventdataerrormessage invocationinvocationMessage
eventdatasuccess eventdataerrorcode eventdataerrorcode
invocationisConfirmed
invocationisConfirmed
toolCall invocation
ObjectToolFriendlyNameAndHandlers toolCalltoolName
postFormatter ToolFriendlyNameAndHandlerstoolCalltoolName
postFormatter PostInvocationFormatterinvocation toolCall eventdata workingDirectory
err
loggererr
invocation toolCall eventdata
toolCallmcpServerName toolCallmcpToolName
input toolCallarguments toolCallarguments
output eventdataresult logger
outputlength
invocationtoolSpecificData
input
output
satisfies ChatMcpToolInvocationData
invocation toolCall eventdata
eventdataerror eventdataerrormessage
invocation invocationtoolName invocationtoolCallId eventdataerrormessage
invocationisComplete
invocationisError
invocationinvocationMessage eventdataerrormessage invocationinvocationMessage
invocationpastTenseMessage
invocation toolCall eventdata
invocation
ToolEventHandlersToolCall
processStart processToolExecutionStart
processComplete processToolExecutionComplete
enrichSubagent enrichToolInvocationWithSubagentMetadata
isEditToolCall isCopilotCliEditToolCall
getEditedUris getAffectedUrisForEditTool
data
toolCallId toolName arguments mcpServerName
mcpToolName
editId workingDirectory logger ILogger ChatToolInvocationPart ChatResponseMarkdownPart ChatResponseThinkingProgressPart
ObjectToolFriendlyNameAndHandlers datatoolName
mcpServer l10n
toolName datamcpServerName datamcpToolName datatoolName
invocation toolName datatoolCallId
invocationisConfirmed
invocationisComplete
invocationinvocationMessage l10n toolName
invocationpastTenseMessage l10n toolName
invocation
toolCall data ToolCall
toolCallarguments toolCallarguments
toolCalltoolName
toolCalltoolName
toolCallarguments toolCallargumentsthought
toolCallargumentsthought
toolCalltoolName
toolCalltoolName
toolCallargumentssummary
markdownContent
markdownContenttoolCallargumentssummary
markdownContent
friendlyToolName formatter ToolFriendlyNameAndHandlerstoolCalltoolName
invocation friendlyToolName toolCalltoolName toolCalltoolCallId
invocationisConfirmed
invocationisComplete
formatter Formatterinvocation toolCall editId workingDirectory
err
loggererr
invocation
invocation ChatToolInvocationPart toolCall ToolCall editId workingDirectory
invocation ChatToolInvocationPart toolCall ToolCall result ToolCallResult workingDirectory
ExtractToolCall toolName
ToolExecutionCompleteEvent
ToolFriendlyNameAndHandlers ToolCall title invocation ChatToolInvocationPart toolCall ToolCallFor editId workingDirectory invocation ChatToolInvocationPart toolCall ToolCallFor result ToolCallResult workingDirectory
l10n formatStrReplaceEditorInvocation genericToolInvocationCompleted
l10n formatEditToolInvocation emptyToolInvocationCompleted
l10n formatEditToolInvocation emptyToolInvocationCompleted
l10n formatCreateToolInvocation emptyToolInvocationCompleted
l10n formatInsertToolInvocation emptyToolInvocationCompleted
l10n formatViewToolInvocation emptyToolInvocationCompleted
l10n formatShellInvocation formatShellInvocationCompleted
l10n formatShellInvocation formatShellInvocationCompleted
l10n emptyInvocation genericToolInvocationCompleted
l10n emptyInvocation genericToolInvocationCompleted
l10n emptyInvocation genericToolInvocationCompleted
l10n emptyInvocation genericToolInvocationCompleted
l10n emptyInvocation genericToolInvocationCompleted
l10n emptyInvocation genericToolInvocationCompleted
l10n formatSearchToolInvocation formatSearchToolInvocationCompleted
l10n formatSearchToolInvocation formatSearchToolInvocationCompleted
l10n formatSearchToolInvocation formatSearchToolInvocationCompleted
l10n formatSearchToolInvocation emptyToolInvocationCompleted
l10n formatReplyToCommentInvocation genericToolInvocationCompleted
l10n formatCodeReviewInvocation genericToolInvocationCompleted
l10n emptyInvocation genericToolInvocationCompleted
l10n emptyInvocation genericToolInvocationCompleted
l10n formatProgressToolInvocation genericToolInvocationCompleted
l10n emptyInvocation genericToolInvocationCompleted
l10n emptyInvocation genericToolInvocationCompleted
l10n formatUpdateTodoInvocation formatUpdateTodoInvocationCompleted
l10n formatShowFileInvocation genericToolInvocationCompleted
l10n emptyInvocation genericToolInvocationCompleted
l10n formatProposeWorkInvocation genericToolInvocationCompleted
l10n formatTaskCompleteInvocation genericToolInvocationCompleted
l10n formatAskUserInvocation genericToolInvocationCompleted
l10n formatSkillInvocation genericToolInvocationCompleted
l10n formatTaskInvocation formatTaskInvocationCompleted
l10n emptyInvocation genericToolInvocationCompleted
l10n formatReadAgentInvocation genericToolInvocationCompleted
l10n formatExitPlanModeInvocation genericToolInvocationCompleted
l10n formatSqlInvocation genericToolInvocationCompleted
l10n formatLspInvocation genericToolInvocationCompleted
l10n formatCreatePullRequestInvocation genericToolInvocationCompleted
l10n emptyInvocation genericToolInvocationCompleted
l10n formatStoreMemoryInvocation genericToolInvocationCompleted
l10n emptyInvocation genericToolInvocationCompleted
l10n emptyInvocation genericToolInvocationCompleted
l10n emptyInvocation genericToolInvocationCompleted
l10n formatApplyPatchInvocation genericToolInvocationCompleted
l10n formatWriteAgentInvocation genericToolInvocationCompleted
l10n emptyInvocation genericToolInvocationCompleted
l10n formatMcpValidateInvocation genericToolInvocationCompleted
l10n formatToolSearchInvocation genericToolInvocationCompleted
l10n emptyInvocation genericToolInvocationCompleted
invocation ChatToolInvocationPart toolCall ReportProgressTool
args toolCallarguments
invocationinvocationMessage argsprDescription
argscommitMessage
invocationoriginMessage
invocation ChatToolInvocationPart toolCall ViewTool
args toolCallarguments
argspath
argsview_range argsview_rangelength argsview_range argsview_range argsview_range
start end argsview_range
location Uriargspath start start start end
display location
localizedMessage start end
l10n display start
l10n display start end
localizedPastTenseMessage start end
l10n display start
l10n display start end
invocationinvocationMessage localizedMessage
invocationpastTenseMessage localizedPastTenseMessage
display Uriargspath
invocationinvocationMessage l10n display
invocation ChatToolInvocationPart toolCall StringReplaceEditorTool editId
toolCallargumentspath
args toolCallarguments
display Uriargspath
argscommand
invocation toolName arguments args ViewTool
invocation toolName arguments args EditTool
invocation toolName arguments args InsertTool
invocation toolName arguments args CreateTool
invocationinvocationMessage l10n display
invocation ChatToolInvocationPart toolCall InsertTool
args toolCallarguments
argspath
invocationinvocationMessage l10n Uriargspath
invocation ChatToolInvocationPart toolCall EditTool editId
args toolCallarguments
display argspath Uriargspath
invocationinvocationMessage display
l10n display
l10n
invocationpastTenseMessage display
l10n display
l10n
invocation ChatToolInvocationPart toolCall CreateTool editId
args toolCallarguments
display argspath Uriargspath
display
invocationinvocationMessage l10n display
invocationpastTenseMessage l10n display
invocationinvocationMessage l10n
invocationpastTenseMessage l10n
commandLine isPowershell directory command
cdPrefixMatch commandLine
isPowershell
cdDir cdPrefixMatchgroupsdir
cdSuffix cdPrefixMatchgroupssuffix
cdDir cdSuffix
cdDirPath cdDir
cdDirPath cdDirPath
cdDirPath cdDirPath
directory cdDirPath command cdSuffix
commandLine isPowershell workingDirectory commandLine
cdPrefix commandLine isPowershell
cdPrefix workingDirectory
cdUri cdPrefixdirectory
cdUri workingDirectory
commandLine cdPrefixcommand
invocation ChatToolInvocationPart toolCall ShellTool _editId workingDirectory
args toolCallarguments
command argscommand
isPowershell toolCalltoolName
presentationOverrides command isPowershell workingDirectory
invocationinvocationMessage argsdescription argsdescription
invocationtoolSpecificData
commandLine
original presentationOverridescommandLine command
language isPowershell
presentationOverrides
ChatTerminalToolInvocationData
invocation ChatToolInvocationPart toolCall ShellTool result ToolCallResult workingDirectory
resultContent resultresultcontent
exitCodeStr resultContent resultContent
exitCode exitCodeStr exitCodeStr
text exitCode resultContent resultContent
isPowershell toolCalltoolName
presentationOverrides toolCallargumentscommand isPowershell workingDirectory
toolSpecificData ChatTerminalToolInvocationData
commandLine
original presentationOverridescommandLine toolCallargumentscommand
language isPowershell
presentationOverrides
state
exitCode
output
text
invocationtoolSpecificData toolSpecificData
invocation ChatToolInvocationPart toolCall SearchCodeSubagentTool GLobTool GrepTool
toolCalltoolName
searchInPath toolCallargumentspath
invocationinvocationMessage
invocationpastTenseMessage
toolCalltoolName toolCalltoolName
searchInPath toolCallargumentspath
invocationinvocationMessage
invocationpastTenseMessage
toolCalltoolName
invocationinvocationMessage
invocationpastTenseMessage
invocation ChatToolInvocationPart toolCall SearchCodeSubagentTool GLobTool GrepTool result ToolCallResult workingDirectory
toolCalltoolName toolCalltoolName toolCalltoolName
messagesIndicatingNoMatches msg msg
searchPath toolCallargumentspath UritoolCallargumentspath workingDirectory
toolCallargumentspath workingDirectory searchPath searchPath
searchPath UriworkingDirectory toolCallargumentspath
searchInPath toolCallargumentspath
files
resultresultcontents resultresultcontentslength resultresultcontentstype resultresultcontentstext
matches resultresultcontentstext
noMatches matcheslength
files noMatches resultsuccess matches
noMatches messagesIndicatingNoMatchesmsg resultresultcontent msg
files noMatches resultsuccess resultresultcontent resultresultcontent
successMessage fileslength
invocationpastTenseMessage
invocationtoolSpecificData
values filesfile
file searchPath
Urifile
UrisearchPath file
invocation ChatToolInvocationPart toolCall CodeReviewTool
invocationinvocationMessage toolCallargumentsprTitle
invocationoriginMessage toolCallargumentsprDescription
invocation ChatToolInvocationPart toolCall ReplyToCommentTool
invocationinvocationMessage
invocationpastTenseMessage
invocationoriginMessage toolCallargumentsreply
invocation ChatToolInvocationPart toolCall ShowFileTool
args toolCallarguments
argspath
display Uriargspath
argsdiff
invocationinvocationMessage l10n display
invocationpastTenseMessage l10n display
argsview_range argsview_rangelength
start end argsview_range
invocationinvocationMessage l10n display start end
invocationpastTenseMessage l10n display start end
argsview_range argsview_rangelength
line argsview_range
invocationinvocationMessage l10n display line
invocationpastTenseMessage l10n display line
invocationinvocationMessage l10n display
invocationpastTenseMessage l10n display
invocation ChatToolInvocationPart toolCall ProposeWorkTool
invocationinvocationMessage toolCallargumentsworkTitle
invocationpastTenseMessage toolCallargumentsworkTitle
invocation ChatToolInvocationPart toolCall TaskCompleteTool
invocationinvocationMessage toolCallargumentssummary l10n
invocationpastTenseMessage toolCallargumentssummary l10n
invocation ChatToolInvocationPart toolCall AskUserTool
toolCallarguments
invocationinvocationMessage toolCallargumentsquestion l10n
invocationpastTenseMessage toolCallargumentsquestion l10n
invocationinvocationMessage toolCallargumentsmessage l10n
invocationpastTenseMessage toolCallargumentsmessage l10n
invocation ChatToolInvocationPart toolCall SkillTool
invocationinvocationMessage l10n toolCallargumentsskill
invocationpastTenseMessage l10n toolCallargumentsskill
invocation ChatToolInvocationPart toolCall TaskTool
invocationinvocationMessage toolCallargumentsdescription l10n
invocationpastTenseMessage toolCallargumentsdescription l10n
invocationtoolSpecificData
toolCallargumentsdescription
toolCallargumentsagent_type
toolCallargumentsprompt
invocation ChatToolInvocationPart _toolCall TaskTool result ToolCallResult
invocationtoolSpecificData resultsuccess resultresultcontent
content resultresultcontent resultresultcontent resultresultcontent
invocationtoolSpecificDataresult content
invocation ChatToolInvocationPart toolCall ReadAgentTool
invocationinvocationMessage l10n toolCallargumentsagent_id
invocationpastTenseMessage l10n toolCallargumentsagent_id
invocation ChatToolInvocationPart toolCall ExitPlanModeTool
invocationinvocationMessage toolCallargumentssummary l10n l10n
invocationpastTenseMessage l10n
invocation ChatToolInvocationPart toolCall SqlTool
invocationinvocationMessage toolCallargumentsdescription l10n
invocationpastTenseMessage toolCallargumentsdescription l10n
invocation ChatToolInvocationPart toolCall LspTool
op toolCallargumentsoperation
file toolCallargumentsfile
file
display Urifile
invocationinvocationMessage l10n op display
invocationinvocationMessage l10n op
invocation ChatToolInvocationPart toolCall CreatePullRequestTool
invocationinvocationMessage toolCallargumentstitle l10n
invocationpastTenseMessage toolCallargumentstitle l10n
toolCallargumentsdescription
invocationoriginMessage toolCallargumentsdescription
invocation ChatToolInvocationPart toolCall StoreMemoryTool
invocationinvocationMessage l10n toolCallargumentssubject
invocationpastTenseMessage l10n toolCallargumentssubject
invocation ChatToolInvocationPart _toolCall ApplyPatchTool
invocationinvocationMessage l10n
invocationpastTenseMessage l10n
invocation ChatToolInvocationPart toolCall WriteAgentTool
invocationinvocationMessage l10n toolCallargumentsagent_id
invocationpastTenseMessage l10n toolCallargumentsagent_id
invocation ChatToolInvocationPart toolCall McpValidateTool
display toolCallargumentspath UritoolCallargumentspath
invocationinvocationMessage display
l10n display
l10n
invocationpastTenseMessage display
l10n display
l10n
invocation ChatToolInvocationPart toolCall ToolSearchTool
invocationinvocationMessage l10n toolCallargumentspattern
invocationpastTenseMessage l10n toolCallargumentspattern
markdown title todoList id title status
lines markdown
todoList id title status
title
inCodeBlock
currentItem title status
line lines
line line
inCodeBlock inCodeBlock
inCodeBlock
title line
trimmed line
trimmed trimmed
title trimmed
unorderedMatch line
orderedMatch line
match unorderedMatch orderedMatch
match
currentItem currentItemtitle
todoList
id todoListlength
title currentItemtitle
status currentItemstatus
checkboxChar match
itemTitle match
status
checkboxChar checkboxChar
status
checkboxChar checkboxChar
status
status
currentItem title itemTitle status
currentItem line line line
currentItemtitle line
currentItem currentItemtitle
todoList
id todoListlength
title currentItemtitle
status currentItemstatus
title todoList
invocation ChatToolInvocationPart toolCall UpdateTodoTool
args toolCallarguments
parsed argstodos argstodos title todoList
argstodos parsed
invocationinvocationMessage
invocationpastTenseMessage
invocationinvocationMessage parsedtitle
invocationtoolSpecificData
output
input parsedtodoListitem
invocation ChatToolInvocationPart toolCall UpdateTodoTool result ToolCallResult
input invocationtoolSpecificData invocationtoolSpecificData ChatSimpleToolResultDatainput
invocationtoolSpecificData
output resultresultcontent resultresultcontent resultresultcontent
input
todo_depstoolCall` parameter unused and present
_invocation ChatToolInvocationPart _toolCall UnknownToolCall
_invocation ChatToolInvocationPart _toolCall UnknownToolCall _result ToolCallResult
invocation ChatToolInvocationPart toolCall UnknownToolCall result ToolCallResult
resultsuccess resultresultcontent
invocationtoolSpecificData
output resultresultcontent resultresultcontent resultresultcontent
input toolCallarguments toolCallarguments
_serviceBrand
_onWillInvokeTool
onWillInvokeTool _onWillInvokeToolevent
tools ReadonlyArrayLanguageModelToolInformation
copilotTools
_confirmationResult
_invokeToolCalls name input
result
_confirmationResult result
ReadonlyArray name input
_invokeToolCalls
_invokeToolCalls
name options LanguageModelToolInvocationOptions endpoint IChatEndpoint token CancellationToken ThenableLanguageModelToolResult2
name options
modelSpecificTools IObservable definition LanguageModelToolDefinition tool ICopilotTool
name
options LanguageModelToolInvocationOptions
LanguageModelToolResult2
_invokeToolCalls name input optionsinput
name ToolNameCoreConfirmationTool name ToolNameCoreTerminalConfirmationTool
content _confirmationResult
name
_confirmationResult
content rejected
input optionsinput actions label
firstAction inputactionslabel
content action firstAction rejected
content
ICopilotTool
LanguageModelToolInformation
LanguageModelToolInformation
IToolValidationResult
inputObj
LanguageModelToolInformation
event ExtractSessionEvent type
eventtype eventdatasource eventdatasource