get_feature_by_category
Retrieve horse racing data features by category such as past performance, aptitude, human factors, or pedigree for analysis through the JVLink MCP Server.
Instructions
カテゴリ別に特徴量を取得
Args:
category: カテゴリ名(過去成績、適性、人的要因、血統など)
Returns:
該当カテゴリの特徴量リストInput Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| category | Yes |
Implementation Reference
- src/jvlink_mcp_server/server.py:285-304 (handler)The `get_feature_by_category` tool handler is defined in `src/jvlink_mcp_server/server.py`. It filters `FEATURE_IMPORTANCE_DATA` by the provided category and returns the matching features along with a count.
@mcp.tool() def get_feature_by_category(category: str) -> dict: """カテゴリ別に特徴量を取得 Args: category: カテゴリ名(過去成績、適性、人的要因、血統など) Returns: 該当カテゴリの特徴量リスト """ features = [ f for f in FEATURE_IMPORTANCE_DATA["important_features"] if f["category"] == category ] return { "category": category, "features": features, "count": len(features) }