Skip to content

workspace.call

Calls a method the workspace’s init files or evals define (ctx.methods.define) with params (PRT-331).

/**
* `workspace.call` params (PRT-331): calls `method`, a method the workspace's init files or evals define
* (`ctx.methods.define`), with `params`; the result is the method's.
*/
export type WorkspaceCallParams = {
method: string;
params?: unknown;
workspaceId: string;
};

Any JSON value.