SkillToolDeclaration class
Declaration of a tool in the SKILL.md manifest.
Supports three portability tiers:
external: Remote MCP server referenced by registry URL.local: Runtime-specific install command (pip/npm/npx/uvx).capability: Generic capability name for host substitution.
Constructors
Properties
- capability → String?
-
Generic capability name (e.g.
weather_retrieval,chart_generation).final - description → String?
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
inputSchema
→ Map<
String, dynamic> ? -
final
- installCmd → String?
-
Install command:
pip install ...,npm install ...,npx ...,uvx ....final - name → String
-
final
- registryUrl → String?
-
Registry URL for external MCP servers.
final
- runtime → String?
-
Runtime identifier:
python,nodejs, ordart.final - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- tier → String
-
Portability tier:
external,local, orcapability.final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited