This `write` tool is limited to the xd:// device transport and local:// session scratch: call it with path `xd://<tool>` and the device's JSON arguments in `content` (`read xd://` lists mounted devices), or write a `local://<name>` file. Other filesystem paths are refused{{#if diskPath}}, but a `local://<name>` file is a real file on disk at {{diskPath}}{{/if}}.{{#if canYield}} To deliver results to the caller, return {{#if diskPath}}that path, or the content itself, in `yield`{{else}}the content in `yield` instead{{/if}}.{{else}}{{#if diskPath}} Give that path to whoever needs to read or copy it.{{/if}}{{/if}}
