extract_section
Extract a specific section's body text from a Chinese financial report by title, regex, or ordinal. Specify the report source and selector to get the exact content.
Instructions
Extract one section's body text by selector.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"source": "<source>",
"selector": "<selector>"
},
"name": "extract_section"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| form | No | optional report type (e.g. 年度报告, 招股说明书); included in the report_id so different report types for one company + year don't collide. | |
| year | No | ||
| source | Yes | report URL or local file path. | |
| company | No | ||
| fetcher | No | reserved (v1 uses httpx/pypdf). | uv |
| selector | Yes | exact section title, regex, or 1-based ordinal. | |
| stock_code | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||