@findtime/mcp-server 3.25.4 → 3.25.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/server.js +5 -0
package/package.json
CHANGED
package/server.js
CHANGED
|
@@ -131,6 +131,10 @@ const TOOL_DEFINITIONS = [
|
|
|
131
131
|
at: {
|
|
132
132
|
type: 'string',
|
|
133
133
|
description: 'Optional ISO timestamp used as the reference instant.'
|
|
134
|
+
},
|
|
135
|
+
year: {
|
|
136
|
+
type: 'integer',
|
|
137
|
+
description: 'Optional calendar year used to return DST transitions for that civil year.'
|
|
134
138
|
}
|
|
135
139
|
},
|
|
136
140
|
additionalProperties: false
|
|
@@ -143,6 +147,7 @@ const TOOL_DEFINITIONS = [
|
|
|
143
147
|
setParam(params, 'timezone', args.timezone);
|
|
144
148
|
setParam(params, 'countryCode', args.countryCode);
|
|
145
149
|
setParam(params, 'at', args.at);
|
|
150
|
+
setParam(params, 'year', args.year);
|
|
146
151
|
return { path: '/timezone/dst', params };
|
|
147
152
|
}
|
|
148
153
|
},
|