{"version":"2.1.169","anchor":"sendfile-tool-rejects-urls-with-a-clear-error","canonical_anchor":"sendfile-tool-rejects-urls-with-a-clear-error","heading":"SendFile Tool Rejects URLs with a Clear Error","tier":null,"area":null,"scope":null,"heads_up":null,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.169\/e\/sendfile-tool-rejects-urls-with-a-clear-error","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.169","markdown":"### SendFile Tool Rejects URLs with a Clear Error\n\n**What**\n\nWhen the SendFile (file-delivery) tool receives a path that looks like a URL (`https:\/\/...`, `ftp:\/\/...`, etc.), it now returns an actionable error message instead of silently failing or producing a confusing \"file not found\" error.\n\n**Details**\n\n- New error text: `\"looks like a URL, not a local file path. This tool can only send files that exist on the local filesystem \u2014 download or write the content to a local file first, then pass that path.\"`\n- The tool description is also updated to clarify: \"Files must already exist on the local filesystem \u2014 the tool sends files, it doesn't fetch URLs or render content.\"\n\n**Evidence**\n\nValidation logic (search for `\"looks like a URL, not a local file path\"`) \u2014 file path validator at line ~28934"}