# Intelligent Legal Search — get_linked_content

Search Pkulaw Intelligent Legal via REST or OpenAny MCP—with pay-per-use pricing and no subscription. Powered by PKULaw, pass parameters such as message, and retrieve structured data including text, returned type field, returned has links field, returned linked content field, and returned is error field for document research and entity reference, and integration reference.

Documentation: https://openany.si/market/apis/pkulaw/pkulaw-intelligent-legal-search-get-linked-content/?offering=9bfe9157-43a4-4eab-82ea-25d288ca2ec4
API ID: 9bfe9157-43a4-4eab-82ea-25d288ca2ec4
Provider: pkulaw
Contract revision: 5
Method: POST
Endpoint: https://api.openany.si/v1/agent-apis/pkulaw/legal-search/get_linked_content
Page update time: 2026-12-03T02:50:02.624Z
Access: OpenAny REST
OpenAny MCP: availability is not supplied by this REST contract. Check get_api on the configured OpenAny MCP server before execution.
Request content type: application/json
Execution mode: sync
Authentication: Authorization: Bearer $OPENANY_API_KEY

## Billing
Price: $0.05 / call
API-key calls use your shared balance. Review the published billing rules before making a paid request.
Price source: OpenAny public API contract. Price update time: not supplied.
Contract update time: 2026-12-03T02:50:00.932Z. This is not a price-change timestamp.
```json
{
  "currency": "USD",
  "mode": "fixed",
  "priceMicroUsd": "50000",
  "rounding": null,
  "unit": "call",
  "unitQuantity": null
}
```

## Request parameters
```json
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "Intelligent Legal Search — get_linked_content request inputs",
  "$comment": "Declared input types grouped by HTTP location. Path, query and header values describe decoded inputs and are serialized as text on the wire; body is the payload. This is not an exhaustive provider contract or a schema for the raw HTTP request.",
  "type": "object",
  "properties": {
    "path": {
      "type": "object",
      "properties": {}
    },
    "query": {
      "type": "object",
      "properties": {}
    },
    "headers": {
      "type": "object",
      "properties": {}
    },
    "body": {
      "properties": {
        "message": {
          "description": "Text to which links should be added; must contain a statute name or references to articles, paragraphs, or items. Example: `根据《中华人民共和国劳动合同法》第三十九条……` (Pursuant to Article 39 of the Labor Contract Law of the People's Republic of China...). Do not pass a case number instead of text; do not pass an empty string or whitespace only.",
          "maxLength": 100000,
          "minLength": 1,
          "title": "message",
          "type": "string"
        }
      },
      "required": [
        "message"
      ],
      "title": "get_linked_contentArguments",
      "type": "object",
      "description": "Add hyperlinks to an entire text in bulk"
    }
  },
  "required": [
    "path",
    "query",
    "headers",
    "body"
  ]
}
```

## Response fields
Source: Inferred from examples; not an exhaustive provider schema.
```json
{
  "type": "object",
  "properties": {
    "_meta": {
      "type": "object",
      "properties": {
        "io.modelcontextprotocol/serverInfo": {
          "type": "object",
          "properties": {
            "name": {
              "type": "string"
            },
            "title": {
              "type": "string"
            },
            "version": {
              "type": "string"
            }
          }
        },
        "pkulaw/evidence": {
          "type": "object",
          "properties": {
            "confidence": {
              "type": "string"
            },
            "notes": {
              "type": "array",
              "items": {}
            },
            "origin": {
              "type": "string"
            },
            "retrievedAt": {
              "type": "string"
            },
            "verifiedByApi": {
              "type": "boolean"
            }
          }
        }
      }
    },
    "content": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "text": {
            "type": "string"
          },
          "type": {
            "type": "string"
          }
        }
      }
    },
    "isError": {
      "type": "boolean"
    },
    "resultType": {
      "type": "string"
    },
    "structuredContent": {
      "type": "object",
      "properties": {
        "hasLinks": {
          "type": "boolean"
        },
        "linkedContent": {
          "type": "string"
        }
      }
    }
  }
}
```

## Request example
Scenario: Documentation example
```bash
curl \
  'https://api.openany.si/v1/agent-apis/pkulaw/legal-search/get_linked_content' \
  -X POST \
  -H "Authorization: Bearer $OPENANY_API_KEY" \
  -H 'Content-Type: application/json' \
  -H 'Accept: application/json' \
  --data-raw '{
  "message": "依据《劳动合同法》第四十七条、《社会保险法》第六十条，用人单位应当依法为劳动者缴纳社会保险费并按照劳动者在本单位工作的年限支付经济补偿。"
}'
```

## Response example
Published documentation example. Verify the actual response after an approved call.
Sample response · Documented HTTP 200
```json
{
  "_meta": {
    "io.modelcontextprotocol/serverInfo": {
      "name": "add-doc-link",
      "title": "北大法宝·法宝超链",
      "version": "1.1.0"
    },
    "pkulaw/evidence": {
      "confidence": "B",
      "notes": [],
      "origin": "catalog",
      "retrievedAt": "2026-10-28T12:48:15Z",
      "verifiedByApi": true
    }
  },
  "content": [
    {
      "text": "依据《[劳动合同法](https://www.pkulaw.com/chl/7ab5e7d605f859e6bdfb.html?way=mcp)》第[四十七条](https://www.pkulaw.com/chl/7ab5e7d605f859e6bdfb.html?tiao=47&way=mcp#tiao_47)、《[社会保险法](https://www.pkulaw.com/chl/4449c7967540e761bdfb.html?way=mcp)》第[六十条](https://www.pkulaw.com/chl/4449c7967540e761bdfb.html?tiao=60&way=mcp#tiao_60)，用人单位应当依法为劳动者缴纳社会保险费并按照劳动者在本单位工作的年限支付经济补偿。",
      "type": "text"
    }
  ],
  "isError": false,
  "resultType": "complete",
  "structuredContent": {
    "hasLinks": true,
    "linkedContent": "依据《[劳动合同法](https://www.pkulaw.com/chl/7ab5e7d605f859e6bdfb.html?way=mcp)》第[四十七条](https://www.pkulaw.com/chl/7ab5e7d605f859e6bdfb.html?tiao=47&way=mcp#tiao_47)、《[社会保险法](https://www.pkulaw.com/chl/4449c7967540e761bdfb.html?way=mcp)》第[六十条](https://www.pkulaw.com/chl/4449c7967540e761bdfb.html?tiao=60&way=mcp#tiao_60)，用人单位应当依法为劳动者缴纳社会保险费并按照劳动者在本单位工作的年限支付经济补偿。"
  }
}
```

## Error handling
400: Check the request fields.
401 / 403: Verify credentials and access permissions.
402: Inspect payment requirements and balance.
429: Respect returned retry guidance.
5xx: Inspect the error and usage record before retrying a paid operation.

## Available implementations
- pkulaw: https://openany.si/market/apis/pkulaw/pkulaw-intelligent-legal-search-get-linked-content/?offering=9bfe9157-43a4-4eab-82ea-25d288ca2ec4

Integration guide: https://openany.si/docs/
Agent setup: https://openany.si/SKILL.md
