mirror of
https://github.com/simplex-chat/simplex-chat.git
synced 2026-10-28 07:43:36 +00:00
deploy: 3e2c487ad9
This commit is contained in:
1 parent
54a9532e66
commit
c193493e6c
4 files changed
+102
-232
No files matched your search
@@ -937,7 +937,7 @@ window.addEventListener('click',(e)=>{
|
||||
<h2 id="abstract" tabindex="-1">Abstract</h2>
|
||||
<p>This document defines how software agents find SimpleX addresses and call the tools of other agents and bots over SimpleX:</p>
|
||||
<ul>
|
||||
<li>an <code>llms.txt</code> section with communication addresses, beside the link relation types and the well-known document of <a href="/docs/protocol/web-discovery.html">Publishing SimpleX addresses on websites</a>;</li>
|
||||
<li>an <code>llms.txt</code> section with communication addresses, beside the link relation type and the well-known document of <a href="/docs/protocol/web-discovery.html">Publishing SimpleX addresses on websites</a>;</li>
|
||||
<li>declarations: the protocols a profile serves and their transports, the peer types a channel or a contact address is made for, and the update frequency of a channel;</li>
|
||||
<li>the chat transport: the command <code>/_call</code> in a conversation;</li>
|
||||
<li>the Service RPC transport: one request and one response, without a conversation, in a generic envelope;</li>
|
||||
@@ -997,10 +997,10 @@ window.addEventListener('click',(e)=>{
|
||||
<p>For SimpleX entries, the type <code>updates</code> requires a channel link, the type <code>group</code> a group link, and the types <code>contact</code> and <code>business contact</code> a contact address link [WEB]. The link text is the title of the address.</p>
|
||||
<pre><code>## Communications
|
||||
|
||||
- [Ridgeline updates](https://smp12.simplex.im/c#…): SimpleX updates for people and agents, weekly. Trail conditions and closures.
|
||||
- [Ridgeline hikers](https://smp12.simplex.im/g#…): SimpleX group for people. Routes and meetups.
|
||||
- [Ask Ridgeline](https://smp12.simplex.im/a#…): SimpleX business contact for agents, MCP. Bookings and availability.
|
||||
- [Ridgeline support](mailto:help@ridgeline.example): Email contact for people.
|
||||
- [Acme news](https://smp12.simplex.im/c#…): SimpleX updates for people and agents, weekly. Product news and offers.
|
||||
- [Acme customers](https://smp12.simplex.im/g#…): SimpleX group for people. Questions and tips from customers.
|
||||
- [Ask Acme](https://smp12.simplex.im/a#…): SimpleX business contact for agents, MCP. Orders and availability.
|
||||
- [Acme support](mailto:support@acme.example): Email contact for people.
|
||||
</code></pre>
|
||||
<h2 id="profile-declarations" tabindex="-1">Profile declarations</h2>
|
||||
<p>A profile or a group declares the protocols it serves in its preferences. A channel or a public group declares its audience in its public group record, and a channel also its update frequency. A contact address declares the peers it serves in its link data.</p>
|
||||
@@ -1115,7 +1115,7 @@ window.addEventListener('click',(e)=>{
|
||||
<pre><code>/_service_request <userId> <target> [timeout=<seconds>] [sign_key=<key>] <json>
|
||||
</code></pre>
|
||||
<ul>
|
||||
<li><code><target></code>: a contact address link, full or short, or the SimpleX name of a contact address [NAMES].</li>
|
||||
<li><code><target></code>: a contact address link, or the SimpleX name of a contact address [NAMES].</li>
|
||||
<li><code>timeout</code>: how long the requester waits for the response. The default is 30 seconds.</li>
|
||||
<li><code>sign_key</code>: the requester's Ed25519 private key, for a <a href="#signed-requests">signed request</a>.</li>
|
||||
<li><code><json></code>: the <a href="#request">request</a>, a JSON object.</li>
|
||||
@@ -1227,11 +1227,11 @@ window.addEventListener('click',(e)=>{
|
||||
"tools": [
|
||||
{
|
||||
"name": "availability",
|
||||
"description": "Rooms available on a date",
|
||||
"description": "Items in stock",
|
||||
"inputSchema": {
|
||||
"type": "object",
|
||||
"properties": {"date": {"type": "string"}},
|
||||
"required": ["date"]
|
||||
"properties": {"item": {"type": "string"}},
|
||||
"required": ["item"]
|
||||
}
|
||||
}
|
||||
],
|
||||
@@ -1249,7 +1249,7 @@ window.addEventListener('click',(e)=>{
|
||||
"method": "tools/call",
|
||||
"params": {
|
||||
"name": "availability",
|
||||
"arguments": {"date": "2026-11-02"},
|
||||
"arguments": {"item": "anvil"},
|
||||
"_meta": {
|
||||
"io.modelcontextprotocol/protocolVersion": "2026-07-28",
|
||||
"io.modelcontextprotocol/clientCapabilities": {}
|
||||
@@ -1265,7 +1265,7 @@ window.addEventListener('click',(e)=>{
|
||||
"id": 1,
|
||||
"result": {
|
||||
"resultType": "complete",
|
||||
"content": [{"type": "text", "text": "Three rooms are available on 2026-11-02."}],
|
||||
"content": [{"type": "text", "text": "12 anvils are in stock."}],
|
||||
"isError": false
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user