MCPcopy Create free account
hub / github.com/echoVic/blade-code / updateToolState

Method updateToolState

src/agent/ContextComponent.ts:248–252  ·  view source on GitHub ↗

* 更新工具状态

(toolName: string, state: any)

Source from the content-addressed store, hash-verified

246 * 更新工具状态
247 */
248 public updateToolState(toolName: string, state: any): void {
249 this.ensureReady();
250 this.contextManager!.updateToolState(toolName, state);
251 this.log(`更新工具状态: ${toolName}`);
252 }
253
254 /**
255 * 更新工作空间信息

Callers

nothing calls this directly

Calls 2

ensureReadyMethod · 0.95
logMethod · 0.95

Tested by

no test coverage detected