Class: ActionMCP::Session::Resource
- Inherits:
-
ApplicationRecord
- Object
- ActiveRecord::Base
- ApplicationRecord
- ActionMCP::Session::Resource
- Defined in:
- app/models/action_mcp/session/resource.rb
Overview
Represents a resource associated with an MCP session. Its role is to store information about a resource, such as its URI, MIME type, description, and any associated metadata. It also tracks whether the resource was created by a tool and the last time it was accessed.