Function
write-completions
Send a complete list of completion values in one call. The implementation will output the proper nested MCP structure:
write-completions: func(out: output-stream, id: id, completions: completions) -> result<_, stream-error>;