发现
先读取标准 Agent Card,确认能力、版本与端点。
/.well-known/agent-card.json获取李伯阳的公开资料、定位可引用的原始网页,或在用户明确确认后,将问询直接转交到我的邮箱。
Retrieve verified public information and canonical sources about Boyang Li, or relay a user-authorized inquiry directly to his email.
先读取标准 Agent Card,确认能力、版本与端点。
/.well-known/agent-card.json读取精简或完整索引;普通网页也支持通过 Accept: text/markdown 获取 Markdown。
展示收件人和完整内容,取得用户明确确认后,再调用 A2A 或联系 API。
OpenAPI 3.1
向 https://www.lslby.com/a2a 发送 SendMessage。结构化动作
profile.get 会返回身份、专业领域、公开联系方式与可引用来源;仅发送文本也会返回同一组资料。
POST /a2a HTTP/1.1
Host: www.lslby.com
Content-Type: application/json
A2A-Version: 1.0
{
"jsonrpc": "2.0",
"id": "profile-1",
"method": "SendMessage",
"params": {
"message": {
"messageId": "<uuid>",
"role": "ROLE_USER",
"parts": [
{
"data": { "action": "profile.get" },
"mediaType": "application/json"
}
]
}
}
} Agent 必须先向用户展示收件人(李伯阳)和最终发送内容,并取得明确确认。随后可任选标准 A2A 或较简单的 REST 接口。
POST /a2a POST /a2a HTTP/1.1
Host: www.lslby.com
Content-Type: application/json
A2A-Version: 1.0
{
"jsonrpc": "2.0",
"id": "contact-1",
"method": "SendMessage",
"params": {
"message": {
"messageId": "<stable-uuid-for-retries>",
"role": "ROLE_USER",
"parts": [
{
"data": {
"action": "contact.send",
"contact": {
"name": "Sender name",
"email": "sender@example.com",
"company": "Optional company",
"subject": "Optional subject",
"message": "Exact message approved by the user",
"userAuthorized": true
},
"agent": {
"name": "Calling agent",
"url": "https://agent.example.com"
}
},
"mediaType": "application/json"
}
]
}
}
} POST /api/contact POST /api/contact HTTP/1.1
Host: www.lslby.com
Content-Type: application/json
Idempotency-Key: <stable-key-for-retries>
{
"name": "Sender name",
"email": "sender@example.com",
"company": "Optional company",
"subject": "Optional subject",
"message": "Exact message approved by the user",
"userAuthorized": true,
"agent": {
"name": "Calling agent",
"url": "https://agent.example.com"
}
} name、email、message、userAuthorized: true。
A2A 使用稳定的 messageId;REST 使用 Idempotency-Key。24 小时内重试不会重复发信。
accepted 只表示网站已接收并排队转交,不代表已阅读、同意受理或建立律师客户关系。
请勿通过公开接口发送身份证件、原始证据、完整合同、商业秘密或其他高度敏感材料。完成利益冲突核查与委托确认前,提交信息不会当然建立律师客户关系。
Do not send identity documents, original evidence, complete contracts, trade secrets, or other highly sensitive material through the public endpoints. Submission does not create an attorney-client relationship.