kalanos-mcp / upstream-tools.json
kalanosdev's picture
Expose combined dataset discovery through HF MCP
ba73fa6
Raw History Blame Contribute Delete
7.94 kB
{
"list_datasets": {
"$schema": "http://json-schema.org/draft-07/schema#",
"type": "object",
"properties": {
"query": {
"type": "string",
"maxLength": 128
},
"after": {
"type": "string",
"maxLength": 512
},
"limit": {
"default": 10,
"type": "integer",
"minimum": 1,
"maximum": 50
},
"format": {
"type": "string",
"maxLength": 64
},
"robot": {
"type": "string",
"maxLength": 64
},
"license": {
"type": "string",
"maxLength": 64
},
"report_kind": {
"type": "string",
"enum": [
"metadata",
"full"
]
},
"min_readiness": {
"type": "number",
"minimum": 0,
"maximum": 100
},
"min_episodes": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
}
},
"additionalProperties": false
},
"search_datasets": {
"$schema": "http://json-schema.org/draft-07/schema#",
"type": "object",
"properties": {
"q": {
"type": "string",
"maxLength": 128
},
"format": {
"maxItems": 20,
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 64
}
},
"robot": {
"maxItems": 20,
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 64
}
},
"license": {
"maxItems": 20,
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 64
}
},
"report_kind": {
"maxItems": 2,
"type": "array",
"items": {
"type": "string",
"enum": [
"metadata",
"full"
]
}
},
"min_episodes": {
"type": "integer",
"minimum": 1,
"maximum": 9007199254740991
},
"max_size_gb": {
"type": "number",
"exclusiveMinimum": 0
},
"min_hours": {
"type": "number",
"exclusiveMinimum": 0
},
"page": {
"default": 1,
"type": "integer",
"minimum": 1,
"maximum": 10000
}
},
"additionalProperties": false
},
"get_report": {
"$schema": "http://json-schema.org/draft-07/schema#",
"type": "object",
"properties": {
"report_id": {
"type": "string",
"minLength": 1,
"maxLength": 256,
"pattern": "^[a-zA-Z0-9_-]+$"
},
"dataset": {
"type": "string",
"minLength": 3,
"maxLength": 256,
"pattern": "^[a-zA-Z0-9_.-]+\\/[a-zA-Z0-9_.-]+(\\/[a-zA-Z0-9_.-]+)?$"
},
"report_revision": {
"type": "string",
"minLength": 1,
"maxLength": 256
},
"dataset_revision": {
"type": "string",
"minLength": 1,
"maxLength": 256
}
},
"additionalProperties": false
},
"get_findings": {
"$schema": "http://json-schema.org/draft-07/schema#",
"type": "object",
"properties": {
"report_id": {
"type": "string",
"minLength": 1,
"maxLength": 256,
"pattern": "^[a-zA-Z0-9_-]+$"
},
"dataset": {
"type": "string",
"minLength": 3,
"maxLength": 256,
"pattern": "^[a-zA-Z0-9_.-]+\\/[a-zA-Z0-9_.-]+(\\/[a-zA-Z0-9_.-]+)?$"
},
"report_revision": {
"type": "string",
"minLength": 1,
"maxLength": 256
},
"dataset_revision": {
"type": "string",
"minLength": 1,
"maxLength": 256
},
"after": {
"default": 0,
"type": "integer",
"minimum": 0,
"maximum": 10000000
},
"limit": {
"default": 5,
"type": "integer",
"minimum": 1,
"maximum": 10
}
},
"required": [
"report_revision"
],
"additionalProperties": false
},
"search_episodes": {
"$schema": "http://json-schema.org/draft-07/schema#",
"type": "object",
"properties": {
"q": {
"type": "string",
"maxLength": 128
},
"dataset": {
"type": "string",
"maxLength": 256
},
"task": {
"maxItems": 10,
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 64
}
},
"objects": {
"maxItems": 10,
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 64
}
},
"scene": {
"maxItems": 10,
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 64
}
},
"after": {
"default": 0,
"type": "integer",
"minimum": 0,
"maximum": 1000000
},
"limit": {
"default": 20,
"type": "integer",
"minimum": 1,
"maximum": 30
}
},
"additionalProperties": false
},
"search_combined_datasets": {
"$schema": "http://json-schema.org/draft-07/schema#",
"type": "object",
"properties": {
"q": {
"type": "string",
"maxLength": 128
},
"dataset": {
"type": "string",
"maxLength": 256
},
"revision": {
"type": "string",
"maxLength": 256
},
"task": {
"maxItems": 10,
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 64
}
},
"objects": {
"maxItems": 10,
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 64
}
},
"scene": {
"maxItems": 10,
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 64
}
},
"format": {
"maxItems": 20,
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 64
}
},
"robot": {
"maxItems": 20,
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 64
}
},
"license": {
"maxItems": 20,
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 64
}
},
"report_kind": {
"maxItems": 2,
"type": "array",
"items": {
"type": "string",
"enum": [
"metadata",
"full"
]
}
},
"min_episodes": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"max_size_gb": {
"type": "number",
"minimum": 0
},
"min_hours": {
"type": "number",
"minimum": 0
},
"page": {
"default": 1,
"type": "integer",
"minimum": 1,
"maximum": 10000
},
"per_page": {
"default": 20,
"anyOf": [
{
"type": "number",
"const": 20
},
{
"type": "number",
"const": 40
},
{
"type": "number",
"const": 80
}
]
},
"direction": {
"default": "desc",
"type": "string",
"enum": [
"asc",
"desc"
]
},
"facets": {
"default": false,
"type": "boolean"
}
},
"additionalProperties": false
}
}