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

Method getToolState

src/context/storage/MemoryStore.ts:100–107  ·  view source on GitHub ↗

* 获取工具状态

(toolName: string)

Source from the content-addressed store, hash-verified

98 * 获取工具状态
99 */
100 getToolState(toolName: string): any {
101 if (!this.contextData) {
102 return null;
103 }
104
105 this.recordAccess('tools');
106 return this.contextData.layers.tool.toolStates[toolName];
107 }
108
109 /**
110 * 更新工作空间信息

Callers

nothing calls this directly

Calls 1

recordAccessMethod · 0.95

Tested by

no test coverage detected