JSON-RPC

JSON-RPC is a lightweight protocol for remote procedure calls that encodes requests and responses in JSON.

1 articleLast mentioned

JSON-RPC is a protocol for remote procedure calls, in which one program invokes a function in another, with messages encoded in JSON. A request carries the method name, its parameters and an identifier, and a response carries either a result or an error. Version 2.0 is the widely used edition.

Because it is not tied to a particular transport, it can run over HTTP, WebSocket or standard input and output. The Language Server Protocol used by developer tools and the Model Context Protocol for connecting AI tools both use it.

This entry is based on AIPOST articles and widely known facts. If something is wrong, please send us a correction request.

Articles covering this entry

  • Codex for 15-Hour Builds: Goal Files, Audit Threads and Human ChecksAI in Practice ·

    Underneath it all sits the open-source app-server protocol, a JSON-RPC bridge that connects the desktop app, the terminal CLI and the Visual Studio Code extensi…

    Read article

Found a mistake or missing an entry?

Wiki entries are based on AIPOST articles and widely known facts. If an entry is wrong, send us a correction request and we will check and fix it. Names from new articles are added to the wiki after the article is published.