Files

Your agent reads, writes, and changes the files in the agent's files folder, as the agent's sandbox file allows. Ask your agent to keep a list, fix a typo in a note, or find where the agent wrote something.

Add Files to Your Agent

Start your agent and enable the file tool, then review any requested permissions. Check what Files requires and what the sandbox grants.

lnk agent start
lnk agent tool add file

Ask Your Agent to Read or Edit a File

Ask your running agent to read or edit a file in the agent's files folder. Learn what Files can do and how to configure access.

lnk agent chat

Local Link starts lnk-file-tool itself and builds its command line from the tool's own types (File Tool Command Line). You never type the tool's commands.

Learn How Files Works

Read why Files is built as it is in Decisions, how the tool's process and calls fit together in Developing, and what to do when the tool fails in Troubleshooting.