workspace.call
Calls a method the workspace’s init files or evals define (ctx.methods.define) with params (PRT-331).
Params: WorkspaceCallParams
Section titled “Params: WorkspaceCallParams”/** * `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;};Result: unknown
Section titled “Result: unknown”Any JSON value.