{"id":"path-set-prefix-strip","version":"1.0.0","description":"Strip a common directory prefix or base path from an array of paths lexically.","supported_operations":["strip path prefix","remove base directory","relativize paths"],"unsupported_operations":["stat file","filesystem access"],"semantics":"For each path, check if it starts with the prefix (lexically normalized, directory-boundary aware). Strip the prefix from matching paths, returning the relative subpath. not_matched: count of paths that did not start with prefix. Windows: case-insensitive comparison of normalized segments.","limits":{"max_paths":10000,"max_path_bytes":4096},"pricing":{"status":"unpriced","charge_usd":null},"input_schema":{"type":"object","required":["paths","prefix"],"properties":{"paths":{"type":"array","minItems":0,"maxItems":10000,"items":{"type":"string","minLength":1,"maxLength":4096}},"prefix":{"type":"string","minLength":1,"maxLength":4096},"format":{"type":"string","enum":["posix","windows","auto"]},"skip_non_matching":{"type":"boolean"}}},"output_schema":{"type":"object","required":["stripped","not_matched","format"],"properties":{"stripped":{"type":"array","items":{"type":"string"}},"not_matched":{"type":"integer"},"format":{"type":"string"}}},"examples":[{"input":{"paths":["/app/src/a.ts","/app/src/b.ts","/other/c.ts"],"prefix":"/app/src"},"output":{"stripped":["a.ts","b.ts","/other/c.ts"],"not_matched":1,"format":"posix"}},{"input":{"paths":["/app/src/a.ts","/app/src/b.ts"],"prefix":"/app/src","skip_non_matching":true},"output":{"stripped":["a.ts","b.ts"],"not_matched":0,"format":"posix"}}],"execute_url":"/v1/tools/path-set-prefix-strip/versions/1.0.0/execute"}