MCPcopy Index your code
hub / github.com/github/copilot-sdk / toArray

Method toArray

nodejs/src/toolSet.ts:107–109  ·  view source on GitHub ↗

* Returns a defensive copy of the accumulated filter strings, suitable for * passing as SessionConfigBase.availableTools.

()

Source from the content-addressed store, hash-verified

105 * passing as {@link SessionConfigBase.availableTools}.
106 */
107 toArray(): string[] {
108 return [...this.items];
109 }
110}
111
112/**

Callers 4

stopMethod · 0.80
toolSet.test.tsFile · 0.80
toolFilterListToArrayFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected