struct
ACP::Protocol::ToolCallLocation
- ACP::Protocol::ToolCallLocation
- Struct
- Value
- Object
Included Modules
- JSON::Serializable
Defined in:
acp/protocol/tool_call_content.crConstructors
- .new(pull : JSON::PullParser)
- .new(path : String, line : Int32 | Nil = nil, meta : Hash(String, JSON::Any) | Nil = nil)
Instance Method Summary
-
#line : Int32 | Nil
Optional line number within the file (1-based).
-
#line=(line : Int32 | Nil)
Optional line number within the file (1-based).
-
#meta : Hash(String, JSON::Any) | Nil
Extension metadata.
-
#meta=(meta : Hash(String, JSON::Any) | Nil)
Extension metadata.
-
#path : String
The absolute file path being accessed or modified (required).
-
#path=(path : String)
The absolute file path being accessed or modified (required).
-
#to_s(io : IO) : Nil
Returns a human-readable representation of this location.