(toolUseID string, action *string)
| 27 | } |
| 28 | |
| 29 | func NewCacheEdit(toolUseID string, action *string) CacheEdit { |
| 30 | if action == nil { |
| 31 | defaultAction := "delete" |
| 32 | action = &defaultAction |
| 33 | } |
| 34 | return CacheEdit{ |
| 35 | ToolUseID: toolUseID, |
| 36 | Action: action, |
| 37 | } |
| 38 | } |
| 39 | |
| 40 | type ToolUseResultBlock struct { |
| 41 | MessageIndex int |
no outgoing calls