refactor(core): remove output paths metadata

This commit is contained in:
Kit Langton 2026-07-19 12:19:46 +00:00
commit d6f36bb750
13 changed files with 42 additions and 105 deletions

View file

@ -248,7 +248,7 @@ mutable fields:
| `ctx.aisdk.hook("language", callback)` | `language`, after inspecting `model`, `sdk`, and `options` |
| `ctx.session.hook("request", callback)` | `system`, `messages`, and the `tools` record immediately before model dispatch |
| `ctx.tool.hook("execute.before", callback)` | `input`, before the selected tool executes |
| `ctx.tool.hook("execute.after", callback)` | `result`, `output`, and `outputPaths`, after execution settles |
| `ctx.tool.hook("execute.after", callback)` | `result` and `output`, after execution settles |
For example, remove a tool from selected model requests and normalize another
tool's input: