read_item
Reads text content from MOGA library items—rules, skills, code files, component sources, or composition layers—and returns the content, format, and path for agent use.
Instructions
A library item that is text, as the Studio shows it in a document tab (an agent reads the files with its own file tools instead): a rule (a taste rule as a page: what it measures, its bound, why, its cases and where it fires now; a code rule as its source), a skill (its SKILL.md), a file in a linked codebase (code by id "/", up to 256 KB), a project component's source (component by its tag), or one layer of a composition as written (layer by id "##": a code layer's page as HTML, a project component's layer as that component's source, any other layer as its JSON). Returns { kind, name, title, format: markdown | code, language?, text, path? }.
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": {
"kind": "<kind>",
"name": "<name>"
},
"name": "read_item"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | Yes | ||
| name | Yes |