MCPcopy Create free account
hub / github.com/arctic-cli/interface / executeCommand

Method executeCommand

packages/sdk/js/src/gen/sdk.gen.ts:1104–1113  ·  view source on GitHub ↗

* Execute a TUI command (e.g. agent_cycle)

(options?: Options<TuiExecuteCommandData, ThrowOnError>)

Source from the content-addressed store, hash-verified

1102 * Execute a TUI command (e.g. agent_cycle)
1103 */
1104 public executeCommand<ThrowOnError extends boolean = false>(options?: Options<TuiExecuteCommandData, ThrowOnError>) {
1105 return (options?.client ?? this._client).post<TuiExecuteCommandResponses, TuiExecuteCommandErrors, ThrowOnError>({
1106 url: "/tui/execute-command",
1107 ...options,
1108 headers: {
1109 "Content-Type": "application/json",
1110 ...options?.headers,
1111 },
1112 })
1113 }
1114
1115 /**
1116 * Show a toast notification in the TUI

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected