# 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/pkulaw/pkulaw-intelligent-legal-search-get-linked-content/9bfe9157-43a4-4eab-82ea-25d288ca2ec4/
API ID: 9bfe9157-43a4-4eab-82ea-25d288ca2ec4
Provider: pkulaw
Contract revision: 6
Method: POST
Endpoint: https://api.openany.si/v1/agent-apis/pkulaw/legal-search/get_linked_content
Page update time: 2026-12-04T01:47:27.422Z
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.0005 / call
API-key calls use your shared balance. Review the published billing rules before making a paid request.
Price source: OpenAny public API contract.
Contract update time: 2026-12-04T01:47:27.422Z. This is not a price-change timestamp.
```json
{
  "currency": "USD",
  "mode": "fixed",
  "priceMicroUsd": "500",
  "rounding": null,
  "unit": "call",
  "unitQuantity": null
}
```

## Usage and limits
## Pkulaw Intelligent Legal Search — get\_linked\_content API

Search for intelligent Legal get\_linked\_content with the PKULaw API. Provide message in body. Read the response using the field paths below, preserving identifiers and the declared value types when mapping results.

## What You Can Build

- **Document research and entity reference**: Keep document and entity identifiers with each returned reference.
- **Integration reference**: Use the selected request format and keep source identifiers with the returned result.

## Documented Response Fields

| Field | Meaning |
| --- | --- |
| `content[].text` | Text |
| `content[].type` | Returned type field |
| `structuredContent.hasLinks` | Returned has links field |
| `structuredContent.linkedContent` | Returned linked content field |
| `isError` | Returned is error field |
| `resultType` | Returned result type field |

## 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.

## Common questions
### Which inputs identify this request?
Provide message in body (string). Keep identifiers and URLs in the formats documented for this implementation.

### How should I structure the JSON body?
Send the body according to its root JSON schema. Do not add a second body wrapper around the documented properties, and preserve the declared types of nested values.

### How should I map the returned fields?
Use the documented response paths with their returned types. Keep null, empty collections, false and zero distinct, and retain the identifiers needed to match results to the request.

### Can I reuse request parameters from another endpoint?
Use the selected implementation schema. Similar operation names, providers or versions do not establish identical input locations, types or response fields.

### Which API key should I use?
Use your OpenAny API key as Bearer authentication on the documented OpenAny route.

### Where can I check the current request price?
Check the pricing area for the selected API implementation. Follow its billing unit, quantity and any request-dependent rules before sending the request.

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

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