get_skill
Retrieve specific skill data by ID from RPG Maker MZ/MV projects to access game mechanics information for development and integration.
Instructions
Get a specific skill by ID
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": {
"skillId": "<skillId>"
},
"name": "get_skill"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| skillId | Yes | The ID of the skill to retrieve |
Implementation Reference
- src/tools/skillTools.ts:15-18 (handler)The `getSkill` handler function retrieves a specific skill by its ID from the skills list in the project.
export async function getSkill(projectPath: string, skillId: number): Promise<Skill | null> { const skills = await getSkills(projectPath); return skills.find(skill => skill && skill.id === skillId) || null; }