struct ACP::Protocol::ToolCallLocation

Included Modules

Defined in:

acp/protocol/tool_call_content.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(pull : JSON::PullParser) #

[View source]
def self.new(path : String, line : Int32 | Nil = nil, meta : Hash(String, JSON::Any) | Nil = nil) #

[View source]

Instance Method Detail

def line : Int32 | Nil #

Optional line number within the file (1-based).


[View source]
def line=(line : Int32 | Nil) #

Optional line number within the file (1-based).


[View source]
def meta : Hash(String, JSON::Any) | Nil #

Extension metadata.


[View source]
def meta=(meta : Hash(String, JSON::Any) | Nil) #

Extension metadata.


[View source]
def path : String #

The absolute file path being accessed or modified (required).


[View source]
def path=(path : String) #

The absolute file path being accessed or modified (required).


[View source]
def to_s(io : IO) : Nil #

Returns a human-readable representation of this location.


[View source]