Skip to main content
Glama

script-read

Read script file content from Unity projects to analyze, reference, or process code within the Unity AI Bridge environment.

Instructions

Reads the content of a script file and returns it as a string. Use 'script-update-or-create' tool to update or create script files.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
filePathYesPath to the script file. Example: "Assets/Scripts/MyScript.cs"
lineFromNoThe line number to start reading from (1-based).1
lineToNoThe line number to stop reading at (1-based, -1 for all lines).-1

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/butterlatte-zhang/unity-ai-bridge'

If you have feedback or need assistance with the MCP directory API, please join our Discord server