(ctx context.Context, id uuid.UUID)
| 257 | // and returns the preset with the most parameters (largest subset). |
| 258 | FindMatchingPresetID(ctx context.Context, arg FindMatchingPresetIDParams) (uuid.UUID, error) |
| 259 | GetAIBridgeInterceptionByID(ctx context.Context, id uuid.UUID) (AIBridgeInterception, error) |
| 260 | // Look up the parent interception and the root of the thread by finding |
| 261 | // which interception recorded a tool usage with the given tool call ID. |
| 262 | // COALESCE ensures that if the parent has no thread_root_id (i.e. it IS |
no outgoing calls