resource_catalog_import
Indexes existing potential catalogs or author-project tier JSON without downloading or modifying files, preserving original status, license, file roles, and hashes for reuse.
Instructions
Index an existing potential catalog (record.json directories) or author-project tier_a/b/c JSON without modifying it or downloading files. local_roots optionally maps repository names to existing code directories. Retain original status, license, file roles and hashes. Repeated imports reuse entries; failures remain explicit.
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>",
"op_id": "<op_id>"
},
"name": "resource_catalog_import"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| op_id | Yes | ||
| source | Yes | ||
| local_roots | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |